Borderou de evaluare (job #696332)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Adlic (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 feb. 2023 20:14:30 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:17: error: 'i' was not declared in this scope
12 | for(i=1;i<=m;i++)
| ^
main.cpp:25:7: error: 'i' was not declared in this scope
25 | for(i=1;i<=m;i++)
| ^
main.cpp:27:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
27 | for(k=1;v[k]>w;k++);
| ^~~
main.cpp:28:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
28 | if(k==n+1)
| ^~