Problem typoswap
User Javel17
Submission Time 2024-06-21 14:33:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typoswap.cpp: In function ‘int main()’:
typoswap.cpp:6:15: error: expected ‘;’ before ‘cin’
6 | cin >> s >> t
| ^
| ;
7 | cin >> n;
| ~~~
typoswap.cpp:9:17: error: expected ‘;’ before ‘<’ token
9 | for (int i=0,i<2,i++){
| ^
| ;
typoswap.cpp:9:17: error: expected primary-expression before ‘<’ token
typoswap.cpp:9:23: error: expected ‘;’ before ‘)’ token
9 | for (int i=0,i<2,i++){
| ^
| ;
typoswap.cpp:12:16: error: expected ‘;’ before ‘<’ token
12 | for (int i=0,i<2,i++){
| ^
| ;
typoswap.cpp:12:16: error: expected primary-expression before ‘<’ token
typoswap.cpp:12:22: error: expected ‘;’ before ‘)’ token
12 | for (int i=0,i<2,i++){
|