Pagini recente » Borderou de evaluare (job #1048874) | Borderou de evaluare (job #2759492) | Borderou de evaluare (job #198238) | Borderou de evaluare (job #3287534) | Borderou de evaluare (job #2840054)
Borderou de evaluare (job #2840054)
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:36:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
36 | if(timp_min[k]+x.timp<=timp_min[x.nod] && 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 | 188kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 2ms | 184kb | Incorect | 0 |
Punctaj total | 0 |