Borderou de evaluare (job #2812635)

Utilizator iancupoppPopp Iancu Alexandru iancupopp Data 4 decembrie 2021 20:40:15
Problema Timbre Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'void Heap::down(int)': main.cpp:28:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 28 | while (pos * 2 < h.size()) { | ~~~~~~~~^~~~~~~~~~ main.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | if (pos * 2 + 1 < h.size() && v[h[pos * 2 + 1]] < v[h[fiu]]) | ~~~~~~~~~~~~^~~~~~~~~~ main.cpp: In member function 'void Heap::erase(int)': main.cpp:54:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 54 | if (pos < h.size()) { | ~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbBun asa...10
22ms184kbBun asa...10
32ms184kbBun asa...10
42ms184kbBun asa...10
52ms184kbBun asa...10
62ms184kbBun asa...10
76ms331kbBun asa...10
86ms331kbBun asa...10
96ms356kbBun asa...10
102ms184kbBun asa...10
Punctaj total100

Ceva nu functioneaza?