|
|
back to boardAnyone Please Tell Me what is Test #8 I've tried 0 it gives 10 I've tried 1 it gives 1 I've tried nos <10 and >1 gives the same I've tried characters and strings gives -1 I've tried 1000 000 000 it gives 555 555 555 888 I've tried 12 It gives 26 Not 34 I've used the method of coming back from 9 To 1 dividing the number.. Please tell what is Test #8 Re: Anyone Please Tell Me what is Test #8 Posted by maksay 29 Nov 2007 21:42 Thanks for 12 test It really helped me If you still don't know how to solve - 426287475 Re: Anyone Please Tell Me what is Test #8 Hey Got the Mistake... I declared the array small.... That is the array that is used to store the digits... Re: Anyone Please Tell Me what is Test #8 Posted by Kholdi 13 Dec 2007 19:40 I think I know whats the problem. My program had error on T#8 too. and it couldn't work for 100000000. Re: Anyone Please Tell Me what is Test #8 try 910 = 13 * 7 * 5 * 2 answer is -1 try 26 |
|
|