Borderou de evaluare (job #1387358)

Utilizator tudoras8tudoras8 tudoras8 Data 14 martie 2015 01:21:49
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
10ms240kbOK55
20ms244kbOK55
30ms248kbOK55
40ms252kbOK55
50ms268kbOK55
60ms252kbOK510
70ms252kbOK5
8Depăşit492kbTime limit exceeded.00
9Depăşit852kbTime limit exceeded.0
100ms252kbOK5
11Depăşit696kbTime limit exceeded.00
12Depăşit1688kbTime limit exceeded.0
13Depăşit1244kbTime limit exceeded.0
14Depăşit2180kbTime limit exceeded.0
15Depăşit2664kbTime limit exceeded.00
16Depăşit2084kbTime limit exceeded.0
174ms256kbOK5
18Depăşit2756kbTime limit exceeded.00
19Depăşit3344kbTime limit exceeded.0
208ms272kbOK5
Punctaj total35

Ceva nu functioneaza?