Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2758020)
| Utilizator | Data | 8 iunie 2021 02:06:16 | |
|---|---|---|---|
| Problema | Heapuri | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void sift_down(int)':
main.cpp:47:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(left_son(position) < heap.size()){
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:49:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(right_son(position) < heap.size() && elements[heap[right_son(position)]] < elements[heap[left_son(position)]])
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 3ms | 131kb | OK | 10 | 10 |
| 3 | 3ms | 131kb | OK | 10 | 10 |
| 4 | 7ms | 262kb | OK | 10 | 10 |
| 5 | 3ms | 131kb | OK | 10 | 60 |
| 6 | 52ms | 913kb | OK | 10 | |
| 7 | 117ms | 1937kb | OK | 10 | |
| 8 | 96ms | 1695kb | OK | 10 | |
| 9 | 109ms | 1433kb | OK | 10 | |
| 10 | 108ms | 1433kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
