Borderou de evaluare (job #2602102)

Utilizator darkeagleDaniel Popescu darkeagle Data 15 aprilie 2020 20:37:49
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
8500ms655kbTime limit exceeded00
9503ms1441kbTime limit exceeded0
103ms131kbIncorect0
11503ms1048kbTime limit exceeded00
12500ms3137kbTime limit exceeded0
13500ms2228kbTime limit exceeded0
14503ms4194kbTime limit exceeded0
15503ms5111kbTime limit exceeded00
16500ms3932kbTime limit exceeded0
175ms131kbIncorect0
18500ms5373kbTime limit exceeded00
19503ms6553kbTime limit exceeded0
206ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?