Borderou de evaluare (job #1330959)

Utilizator vlad_DVlad Dumitriu vlad_D Data 31 ianuarie 2015 10:02:48
Problema Delay Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int)’: user.cpp:23:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < G[nod].size(); ++i) { ^ user.cpp: In function ‘void heavy(int, int, int)’: user.cpp:107:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < G[nod].size(); ++i) { ^ user.cpp:114:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < G[nod].size(); ++i) { ^ user.cpp: In function ‘int main()’: user.cpp:157:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < paths[i].v.size(); ++j) ^ user.cpp:125:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("delay.in", "r", stdin); ^ user.cpp:126:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("delay.out", "w", stdout); ^ user.cpp:128:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:129:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i = 1; i <= N; ++i) scanf("%d", &v[i]); ^ user.cpp:132:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^ user.cpp:162:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:165:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &a, &b, &c); ^ user.cpp: In function ‘int lca(int, int)’: user.cpp:40:18: warning: array subscript is below array bounds [-Warray-bounds] int ans = RMQ[p][a]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2848kbOK10
212ms2864kbOK10
340ms3060kbOK10
4120ms3996kbOK10
5176ms5056kbOK10
6192ms5096kbOK10
7192ms5060kbOK10
8240ms5796kbOK10
9280ms6060kbOK10
10396ms6612kbOK10
Punctaj total100

Ceva nu functioneaza?