Borderou de evaluare (job #637028)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Diagonal (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 mar. 2022 15:03:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:10: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
14 | for(j=0;j<n;j++)
| ^~~
main.cpp:16:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
16 | in.get();
| ^~
main.cpp:21:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
21 | for(j=1;j<=n-1;j++)
| ^~~
main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
24 | out<<'\n';
| ^~~
main.cpp: At global scope:
main.cpp:33:2: error: 'a' does not name a type
33 | }a
| ^