Borderou de evaluare (job #768932)

Utilizator avatar VladStroica Stroica Vlad Cristian VladStroica IP ascuns
Problemă Romeo si Julieta (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2024 16:57:30 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:59:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 59 | else if(a[i+1][j]==0) | ^~ main.cpp:61:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 61 | if(a[i+1][j+1]==a[i][j]+1) | ^~ main.cpp:68:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 68 | else if(a[i+1][j+1]==0) | ^~ main.cpp:70:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 70 | if(a[i][j-1]==a[i][j]+1) | ^~ main.cpp:77:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 77 | else if(a[i][j-1]==0) | ^~ main.cpp:79:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 79 | if(a[i][j+1]==a[i][j]+1) | ^~ main.cpp:86:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 86 | else if(a[i][j+1]==0) | ^~ main.cpp:88:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 88 | if(a[i-1][j-1]==a[i][j]+1) | ^~ main.cpp:95:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 95 | else if(a[i-1][j-1]==0) | ^~ main.cpp:97:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 97 | if(a[i-1][j]==a[i][j]+1) | ^~ main.cpp:104:16: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 104 | else if(a[i-1][j]==0) | ^~ main.cpp:106:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 106 | if(a[i-1][j+1]==a[i][j]+1) | ^~ main.cpp:9:16: warning: variable 'x' set but not used [-Wunused-but-set-variable] 9 | int n,m,ok=0,x,y,cnt=0; | ^ main.cpp:9:18: warning: variable 'y' set but not used [-Wunused-but-set-variable] 9 | int n,m,ok=0,x,y,cnt=0; | ^ main.cpp:9:20: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 9 | int n,m,ok=0,x,y,cnt=0; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Fișier de ieșire lipsă 0
2 1 ms 249 kb Fișier de ieșire lipsă 0
3 9 ms 249 kb Fișier de ieșire lipsă 0
4 9 ms 249 kb Fișier de ieșire lipsă 0
5 9 ms 249 kb Fișier de ieșire lipsă 0
6 19 ms 249 kb Fișier de ieșire lipsă 0
7 1 ms 270 kb Fișier de ieșire lipsă 0
8 9 ms 249 kb Fișier de ieșire lipsă 0
9 9 ms 249 kb Fișier de ieșire lipsă 0
10 1 ms 249 kb Fișier de ieșire lipsă 0
Punctaj total 0