Pagini recente » Borderou de evaluare (job #2458741) | Borderou de evaluare (job #1288358) | Borderou de evaluare (job #2458989) | Borderou de evaluare (job #353047) | Borderou de evaluare (job #2840044)
Borderou de evaluare (job #2840044)
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()':
main.cpp:34:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
34 | if(d[k][l]+x.timp<d[x.nod][l] && w>=x.energie)
| ^
main.cpp: In function 'int main()':
main.cpp:63:11: warning: unused variable 'j' [-Wunused-variable]
63 | int i,j,x,y,T,w,tmin=inf;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 45ms | 589kb | Incorect | 0 |
2 | 88ms | 2719kb | Incorect | 0 |
3 | 88ms | 2666kb | Incorect | 0 |
4 | 30ms | 892kb | Incorect | 0 |
5 | 73ms | 1179kb | Incorect | 0 |
6 | 102ms | 1605kb | Time limit exceeded | 0 |
7 | 64ms | 1134kb | Incorect | 0 |
8 | 25ms | 1683kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 11ms | 606kb | Incorect | 0 |
Punctaj total | 0 |