Borderou de evaluare (job #1881123)

Utilizator leonard.david42Bereholschi Leonard David leonard.david42 Data 16 februarie 2017 10:28:21
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d", &n, &m); ^ user.cpp:46:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.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); ^ user.cpp:48:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:48:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:57:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ", cost[i]); ^ user.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); ^ user.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); ^ user.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); ^ user.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
10ms252kbOK55
20ms252kbOK55
30ms268kbOK55
40ms268kbOK55
50ms280kbOK55
60ms264kbOK510
70ms256kbOK5
8Depăşit512kbTime limit exceeded.00
9Depăşit868kbTime limit exceeded.0
100ms264kbOK5
11Depăşit716kbTime limit exceeded.00
12Depăşit1704kbTime limit exceeded.0
13Depăşit1260kbTime limit exceeded.0
14Depăşit2196kbTime limit exceeded.0
15Depăşit2680kbTime limit exceeded.00
16Depăşit2100kbTime limit exceeded.0
174ms268kbOK5
18Depăşit2772kbTime limit exceeded.00
19Depăşit3360kbTime limit exceeded.0
208ms280kbOK5
Punctaj total35

Ceva nu functioneaza?