Borderou de evaluare (job #3162718)

Utilizator AdrianRosuRosu Adrian Andrei AdrianRosu Data 29 octombrie 2023 18:48:58
Problema Sea2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int Update(int, int, int, int, int)': main.cpp:59:1: warning: no return statement in function returning non-void [-Wreturn-type] 59 | } | ^ main.cpp: In function 'int main()': main.cpp:99:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 99 | for(i = 0 ; i < mp[index].size() ; i++){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int Update(int, int, int, int, int)': main.cpp:40:5: warning: infinite recursion detected [-Winfinite-recursion] 40 | int Update(int node, int st, int dr, int a, int b){ | ^~~~~~ main.cpp:50:19: note: recursive call 50 | Update(node << 1, st, mij, a, b); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:53:19: note: recursive call 53 | Update(node << 1 | 1, mij + 1, dr, a, b); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
17ms20742kbMemory limit exceeded0
27ms21069kbMemory limit exceeded0
37ms20742kbMemory limit exceeded0
47ms20742kbMemory limit exceeded0
57ms21000kbMemory limit exceeded0
67ms20742kbMemory limit exceeded0
76ms20742kbMemory limit exceeded0
87ms20742kbMemory limit exceeded0
96ms20742kbMemory limit exceeded0
106ms20742kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?