Borderou de evaluare (job #1387356)

Utilizator tudoras8tudoras8 tudoras8 Data 14 martie 2015 01:18:27
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
10ms236kbOK55
20ms240kbOK55
30ms256kbOK55
40ms248kbOK55
50ms268kbOK55
60ms252kbOK510
70ms244kbOK5
8Depăşit488kbTime limit exceeded.00
9Depăşit852kbTime limit exceeded.0
100ms256kbOK5
11Depăşit700kbTime limit exceeded.00
12Depăşit1696kbTime limit exceeded.0
13Depăşit1240kbTime limit exceeded.0
14Depăşit2180kbTime limit exceeded.0
15Depăşit2664kbTime limit exceeded.00
16Depăşit2088kbTime limit exceeded.0
174ms256kbOK5
18Depăşit2760kbTime limit exceeded.00
19Depăşit3344kbTime limit exceeded.0
208ms264kbOK5
Punctaj total35

Ceva nu functioneaza?