Borderou de evaluare (job #2294146)

Utilizator AndreiDumitrescuAndrei Dumitrescu AndreiDumitrescu Data 1 decembrie 2018 22:52:23
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:25:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < tati[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~~ main.cpp:32: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:66: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:81:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < graph.size(); i++){ ~~^~~~~~~~~~~~~~ main.cpp:85: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:58:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
221ms393kbOK1010
32803ms8208kbTime limit exceeded00
42802ms58458kbTime limit exceeded00
5330ms65552kbMemory limit exceeded00
6324ms65552kbMemory limit exceeded00
7485ms65552kbMemory limit exceeded00
8704ms65552kbMemory limit exceeded00
9885ms65552kbMemory limit exceeded0
10910ms65552kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?