Pagini recente » Borderou de evaluare (job #939101) | Borderou de evaluare (job #2987372) | Borderou de evaluare (job #3198111) | Borderou de evaluare (job #2210883) | Borderou de evaluare (job #2840045)
Borderou de evaluare (job #2840045)
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 | 16ms | 516kb | Incorect | 0 |
2 | 59ms | 2740kb | Incorect | 0 |
3 | 59ms | 2748kb | Incorect | 0 |
4 | 16ms | 794kb | Incorect | 0 |
5 | 45ms | 1171kb | Incorect | 0 |
6 | 78ms | 1634kb | Incorect | 0 |
7 | 35ms | 1142kb | Incorect | 0 |
8 | 20ms | 1626kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 6ms | 544kb | Incorect | 0 |
Punctaj total | 0 |