Borderou de evaluare (job #1245782)

Utilizator radudorosRadu Doros radudoros Data 19 octombrie 2014 23:03:57
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:22:12: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] if (n - (n&(n - 1) ^ n) == 0) ^ user.cpp:24: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:31:30: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for (; x <= nmax - 1; x += x&(x - 1) ^ x) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms484kbCorect!1010
20ms516kbCorect!1010
30ms468kbCorect!1010
40ms476kbCorect!1010
50ms472kbCorect!1010
60ms480kbCorect!1010
70ms492kbCorect!1010
896ms2376kbCorect!100
9Depăşit1628kbTime limit exceeded.0
1088ms2380kbCorect!10
Punctaj total70

Ceva nu functioneaza?