Problem typoswap
User Daniel0liong
Submission Time 2025-03-17 12:32:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:11: error: expected initializer before ‘b’
6 | string a b;
| ^
typoswap.cpp:7:7: error: ‘a’ was not declared in this scope
7 | cin>>a>>b;
| ^
typoswap.cpp:7:10: error: ‘b’ was not declared in this scope
7 | cin>>a>>b;
| ^