Borderou de evaluare (job #1245789)

Utilizator radudorosRadu Doros radudoros Data 19 octombrie 2014 23:28:45
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int aib_max(int)’: user.cpp:23:12: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] if (n - (n&(n - 1) ^ n) == 0) ^ user.cpp:25:28: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] return max2(aib_max(n - (n&(n - 1) ^ n)), t[n]); ^ user.cpp: In function ‘void update(int, int)’: user.cpp:32:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for (; x <= nmax - 1; x += x&(x - 1) ^ x) ^ user.cpp: In function ‘int main()’: user.cpp:164:27: warning: variable ‘time_span’ set but not used [-Wunused-but-set-variable] chrono::duration<double> time_span = chrono::duration_cast<chrono::duration<double>>(t2 - t1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms488kbCorect!1010
20ms528kbCorect!1010
30ms468kbCorect!1010
40ms476kbCorect!1010
50ms476kbCorect!1010
60ms492kbCorect!1010
70ms492kbCorect!1010
8100ms2384kbCorect!100
9Depăşit1640kbTime limit exceeded.0
1096ms2380kbCorect!10
Punctaj total70

Ceva nu functioneaza?