Borderou de evaluare (job #3233553)

Utilizator 21CalaDarius Calaianu 21Cala Data 3 iunie 2024 20:02:40
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'void move_down(int)': main.cpp:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | if (2 * index < heap.size()) { | ~~~~~~~~~~^~~~~~~~~~~~~ main.cpp:36:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | if (index * 2 + 1 < heap.size() && heap[index * 2 + 1].first < heap[2 * index].first) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp: In function 'void afisare()': main.cpp:83:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | for (int i = 1; i < heap.size(); ++i) | ~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbIncorect00
30ms303kbOK1010
49ms417kbKilled by Signal 1100
54ms409kbKilled by Signal 1100
610ms520kbKilled by Signal 110
714ms2207kbOK10
814ms1871kbIncorect0
910ms622kbKilled by Signal 110
1010ms630kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?