Borderou de evaluare (job #1459370)

Utilizator Liviu98Dinca Liviu Liviu98 Data 9 iulie 2015 18:06:45
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d",&N,&M); ^ user.cpp:17:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d%d",&x,&y,&z); ^ user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp: In function ‘void BellManFord(const int&)’: user.cpp:29:15: warning: overflow in implicit constant conversion [-Woverflow] Dis[i]=Infinit; ^ user.cpp: In function ‘void Write()’: user.cpp:59:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ",Dis[i]); ^ user.cpp: In function ‘void Read()’: user.cpp:16: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:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&z); ^ user.cpp: In function ‘void Write()’: user.cpp:54: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit984kbTime limit exceeded.00
2Depăşit980kbTime limit exceeded.00
30ms1024kbOK55
40ms1024kbOK55
50ms1048kbOK55
60ms1028kbOK50
7Depăşit14064kbTime limit exceeded.0
828ms1428kbOK50
944ms1780kbOK5
10224msDepăşitMemory limit exceeded.0
1152ms1732kbOK520
12104ms2764kbOK5
1372ms2264kbOK5
14148ms3356kbOK5
15192ms3832kbOK50
16144ms3216kbOK5
17Depăşit6124kbTime limit exceeded.0
18216ms4112kbOK50
19268ms4840kbOK5
20312msDepăşitMemory limit exceeded.0
Punctaj total35

Ceva nu functioneaza?