Pagini recente » Borderou de evaluare (job #962766) | Borderou de evaluare (job #2927382) | Borderou de evaluare (job #2310031) | Borderou de evaluare (job #1580946) | Borderou de evaluare (job #1639648)
Borderou de evaluare (job #1639648)
Raport evaluator
Compilare:
user.cpp: In function ‘int Dijkstra(std::vector<std::pair<int, int> >*, int, int, int)’:
user.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "r", stdin);
^
user.cpp:37:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "w", stdout);
^
user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:46:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &a, &b, &c), graf[a].push_back({b,c});
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1640kb | OK | 10 |
| 2 | 0ms | 1636kb | OK | 10 |
| 3 | 0ms | 1660kb | OK | 10 |
| 4 | 4ms | 1672kb | OK | 10 |
| 5 | 20ms | 1924kb | OK | 10 |
| 6 | 40ms | 2196kb | OK | 10 |
| 7 | 56ms | 2324kb | OK | 10 |
| 8 | 72ms | 2576kb | OK | 10 |
| 9 | 200ms | 4240kb | OK | 10 |
| 10 | 284ms | 5012kb | OK | 10 |
| Punctaj total | 100 |