Problem typo
User estkn
Submission Time 2026-05-21 23:28:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:13:22: error: expected primary-expression before ‘]’ token
13 | swap(S[i,], S[i+1]);
| ^
typo.cpp:23:17: error: expected ‘;’ before ‘}’ token
23 | cout << "No"
| ^
| ;
24 | }
| ~