Borderou de evaluare (job #1330957)

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

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
14ms2836kbKilled by signal 11(SIGSEGV).0
212ms2872kbOK10
340ms3068kbOK10
4120ms4000kbOK10
5172ms5064kbOK10
6192ms5100kbOK10
7188ms5064kbOK10
8236ms5796kbOK10
9280ms6060kbOK10
10392ms6616kbOK10
Punctaj total90

Ceva nu functioneaza?