Borderou de evaluare (job #2864093)
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 'int main()':
main.cpp:42:11: warning: unused variable 'j' [-Wunused-variable]
42 | int i,j,x,y,T,w,tmin=inf;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 188kb | OK | 10 |
2 | 26ms | 598kb | OK | 10 |
3 | 2ms | 188kb | Incorect | 0 |
4 | 98ms | 643kb | Incorect | 0 |
5 | 30ms | 655kb | Incorect | 0 |
6 | 103ms | 962kb | Time limit exceeded | 0 |
7 | 103ms | 802kb | Time limit exceeded | 0 |
8 | 2ms | 184kb | OK | 10 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 11ms | 569kb | Incorect | 0 |
Punctaj total | 30 |