Borderou de evaluare (job #1036887)

Utilizator ionicaion ionica Data 19 noiembrie 2013 18:27:00
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
14ms828kbIncorect00
24ms828kbIncorect00
34ms828kbOK55
44ms828kbOK55
54ms852kbOK55
64ms836kbOK50
74ms912kbIncorect0
836ms2384kbOK50
948ms1704kbOK5
104ms900kbIncorect0
1164ms2952kbOK520
12112ms2760kbOK5
1380ms2264kbOK5
14160ms3392kbOK5
15200ms3900kbOK50
16152ms3300kbOK5
178ms1244kbIncorect0
18228ms4448kbOK50
19276ms5212kbOK5
2012ms1164kbIncorect0
Punctaj total35

Ceva nu functioneaza?