Why does my code read junk bits?

Правка en1, от AishwaryaR, 2020-02-22 12:58:47

I've made a submission to problem 1303D. I get a correct answer when I iterate upto 30 bit positions, but, according to the constraints in the question, I've to iterate upto 60 (n: 1e18). I don't understand why the code reads junk bits (and hence increments variable splits) thus giving a WA.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский AishwaryaR 2020-02-22 12:58:47 434 Initial revision (published)