|  | 
|  | 
| back to board | It is simple, isn't it? Posted by Li Yi  3 Oct 2001 11:14Write numbers from 1 to n, that's enough! You should beaccepted.
Re: It is simple, isn't it?  ---> That's right . :) > Write numbers from 1 to n, that's enough! You should be> accepted.
THANK YOU VERY MUCH!!!!!!!!!!!! Write numbers from 1 to n, that's enough! You should MUST beaccepted.
 
 THANK YOU VERY MUCH!
WHY? > Write numbers from 1 to n, that's enough! You should be> accepted.
Re: WHY? Posted by Ralph  8 Apr 2006 23:11Right. But plainly saying that it works (and it does) spoils the fun. And fun is to figure out WHY it works.Re: WHY? I think we can't know why this work. We must check this solution on all tests [1, 1 2, 1 2 3, ..., 1 2 ... 1000]. If solution works on all tests it means that solution is right.Re: It is simple, isn't it? Posted by 宇智波卡卡西  18 Aug 2007 14:16you say write num from 1 to n,but the example....
Re: It is simple, isn't it? it's very simple,I think Quick_sort procedure and it are very much the same,
Re: It is simple, isn't it? Yeah , better to guess yourself what is variable c. Please don't put in forum your very simple solving | 
 | 
|