Problem typoswap
User HOK
Submission Time 2026-03-07 10:29:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:9: error: conflicting declaration ‘std::string a’
6 | string a,b;
| ^
typoswap.cpp:5:6: note: previous declaration as ‘int a’
5 | int a,b;
| ^
typoswap.cpp:6:11: error: conflicting declaration ‘std::string b’
6 | string a,b;
| ^
typoswap.cpp:5:8: note: previous declaration as ‘int b’
5 | int a,b;
| ^