Borderou de evaluare (job #1266145)

Utilizator DenisacheDenis Ehorovici Denisache Data 18 noiembrie 2014 12:58:42
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:49:36: note: in expansion of macro ‘INF’ for (int i=1;i<=N;i++) cost[i]=INF; ^ user.cpp:26:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:57:24: note: in expansion of macro ‘INF’ if (cost[nod]==INF) continue; ^ user.cpp:40: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:41: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:42: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:46:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&x,&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1012kbIncorect00
20ms1016kbIncorect00
30ms1016kbIncorect00
40ms1012kbIncorect00
50ms1036kbIncorect00
60ms1024kbIncorect00
70ms1028kbIncorect0
820ms1372kbIncorect00
944ms1732kbIncorect0
100ms1036kbIncorect0
1132ms1632kbIncorect00
12100ms2672kbIncorect0
1372ms2184kbIncorect0
14140ms3228kbIncorect0
15172ms3680kbIncorect00
16132ms2988kbIncorect0
170ms1040kbIncorect0
18192ms3920kbIncorect00
19236ms4588kbIncorect0
200ms1048kbIncorect0
Punctaj total0

Ceva nu functioneaza?