|
|
вернуться в форумIt is simple, isn't it? Послано Li Yi 3 окт 2001 11:14 Write numbers from 1 to n, that's enough! You should be accepted. 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 be accepted. THANK YOU VERY MUCH! WHY? > Write numbers from 1 to n, that's enough! You should be > accepted. Re: WHY? Послано Ralph 8 апр 2006 23:11 Right. 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? Послано 宇智波卡卡西 18 авг 2007 14:16 you 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 |
|
|