Problem typoswap
User SA
Submission Time 2025-06-16 14:37:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:1: error: ‘string’ was not declared in this scope
6 | string A;
| ^~~~~~
typoswap.cpp:7:7: error: expected ‘;’ before ‘B’
7 | string B;
| ^~
| ;
typoswap.cpp:8:1: error: ‘cin’ was not declared in this scope
8 | cin >> A >> B;
| ^~~
typoswap.cpp:8:8: error: ‘A’ was not declared in this scope
8 | cin >> A >> B;
| ^
typoswap.cpp:8:13: error: ‘B’ was not declared in this scope
8 | cin >> A >> B;
| ^
typoswap.cpp:9:1: error: ‘cout’ was not declared in this scope
9 | cout << B << " " << A;
| ^~~~