can someone please help me with the logic of 556A — Case of the Zeros and Ones.

Правка en3, от zonedout, 2024-09-17 21:11:16

556A - Case of the Zeros and Ones

HERE is my code:

it fails on test 12. the input is not totally visible since its a long no. the output to test 12 should have been 0(according to the site) but am getting the output as 199996

Теги 900

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский zonedout 2024-09-17 21:11:16 657
en2 Английский zonedout 2024-09-17 21:09:30 4 Tiny change: ' code:\n\n#inclu' -> ' code:\n\n\n#inclu'
en1 Английский zonedout 2024-09-17 21:08:53 947 Initial revision (published)