Problem typoswap
User Anqxel
Submission Time 2025-06-16 14:36:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp: In function ‘int main()’:
typoswap.cpp:2:5: error: ‘string’ was not declared in this scope
2 | string a, b;
| ^~~~~~
typoswap.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> a >> b;
| ^~~
typoswap.cpp:3:12: error: ‘a’ was not declared in this scope
3 | cin >> a >> b;
| ^
typoswap.cpp:3:17: error: ‘b’ was not declared in this scope
3 | cin >> a >> b;
| ^
typoswap.cpp:4:5: error: ‘cout’ was not declared in this scope
4 | cout << b <<" "<< a;
| ^~~~