Borderou de evaluare (job #646583)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bile 2 (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 6 apr. 2022 10:13:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
13 | for (int j=0;j<=n;j++)
| ^~~
main.cpp:15:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
15 | if(v[i]==b[j])
| ^~
main.cpp:15:10: error: 'i' was not declared in this scope
15 | if(v[i]==b[j])
| ^
main.cpp:15:16: error: 'j' was not declared in this scope
15 | if(v[i]==b[j])
| ^
main.cpp:17:5: error: 'i' was not declared in this scope
17 | i++;
| ^
main.cpp:18:5: error: 'j' was not declared in this scope
18 | j++;}
| ^
main.cpp: At global scope:
main.cpp:19:5: error: expected unqualified-id before 'if'
19 | if{(v[i]!=b[j])
| ^~