fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. string s1, s2;
  6. getline(cin, s1);
  7. getline(cin, s2);
  8. cout << s2;
  9. string s = s1 + '\r' + s2;
  10. for (int i = 0; i < s.size() - 1; i += 2) {
  11. cout << int(s[i]) << " ";
  12. //cout << (char)(s[i] ^ s[i + 1]);
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 4488KB
stdin
壈ċÊH>EtüÌ¢’xBr7ðÀ™­pAøÈàÓ‰»ƒâßé4»ØüÊ
>¾ßbZ{$ðâ–u[i]9´ÕU3³Ƨ3N
stdout
>¾ßbZ{$ðâ–u[i]9´ÕU3³Ƨ3N-61 -62 -53 -61 -30 -71 -118 72 69 116 -68 -116 -94 -128 120 66 55 -61 -61 -30 -94 -83 65 -72 -120 -96 -109 -128 -62 -58 -61 -61 -61 52 -62 -61 -61 -61 13 -62 -61 98 123 23 -61 -61 -62 -30 -109 17 105 57 -76 -107 51 -77 -127 27 -122 -89