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

Common Board

1009 *K based numbers.
Posted by Jivko Ganev 15 Oct 2000 20:10
I am having problem with 1009 I am not 100% sure but I get
89 on the Sample input.I got it with 2 different
programs.One checked for adjacent 0's in the numbers betwen
[1000000000 ,10000000000)  the other was more universal and
works for any k but i can't get it to work on the sample it
still gets 89. I wonder why is this difference with one.I
also tried to write 1 + my answer and it gets W.A.
see the atricle about "what's wrong with 1012"
Posted by BBNS 15 Oct 2000 20:20
you can see the atricle about "what's wrong with 1012"
i gave a formula there.
Re: 1009 *K based numbers.
Posted by LuoJi 15 Oct 2000 20:21
Do you solve the problem with a expressions?
Maybe there's something wrong with your expressions.
Re: 1009 *K based numbers.
Posted by BBNS 16 Oct 2000 16:55
> Do you solve the problem with a expressions?
> Maybe there's something wrong with your expressions.
i think you misunderstood my formula...