Pagini recente » Cod sursa (job #962811) | Cod sursa (job #1362301) | Monitorul de evaluare | Cod sursa (job #623655) | Borderou de evaluare (job #1881123)
Borderou de evaluare (job #1881123)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:46:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:48:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
^
user.cpp:48:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:48:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:57:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", cost[i]);
^
user.cpp:44: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:45: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:46:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:48:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &e[i].a, &e[i].b, &e[i].c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 252kb | OK | 5 | 5 |
| 2 | 0ms | 252kb | OK | 5 | 5 |
| 3 | 0ms | 268kb | OK | 5 | 5 |
| 4 | 0ms | 268kb | OK | 5 | 5 |
| 5 | 0ms | 280kb | OK | 5 | 5 |
| 6 | 0ms | 264kb | OK | 5 | 10 |
| 7 | 0ms | 256kb | OK | 5 |
| 8 | Depăşit | 512kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 868kb | Time limit exceeded. | 0 |
| 10 | 0ms | 264kb | OK | 5 |
| 11 | Depăşit | 716kb | Time limit exceeded. | 0 | 0 |
| 12 | Depăşit | 1704kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1260kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 2196kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 2680kb | Time limit exceeded. | 0 | 0 |
| 16 | Depăşit | 2100kb | Time limit exceeded. | 0 |
| 17 | 4ms | 268kb | OK | 5 |
| 18 | Depăşit | 2772kb | Time limit exceeded. | 0 | 0 |
| 19 | Depăşit | 3360kb | Time limit exceeded. | 0 |
| 20 | 8ms | 280kb | OK | 5 |
| Punctaj total | 35 |