Borderou de evaluare (job #1596753)

Utilizator georgeliviuPereteanu George georgeliviu Data 11 februarie 2016 13:00:42
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

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:49:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d",&n,&m); ^ user.cpp:49:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:52: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:52:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:52:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:63:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",T[i]) ; ^ user.cpp:46: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:47: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:49: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:52: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
1Depăşit1044kbTime limit exceeded.00
2Depăşit1044kbTime limit exceeded.00
30ms1048kbIncorect00
40ms1048kbIncorect00
50ms1064kbIncorect00
60ms1072kbOK50
7Depăşit1052kbTime limit exceeded.0
828ms1344kbOK50
940ms1744kbIncorect0
10Depăşit1060kbTime limit exceeded.0
1152ms1556kbOK50
12104ms2668kbIncorect0
1372ms2160kbIncorect0
14140ms3204kbIncorect0
15180ms3644kbIncorect00
16136ms2944kbIncorect0
17Depăşit1056kbTime limit exceeded.0
18212ms3812kbOK50
19252ms4480kbOK5
20Depăşit1076kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?