ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1082. Иванушка-дурачок

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!!!!!!!!!!!!
Послано Knot Skycreeper[th] 11 окт 2002 22:52
Write numbers from 1 to n, that's enough! You should MUST be
accepted.

THANK YOU VERY MUCH!
WHY?
Послано Kingliest 28 фев 2003 20:03
> 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?
Послано 4e_gevara 28 фев 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?
Послано 宇智波卡卡西 18 авг 2007 14:16
you say write num from 1 to n,
but the example....
Re: It is simple, isn't it?
Послано Tung Bui Nguyen 30 авг 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?
Послано IlushaMax 2 апр 2016 01:00
Yeah , better to guess yourself what is variable c. Please don't put in forum your very simple solving