Pagini recente » Borderou de evaluare (job #192669) | Borderou de evaluare (job #299735) | Borderou de evaluare (job #566761) | Borderou de evaluare (job #66494) | Borderou de evaluare (job #2742472)
Borderou de evaluare (job #2742472)
Raport evaluator
Compilare:
main.cpp: In function 'void coboara(std::vector<int>&, int)':
main.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( pozitie < heap.size() && ok != 0 ){
~~~~~~~~^~~~~~~~~~~~~
main.cpp:23:68: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( heap[pozitie] > heap[ pozitie*2 + 1 ] && (pozitie*2+1) < heap.size() ){
~~~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int cautare(std::vector<int>, int)':
main.cpp:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < heap.size() && ok == 1 ; i++ ){
~~^~~~~~~~~~~~~
main.cpp: In function 'int adauga_element(std::vector<int>&, int)':
main.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int elimina_element(std::vector<int>&, int)':
main.cpp:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int cautare(std::vector<int>, int)':
main.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 5ms | 131kb | Incorect | 0 | 0 |
4 | 37ms | 262kb | Incorect | 0 | 0 |
5 | 7ms | 131kb | Incorect | 0 | 0 |
6 | 251ms | 393kb | Time limit exceeded | 0 |
7 | 251ms | 1441kb | Time limit exceeded | 0 |
8 | 252ms | 655kb | Time limit exceeded | 0 |
9 | 256ms | 393kb | Time limit exceeded | 0 |
10 | 251ms | 393kb | Time limit exceeded | 0 |
Punctaj total | 10 |