fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. char s[50];
  5. int n;
  6.  
  7. int main() {
  8. char text[50];
  9. cin >> noskipws >> text;
  10. cout << (int)text[0] << '|';
  11. char a;
  12. cin >> a;
  13. cout << (int)a << '|';
  14. cin >> text;
  15. cout << text << '|';
  16. cin >> text;
  17. cout << text << '|';
  18. return 0;
  19. }
Success #stdin #stdout 0s 5280KB
stdin
  
stdout
0|0|||