Borderou de evaluare (job #2925406)

Utilizator juincPopescu Marian juinc Data 15 octombrie 2022 10:28:27
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void del(std::vector<int>&, int, std::vector<int>&)': main.cpp:47:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for(int i = pos; i < heap.size(); i = i*2){ | ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:78:32: warning: passing NULL to non-pointer argument 2 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int>]' [-Wconversion-null] 78 | std::vector<int> ord(n,NULL); | ^ In file included from /usr/include/c++/10/vector:67, from main.cpp:3: /usr/include/c++/10/bits/stl_vector.h:522:47: note: declared here 522 | vector(size_type __n, const value_type& __value, | ~~~~~~~~~~~~~~~~~~^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbIncorect00
20ms184kbIncorect00
30ms184kbIncorect00
45ms315kbIncorect00
50ms184kbIncorect00
648ms786kbKilled by Signal 110
723ms1626kbKilled by Signal 110
8165ms1781kbKilled by Signal 110
920ms1196kbKilled by Signal 110
10117ms1220kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?