Borderou de evaluare (job #2490181)
Raport evaluator
Compilare:
main.cpp:13:26: warning: integer overflow in expression [-Woverflow]
const int oo = (1 << 31) - 1;
~~~~~~~~~~^~~
main.cpp: In function 'void bellmanford(int&)':
main.cpp:38:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i < v[nod].size() ;i++)
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:69:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1;i <= n; i++)
^~~
main.cpp:72:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
d[1] = 0;
^
main.cpp:91:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j = 2;j <= n;j++)
^~~
main.cpp:93:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 6160kb | Incorect | 0 | 0 |
| 2 | 15ms | 6160kb | Incorect | 0 | 0 |
| 3 | 15ms | 6160kb | Incorect | 0 | 0 |
| 4 | 15ms | 6160kb | OK | 5 | 5 |
| 5 | 16ms | 6160kb | Incorect | 0 | 0 |
| 6 | 15ms | 6160kb | Incorect | 0 | 0 |
| 7 | 15ms | 6160kb | Incorect | 0 |
| 8 | 38ms | 6946kb | Incorect | 0 | 0 |
| 9 | 66ms | 7077kb | Incorect | 0 |
| 10 | 16ms | 6160kb | Incorect | 0 |
| 11 | 57ms | 7471kb | Incorect | 0 | 0 |
| 12 | 146ms | 8257kb | Incorect | 0 |
| 13 | 105ms | 7733kb | Incorect | 0 |
| 14 | 181ms | 8912kb | Incorect | 0 |
| 15 | 230ms | 9437kb | Incorect | 0 | 0 |
| 16 | 161ms | 8781kb | Incorect | 0 |
| 17 | 16ms | 6160kb | Incorect | 0 |
| 18 | 235ms | 9957kb | Incorect | 0 | 0 |
| 19 | 283ms | 10612kb | Incorect | 0 |
| 20 | 120ms | 6160kb | OK | 5 |
| Punctaj total | 5 |