Borderou de evaluare (job #1036885)

Utilizator ionicaion ionica Data 19 noiembrie 2013 18:22:56
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int bellmanford(int)’: user.cpp:27:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<v[a].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:59:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:59:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:62:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&x,&y,&z); ^ user.cpp:62:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:62:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:72:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",d[i]); ^ user.cpp: In function ‘int bellmanford(int)’: user.cpp:52:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms816kbIncorect00
24ms824kbIncorect00
34ms824kbOK55
44ms820kbOK55
54ms844kbOK55
64ms828kbOK50
74ms896kbIncorect0
836ms2372kbOK50
952ms1692kbOK5
104ms888kbIncorect0
1168ms2932kbOK520
12116ms2748kbOK5
1380ms2248kbOK5
14156ms3380kbOK5
15200ms3884kbOK50
16160ms3280kbOK5
178ms1228kbIncorect0
18232ms4440kbOK50
19280ms5208kbOK5
2012ms1140kbIncorect0
Punctaj total35

Ceva nu functioneaza?