Borderou de evaluare (job #2083974)

Utilizator gapdanPopescu George gapdan Data 8 decembrie 2017 13:44:58
Problema Algoritmul Bellman-Ford Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:4:22: warning: integer overflow in expression [-Woverflow] #define INF (1<<31) -1 ^ user.cpp:73:32: note: in expansion of macro ‘INF’ for(int i=1;i<=n;++i) d[i]=INF; ^ user.cpp:78:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v[x].size();++i) ^ user.cpp:4:22: warning: integer overflow in expression [-Woverflow] #define INF (1<<31) -1 ^ user.cpp:91:20: note: in expansion of macro ‘INF’ if(d[i] != INF) printf("%d ",d[i]); ^ user.cpp:64: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:65: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:66: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:70:33: 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ăşit844kbTime limit exceeded.00
20ms864kbIncorect00
30ms868kbOK55
40ms860kbOK55
50ms880kbOK55
60ms868kbOK50
7Depăşit852kbTime limit exceeded.0
820ms1260kbOK50
948ms1628kbOK5
10Depăşit868kbTime limit exceeded.0
1136ms1568kbOK520
12108ms2528kbOK5
1380ms2084kbOK5
14148ms3132kbOK5
15192ms3596kbOK50
16148ms3012kbOK5
17Depăşit864kbTime limit exceeded.0
18224ms3788kbOK50
19268ms4588kbOK5
20Depăşit876kbTime limit exceeded.0
Punctaj total35

Ceva nu functioneaza?