Borderou de evaluare (job #1470220)

Utilizator iordache.bogdanIordache Ioan-Bogdan iordache.bogdan Data 10 august 2015 15:57:17
Problema Gminmax Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In constructor ‘Heap::Heap(int)’: user.cpp:88:34: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(heapPosition, 0, sizeof heapPosition); ^ user.cpp: In member function ‘void Heap::insert(int, int)’: user.cpp:97:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (heapSize >= heap.size()) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbOK10
20ms416kbOK10
324ms820kbOK10
448ms1348kbOK10
5160ms2964kbOK10
6Depăşit7236kbTime limit exceeded.0
7Depăşit10596kbTime limit exceeded.0
8Depăşit10620kbTime limit exceeded.0
9Depăşit10196kbTime limit exceeded.0
10Depăşit10964kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?