Borderou de evaluare (job #1637600)

Utilizator ChiriGeorgeChiriluta George-Stefan ChiriGeorge Data 7 martie 2016 18:14:25
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
10ms260kbOK55
20ms264kbOK55
30ms276kbOK55
40ms276kbOK55
50ms292kbOK55
60ms272kbOK510
70ms268kbOK5
8Depăşit516kbTime limit exceeded.00
9Depăşit880kbTime limit exceeded.0
100ms276kbOK5
11Depăşit716kbTime limit exceeded.00
12Depăşit1720kbTime limit exceeded.0
13Depăşit1268kbTime limit exceeded.0
14Depăşit2208kbTime limit exceeded.0
15Depăşit2692kbTime limit exceeded.00
16Depăşit2112kbTime limit exceeded.0
174ms280kbOK5
18Depăşit2792kbTime limit exceeded.00
19Depăşit3368kbTime limit exceeded.0
208ms296kbOK5
Punctaj total35

Ceva nu functioneaza?