Borderou de evaluare (job #2294145)

Utilizator AndreiDumitrescuAndrei Dumitrescu AndreiDumitrescu Data 1 decembrie 2018 22:51:17
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int DFS(int, int)': main.cpp:23:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < tati[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~~ main.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'void creez_tati(int, int, std::vector<std::vector<int> >)': main.cpp:64:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < graph[nod].size(); i++) { ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void lca(const std::vector<std::vector<int> >&, const std::vector<std::pair<int, int> >&)': main.cpp:79:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < graph.size(); i++){ ~~^~~~~~~~~~~~~~ main.cpp:83:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < queries.size(); i++) { ~~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:99:12: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ main.cpp: In function 'int query(int, int)': main.cpp:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
221ms393kbOK1010
32800ms8228kbTime limit exceeded00
42802ms58458kbTime limit exceeded00
5329ms65552kbMemory limit exceeded00
6339ms65552kbMemory limit exceeded00
7490ms65552kbMemory limit exceeded00
8844ms65552kbMemory limit exceeded00
9858ms65552kbMemory limit exceeded0
101114ms65552kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?