ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1209. 1, 10, 100, 1000...

Unable to understand question
Posted by annonynous 26 Mar 2013 20:17
for the given 5 sample how 4 values 0 0 1 0 are coming. please explain anybody
Re: Unable to understand question
Posted by shayan shafiee 3 Apr 2013 20:00
110100100010000100000
Re: Unable to understand question
Posted by Camilo Sasía 21 Apr 2013 22:57
    1101001000 1 0 0 0 0
k:  1234567891011

example:
k = 2    ==>  1
k = 3    ==>  0
k = 7    ==>  1
Re: Unable to understand question
Posted by staticor 22 Jun 2013 18:20
You must know how to generate the sequence first!
And then the input gives the position
annonynous wrote 26 March 2013 20:17
for the given 5 sample how 4 values 0 0 1 0 are coming. please explain anybody