Pagini recente » Borderou de evaluare (job #2500816) | Borderou de evaluare (job #1685444) | Borderou de evaluare (job #751694) | Borderou de evaluare (job #1577794) | Borderou de evaluare (job #2677043)
Borderou de evaluare (job #2677043)
Raport evaluator
Compilare:
main.cpp: In constructor 'BIT::BIT(int)':
main.cpp:24:35: 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(bit, 0, sizeof bit);
^~~
main.cpp: In constructor 'minTree::minTree(int)':
main.cpp:50:35: 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(min, 0, sizeof min);
^~~
main.cpp: In function 'int binarySearch(int, BIT&, int)':
main.cpp:103:12: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1128ms | 6795kb | Corect! | 7 |
2 | 3ms | 393kb | Raspuns gresit! | 0 |
3 | 4ms | 393kb | Raspuns gresit! | 0 |
4 | 8ms | 524kb | Raspuns gresit! | 0 |
5 | 25ms | 786kb | Raspuns gresit! | 0 |
6 | 246ms | 5373kb | Raspuns gresit! | 0 |
7 | 280ms | 6021kb | Raspuns gresit! | 0 |
8 | 249ms | 6160kb | Raspuns gresit! | 0 |
9 | 356ms | 7196kb | Corect! | 4 |
10 | 1600ms | 3731kb | Time limit exceeded | 0 |
11 | 1602ms | 3670kb | Time limit exceeded | 0 |
12 | 225ms | 6541kb | Corect! | 4 |
13 | 159ms | 6672kb | Corect! | 2 |
14 | 530ms | 7196kb | Corect! | 5 |
Punctaj total | 22 |