Pagini recente » Borderou de evaluare (job #1942966) | Borderou de evaluare (job #187241) | Borderou de evaluare (job #3030606) | Borderou de evaluare (job #2127091) | Borderou de evaluare (job #2684718)
Borderou de evaluare (job #2684718)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:47:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < v[nod].size(); j++)
~~^~~~~~~~~~~~~~~
main.cpp:37:7: warning: unused variable 'i' [-Wunused-variable]
long i, j, nod, poz;
^
main.cpp: In function 'int main()':
main.cpp:77:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d%d", &n, &m);
^
main.cpp:77:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:80:44: 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);
^
main.cpp:80:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
main.cpp:80:44: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:91:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d ", cost[i]);
^
main.cpp:75:39: 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);
^
main.cpp:76:41: 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);
^
main.cpp:77:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:80:45: 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 | 4ms | 1310kb | Incorect | 0 | 0 |
| 2 | 4ms | 1310kb | Incorect | 0 | 0 |
| 3 | 4ms | 1310kb | Incorect | 0 | 0 |
| 4 | 4ms | 1310kb | Incorect | 0 | 0 |
| 5 | 6ms | 1441kb | Incorect | 0 | 0 |
| 6 | 5ms | 1310kb | Incorect | 0 | 0 |
| 7 | 5ms | 1310kb | Incorect | 0 |
| 8 | 31ms | 2621kb | Incorect | 0 | 0 |
| 9 | 71ms | 3670kb | Incorect | 0 |
| 10 | 4ms | 1310kb | Incorect | 0 |
| 11 | 53ms | 3538kb | Incorect | 0 | 0 |
| 12 | 162ms | 6553kb | Incorect | 0 |
| 13 | 123ms | 5218kb | Incorect | 0 |
| 14 | 209ms | 8388kb | Incorect | 0 |
| 15 | 310ms | 9830kb | Incorect | 0 | 0 |
| 16 | 228ms | 7991kb | Incorect | 0 |
| 17 | 6ms | 1441kb | Incorect | 0 |
| 18 | 293ms | 10612kb | Incorect | 0 | 0 |
| 19 | 348ms | 12574kb | Incorect | 0 |
| 20 | 5ms | 1441kb | Incorect | 0 |
| Punctaj total | 0 |