Borderou de evaluare (job #2230508)

Utilizator LorenaMariaHantig Lorena LorenaMaria Data 10 august 2018 13:20:56
Problema Snpid Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void update(int*, int, int)’: user.cpp:7:18: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] { for(;x<=n;x+=(x&(x-1)^x)) ~^~~~~~ user.cpp: In function ‘int query(int*, int)’: user.cpp:12:17: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses] for(;x>0;x-=(x&(x-1)^x)) ~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1396kbOK10
20ms1392kbOK10
30ms1416kbOK10
40ms1428kbOK10
516ms1712kbOK10
628ms2028kbOK10
752ms2440kbOK10
864ms2728kbOK10
972ms2844kbOK10
1080ms2952kbIncorect0
Punctaj total90

Ceva nu functioneaza?