Problem typoswap
User ritesh
Submission Time 2025-06-16 14:34:06
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 ;
| ^~~~