Pagini recente » Borderou de evaluare (job #1277467) | Monitorul de evaluare | Borderou de evaluare (job #883830) | Borderou de evaluare (job #1890781) | Borderou de evaluare (job #2863051)
Borderou de evaluare (job #2863051)
Raport evaluator
Compilare:
main.cpp: In member function 'bool muchie::operator<(muchie) const':
main.cpp:12:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
12 | return x.timp<timp || x.timp==timp && x.energie>energie;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void Dijkstra(int)':
main.cpp:32:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
32 | if(w>=x.energie)
| ^
main.cpp: In function 'void BellmanFord(int)':
main.cpp:54:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
54 | if(w>=x.energie)
| ^
main.cpp: In function 'int main()':
main.cpp:65:11: warning: unused variable 'j' [-Wunused-variable]
65 | int i,j,x,y,T,w,tmin=inf;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 40ms | 552kb | OK | 10 |
| 3 | 2ms | 184kb | Incorect | 0 |
| 4 | 102ms | 581kb | Time limit exceeded | 0 |
| 5 | 40ms | 585kb | Incorect | 0 |
| 6 | 102ms | 573kb | Time limit exceeded | 0 |
| 7 | 98ms | 573kb | Incorect | 0 |
| 8 | 2ms | 184kb | OK | 10 |
| 9 | 2ms | 184kb | Incorect | 0 |
| 10 | 6ms | 462kb | Incorect | 0 |
| Punctaj total | 30 |