Borderou de evaluare (job #1998850)

Utilizator savigunFeleaga Dragos-George savigun Data 9 iulie 2017 13:13:23
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void HPD(int, int)’: user.cpp:41:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[x].size(); ++i) { ^ user.cpp:54:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[x].size(); ++i) { ^ user.cpp: In function ‘void set_path_level(int, int)’: user.cpp:79:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[x].size(); ++i) { ^ user.cpp: In function ‘int query(int, int)’: user.cpp:111:99: warning: second operand of conditional expression has no effect [-Wunused-value] if (whatPath[x] == whatPath[y]) (level[xPathParent] > level[yPathParent]) ? parent[yPathParent] : parent[xPathParent]; ^ user.cpp:111:121: warning: third operand of conditional expression has no effect [-Wunused-value] if (whatPath[x] == whatPath[y]) (level[xPathParent] > level[yPathParent]) ? parent[yPathParent] : parent[xPathParent]; ^ user.cpp: In function ‘void HPD(int, int)’: user.cpp:51:30: warning: ‘max_path’ may be used uninitialized in this function [-Wmaybe-uninitialized] set_path(x, max_path); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2852kbIncorect00
24ms2880kbIncorect00
324ms3580kbIncorect00
4324ms7268kbIncorect00
5368ms10180kbIncorect00
6620ms10184kbIncorect00
7724ms13416kbIncorect00
8Depăşit10164kbTime limit exceeded.00
9Depăşit10184kbTime limit exceeded.0
10Depăşit10184kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?