Help!

Revision en1, by doubleMasalaMaggi, 2024-12-27 11:10:40

1988C - Increasing Sequence with Fixed OR When I did this problem in cpp, it got stuck on the 101th case of test case 2 that was 10^18, but then I submitted the same logic in python, this worked, I was not able to figure out why this happened and this is not my first encounter when python worked with large number and cpp didn't. cpp submission -> 298635588 python submission- > 298635633. Please help me out why this happened.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English doubleMasalaMaggi 2024-12-27 11:10:40 434 Initial revision (published)