Borderou de evaluare (job #2617002)
| Utilizator | Data | 20 mai 2020 16:20:21 | |
|---|---|---|---|
| Problema | Heapuri | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void pop(int)':
main.cpp:20:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( i*2 + 1 >= H.size()){
~~~~~~~~^~~~~~~~~~~
main.cpp:21:9: error: 'Pos' was not declared in this scope
Pos[H[i]] = -1;
^~~
main.cpp:27:9: error: 'Pos' was not declared in this scope
Pos[H[i]] = -1;
^~~
main.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( i * 2 + 1 < H.size() ){
~~~~~~~~~~^~~~~~~~~~
main.cpp:35:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( i * 2 + 2 < H.size() ){
~~~~~~~~~~^~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
