Pagini recente » Borderou de evaluare (job #1215428) | Autentificare | Borderou de evaluare (job #527157) | Borderou de evaluare (job #1341176) | Borderou de evaluare (job #1364078)
Borderou de evaluare (job #1364078)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman_ford()’:
user.cpp:68:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < L[ c[p] ].size(); i ++)
^
user.cpp: In function ‘int check(int)’:
user.cpp:109:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < L[ c[p] ].size(); i ++)
^
user.cpp:111:71: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(D[ L[ c[p] ][i].dist ] > D[ c[p] ] + L[ c[p] ][i].timp && (Cost[ c[p] ] + L[ c[p] ][i].cost <= middle)
^
user.cpp: In function ‘void solve()’:
user.cpp:160:22: warning: ‘middle’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout << middle - 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12172kb | Incorect | 0 |
2 | 16ms | 12196kb | Incorect | 0 |
3 | 16ms | 12188kb | Incorect | 0 |
4 | 16ms | 12192kb | Incorect | 0 |
5 | 16ms | 12184kb | Incorect | 0 |
6 | 16ms | 12196kb | Incorect | 0 |
7 | 16ms | 12184kb | Incorect | 0 |
8 | 16ms | 12140kb | Incorect | 0 |
9 | 16ms | 12132kb | Incorect | 0 |
10 | 16ms | 12140kb | Incorect | 0 |
Punctaj total | 0 |