Pagini recente » Borderou de evaluare (job #1758547) | Borderou de evaluare (job #2832372) | Borderou de evaluare (job #2195325) | Borderou de evaluare (job #3118349) | Borderou de evaluare (job #1524454)
Borderou de evaluare (job #1524454)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:76:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d", &n, &m);
^
user.cpp:76:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:79: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:79:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:79:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:90:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", cost[i]);
^
user.cpp:74: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:75: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:76: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:79: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 | 860kb | OK | 5 | 5 |
2 | 0ms | 860kb | OK | 5 | 5 |
3 | 0ms | 876kb | OK | 5 | 5 |
4 | 0ms | 876kb | OK | 5 | 5 |
5 | 0ms | 888kb | OK | 5 | 5 |
6 | 0ms | 876kb | OK | 5 | 10 |
7 | 16ms | 872kb | OK | 5 |
8 | 20ms | 1460kb | OK | 5 | 15 |
9 | 48ms | 2032kb | OK | 5 |
10 | 36ms | 880kb | OK | 5 |
11 | 40ms | 1920kb | OK | 5 | 20 |
12 | 116ms | 3424kb | OK | 5 |
13 | 88ms | 2760kb | OK | 5 |
14 | 160ms | 4240kb | OK | 5 |
15 | 208ms | 4920kb | OK | 5 | 15 |
16 | 160ms | 4124kb | OK | 5 |
17 | 60ms | 876kb | OK | 5 |
18 | 236ms | 5348kb | OK | 5 | 15 |
19 | 288ms | 6240kb | OK | 5 |
20 | 212ms | 896kb | OK | 5 |
Punctaj total | 100 |