Borderou de evaluare (job #2596784)

Utilizator mihai50000Mihai-Cristian Popescu mihai50000 Data 10 aprilie 2020 13:40:59
Problema Zeap Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void insert(Treap*&, int)': main.cpp:116:34: warning: narrowing conversion of 'rng.std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::operator()<long unsigned int, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>()' from 'std::mersenne_twister_engine<long unsigned int, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>::result_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing] Treap* solo = new Treap{key, rng(), 2 * INF, key, key, nill, nill}; ~~~^~ main.cpp: At global scope: main.cpp:158:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
210ms262kbOK10
384ms1048kbOK10
4139ms1835kbOK10
5262ms3014kbOK10
6415ms4587kbOK10
7837ms8519kbOK10
8588ms5636kbOK10
9222ms2490kbOK10
10859ms9306kbOK10
Punctaj total100

Ceva nu functioneaza?