Borderou de evaluare (job #1913305)

Utilizator gapdanPopescu George gapdan Data 8 martie 2017 12:32:32
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

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:70:32: note: in expansion of macro ‘INF’ for(int i=1;i<=n;++i) d[i]=INF; ^ user.cpp:75: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:88:20: note: in expansion of macro ‘INF’ if(d[i] != INF) printf("%d ",d[i]); ^ user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.in","r",stdin); ^ user.cpp:62:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.out","w",stdout); ^ user.cpp:63: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:67: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
10ms864kbOK10
20ms864kbOK10
30ms896kbOK10
44ms904kbOK10
5184ms1228kbOK10
6Depăşit1528kbTime limit exceeded.0
7Depăşit1768kbTime limit exceeded.0
8336ms2716kbOK10
9168ms2256kbOK10
10Depăşit4580kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?