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 1044. Lucky Tickets. Easy!

2 as the number...
Posted by Shen Minghan 28 Jan 2002 20:18
What if the input is two?
I haf the formulae, but it doesnt werk on two.
anyone can tell me if there is a formulae that werks on two?
Or just tell me if it exists.
Re: 2 as the number...
Posted by Junjie Liang 29 Jan 2002 15:15
If you read the problem carefully, you will realise that the answer
for 2 is 10 (00,11,22..99). And I'm quite interested in your formula
(I didn't solve it using a formula...doesn't mean it's impossible)

> What if the input is two?
> I haf the formulae, but it doesnt werk on two.
> anyone can tell me if there is a formulae that werks on two?
> Or just tell me if it exists.
Re: 2 as the number...
Posted by Shen Minghan 10 Mar 2002 19:56
Does that mean you did it by hardcoding or did you do it by 'greed'
technique?

> If you read the problem carefully, you will realise that the
answer
> for 2 is 10 (00,11,22..99). And I'm quite interested in your
formula
> (I didn't solve it using a formula...doesn't mean it's impossible)
>
> > What if the input is two?
> > I haf the formulae, but it doesnt werk on two.
> > anyone can tell me if there is a formulae that werks on two?
> > Or just tell me if it exists.