Borderou de evaluare (job #2230509)

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

Raport evaluator

Compilare: user.cpp: In function ‘void update(long int*, long int, long 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(long int*, long 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
30ms1420kbOK10
40ms1424kbOK10
512ms1708kbOK10
628ms2028kbOK10
752ms2440kbOK10
868ms2732kbOK10
972ms2848kbOK10
1080ms2948kbIncorect0
Punctaj total90

Ceva nu functioneaza?