Pagini recente » Cod sursa (job #187909) | Borderou de evaluare (job #473573) | Borderou de evaluare (job #1187073) | Borderou de evaluare (job #390344) | Borderou de evaluare (job #2307757)
Borderou de evaluare (job #2307757)
Raport evaluator
Compilare:
main.cpp: In function 'int dijkstra(int)':
main.cpp:45:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ad[node].size(); i++) {
~~^~~~~~~~~~~~~~~~~
main.cpp:55:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (!dpTime[nghb] && nghb != 1 || time < dpTime[nghb] || watt < dpWatt[nghb]) {
~~~~~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 131kb | OK | 10 |
2 | 5ms | 131kb | OK | 10 |
3 | 3ms | 131kb | Incorect | 0 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 5ms | 131kb | Incorect | 0 |
6 | 3ms | 131kb | OK | 10 |
7 | 5ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | OK | 10 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 3ms | 131kb | Incorect | 0 |
Punctaj total | 40 |