Pagini recente » Borderou de evaluare (job #2325867) | Borderou de evaluare (job #2325859) | Borderou de evaluare (job #1283072) | Borderou de evaluare (job #1042830) | Borderou de evaluare (job #1907178)
Borderou de evaluare (job #1907178)
Raport evaluator
Compilare:
user.cpp: In function ‘int BellmanFord(int)’:
user.cpp:27:27: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
predecessor[node] = NULL;
^
user.cpp: In function ‘int main()’:
user.cpp:76:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", dist[node]);
^
user.cpp:62:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "r", stdin);
^
user.cpp:63:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "w", stdout);
^
user.cpp:65:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &vertices, &edges);
^
user.cpp:68:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &u, &v, &weight);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 656kb | OK | 5 | 5 |
| 2 | 0ms | 656kb | OK | 5 | 5 |
| 3 | 0ms | 672kb | OK | 5 | 5 |
| 4 | 0ms | 668kb | OK | 5 | 5 |
| 5 | 8ms | 700kb | Incorect | 0 | 0 |
| 6 | 0ms | 672kb | OK | 5 | 10 |
| 7 | 0ms | 668kb | OK | 5 |
| 8 | Depăşit | 1236kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 1928kb | Time limit exceeded. | 0 |
| 10 | 4ms | 680kb | OK | 5 |
| 11 | Depăşit | 1692kb | Time limit exceeded. | 0 | 0 |
| 12 | Depăşit | 3624kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 2748kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 4628kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 5616kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 4452kb | Time limit exceeded. | 0 |
| 17 | 12ms | 684kb | OK | 5 |
| 18 | Depăşit | 5904kb | Time limit exceeded. | 0 | 0 |
| 19 | Depăşit | 7080kb | Time limit exceeded. | 0 |
| 20 | 24ms | 704kb | OK | 5 |
| Punctaj total | 30 |