Borderou de evaluare (job #2250725)

Utilizator pinteastefanPintea Teodor Stefan pinteastefan Data 30 septembrie 2018 16:53:35
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int binarySearch(int, int)’: user.cpp:23:164: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] if (position + (1 << power) <= n && (arb[position + (1 << power)] < x or (arb[position + (1 << power)] == x and (power == 0 or arb[position + (1 << power - 1)] != x)))){ ~~~~~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1324kbIncorect0
20ms1340kbIncorect0
38ms1372kbIncorect0
428ms1528kbIncorect0
568ms1608kbIncorect0
6100ms1844kbIncorect0
7108ms1996kbIncorect0
8152ms2108kbIncorect0
9152ms2104kbIncorect0
10152ms2104kbIncorect0
Punctaj total0

Ceva nu functioneaza?