|
|
вернуться в форум2 as the number... 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... 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... 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. |
|
|