Problem typo
User chickengoat
Submission Time 2025-12-15 14:12:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:8:2: error: ‘ll’ was not declared in this scope
8 | ll wrong=0;
| ^~
typo.cpp:9:4: error: expected ‘;’ before ‘wrongidx’
9 | ll wrongidx[2];
| ^~~~~~~~~
| ;
typo.cpp:10:8: error: expected ‘;’ before ‘i’
10 | for(ll i=0;i<s.size()) {
| ^~
| ;
typo.cpp:10:13: error: ‘i’ was not declared in this scope
10 | for(ll i=0;i<s.size()) {
| ^
typo.cpp:10:23: error: expected ‘;’ before ‘)’ token
10 | for(ll i=0;i<s.size()) {
| ^
| ;
typo.cpp:12:4: error: ‘wrong’ was not declared in this scope
12 | wrong++;
| ^~~~~
typo.cpp:17:4: error: ‘wrongidx’ was not declared in this scope
17 | wrongidx[wrong]=i;
| ^~~~~~~~
typo.cpp:20:9: error: ‘wrongidx’ was not declared in this scope
20 | if(abs(wron