Pagini recente » Borderou de evaluare (job #1556019) | Borderou de evaluare (job #1274969) | Borderou de evaluare (job #1155216) | Borderou de evaluare (job #152211) | Borderou de evaluare (job #1222496)
Borderou de evaluare (job #1222496)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellman_ford()’:
user.cpp:22:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < edges[u].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:36:36: 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:38: 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:38:23: 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:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &u, &v, &w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1608kb | OK | 10 |
2 | 0ms | 1608kb | OK | 10 |
3 | 4ms | 1652kb | OK | 10 |
4 | 4ms | 1660kb | OK | 10 |
5 | 20ms | 1992kb | OK | 10 |
6 | 40ms | 2304kb | OK | 10 |
7 | 56ms | 2440kb | OK | 10 |
8 | 76ms | 2720kb | OK | 10 |
9 | 204ms | 4380kb | OK | 10 |
10 | 288ms | 5356kb | OK | 10 |
Punctaj total | 100 |