Problem typo
User RandomCtfNoob
Submission Time 2025-06-30 17:06:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:18:2: error: expected ‘,’ or ‘;’ before ‘for’
18 | for (int i = 0; i < a.length(); i++){
| ^~~
typo.cpp:18:18: error: ‘i’ was not declared in this scope
18 | for (int i = 0; i < a.length(); i++){
| ^
typo.cpp:32:6: error: ‘diffount’ was not declared in this scope; did you mean ‘diffcount’?
32 | if (diffount == 2 && inbetween){
| ^~~~~~~~
| diffcount