Borderou de evaluare (job #1597801)

Utilizator georgeliviuPereteanu George georgeliviu Data 12 februarie 2016 12:36:23
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void BellManFord(long int)’: user.cpp:26:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( long i = 0 ; i < ad[nod].size() ; ++i ) ^ user.cpp: In function ‘int main()’: user.cpp:55:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&n,&m); ^ user.cpp:55:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:58:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d %d",&x,&y,&c); ^ user.cpp:58:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:58:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:69:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",T[i]) ; ^ user.cpp:52:40: 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:53:42: 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:55:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:58:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&x,&y,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1052kbOK55
20ms1056kbOK55
30ms1060kbOK55
40ms1064kbOK55
50ms1084kbOK55
60ms1076kbOK510
74ms1064kbOK5
832ms1408kbOK515
944ms1800kbOK5
104ms1072kbOK5
1156ms1676kbOK520
12108ms2740kbOK5
1376ms2244kbOK5
14144ms3296kbOK5
15184ms3752kbOK515
16140ms3056kbOK5
1716ms1076kbOK5
18208ms4004kbOK515
19260ms4660kbOK5
2024ms1092kbOK5
Punctaj total100

Ceva nu functioneaza?