Borderou de evaluare (job #2294144)

Utilizator AndreiDumitrescuAndrei Dumitrescu AndreiDumitrescu Data 1 decembrie 2018 22:48:48
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 'std::vector<int> 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
32802ms8339kbTime limit exceeded00
42800ms58851kbTime limit exceeded00
5319ms65552kbMemory limit exceeded00
6310ms65552kbMemory limit exceeded00
7503ms65552kbMemory limit exceeded00
8834ms65552kbMemory limit exceeded00
91010ms65552kbMemory limit exceeded0
101104ms65552kbMemory limit exceeded0
Punctaj total20

Ceva nu functioneaza?