Borderou de evaluare (job #2952634)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:76:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
76 | else if(v[a[i][j]]+v[a[i][j+2]]+1==gmax)
| ^
main.cpp:99:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
99 | else if(v[a[i][j]]+v[a[i-1][j+1]]+1==gmax)
| ^
main.cpp:122:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
122 | else if(v[a[i][j]]+v[a[i+1][j+1]]+1==gmax)
| ^
main.cpp:145:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
145 | else if(v[a[i][j]]+v[a[i+2][j]]+1==gmax)
| ^
main.cpp:168:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
168 | else if(v[a[i][j]]+v[a[i+1][j-1]]+1==gmax)
| ^
main.cpp:191:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
191 | else if(v[a[i][j]]+v[a[i][j-2]]+1==gmax)
| ^
main.cpp:214:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
214 | else if(v[a[i][j]]+v[a[i-1][j-1]]+1==gmax)
| ^
main.cpp:237:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
237 | else if(v[a[i][j]]+v[a[i-2][j]]+1==gmax)
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | OK | 10 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 0ms | 184kb | OK | 10 |
7 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 0ms | 184kb | OK | 10 |
10 | 0ms | 184kb | OK | 10 |
Punctaj total | 40 |