Pagini recente » Borderou de evaluare (job #1087880) | Borderou de evaluare (job #3223759) | Cod sursa (job #2255482) | Borderou de evaluare (job #2588700) | Borderou de evaluare (job #1438356)
Borderou de evaluare (job #1438356)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<v[nod].size(); j++)
^
user.cpp:36:10: warning: unused variable ‘i’ [-Wunused-variable]
long i, j, nod, poz;
^
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 | 864kb | OK | 5 | 5 |
| 2 | 0ms | 864kb | OK | 5 | 5 |
| 3 | 0ms | 872kb | OK | 5 | 5 |
| 4 | 0ms | 872kb | OK | 5 | 5 |
| 5 | 0ms | 896kb | OK | 5 | 5 |
| 6 | 0ms | 880kb | OK | 5 | 10 |
| 7 | 16ms | 880kb | OK | 5 |
| 8 | 20ms | 1456kb | OK | 5 | 15 |
| 9 | 48ms | 2036kb | OK | 5 |
| 10 | 36ms | 888kb | OK | 5 |
| 11 | 40ms | 1920kb | OK | 5 | 20 |
| 12 | 116ms | 3424kb | OK | 5 |
| 13 | 88ms | 2756kb | OK | 5 |
| 14 | 160ms | 4236kb | OK | 5 |
| 15 | 204ms | 4916kb | OK | 5 | 15 |
| 16 | 156ms | 4124kb | OK | 5 |
| 17 | 60ms | 880kb | OK | 5 |
| 18 | 240ms | 5348kb | OK | 5 | 15 |
| 19 | 292ms | 6232kb | OK | 5 |
| 20 | 212ms | 908kb | OK | 5 |
| Punctaj total | 100 |