Borderou de evaluare (job #2765020)

Utilizator SabailaCalinSabaila Calin SabailaCalin Data 24 iulie 2021 12:58:59
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:46:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d%d", &n, &m); ^ main.cpp:46:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.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); ^ main.cpp:48:50: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:48:50: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=] main.cpp:57:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ", cost[i]); ^ main.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); ^ main.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); ^ main.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); ^ main.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
12ms131kbIncorect00
22ms131kbIncorect00
32ms131kbIncorect00
42ms131kbIncorect00
55ms131kbIncorect00
62ms131kbIncorect00
73ms131kbIncorect0
8502ms655kbTime limit exceeded00
9500ms1441kbTime limit exceeded0
104ms131kbIncorect0
11504ms1048kbTime limit exceeded00
12502ms3145kbTime limit exceeded0
13500ms2228kbTime limit exceeded0
14501ms4063kbTime limit exceeded0
15500ms5111kbTime limit exceeded00
16507ms3932kbTime limit exceeded0
174ms131kbIncorect0
18503ms5373kbTime limit exceeded00
19500ms6553kbTime limit exceeded0
206ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?