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 1082. Gaby Ivanushka

It is simple, isn't it?
Posted by Li Yi 3 Oct 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!!!!!!!!!!!!
Posted by Knot Skycreeper[th] 11 Oct 2002 22:52
Write numbers from 1 to n, that's enough! You should MUST be
accepted.

THANK YOU VERY MUCH!
WHY?
Posted by Kingliest 28 Feb 2003 20:03
> Write numbers from 1 to n, that's enough! You should be
> accepted.
Re: WHY?
Posted by Ralph 8 Apr 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?
Posted by 4e_gevara 28 Feb 2007 14:39
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:16
you say write num from 1 to n,
but the example....
Re: It is simple, isn't it?
Posted by Tung Bui Nguyen 30 Aug 2007 22:06
it's very simple,
I think Quick_sort procedure and it are very much the same,
Re: It is simple, isn't it?
Posted by IlushaMax 2 Apr 2016 01:00
Yeah , better to guess yourself what is variable c. Please don't put in forum your very simple solving