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

Обсуждение задачи 1059. Выражение

Why n=2 it isn't ...
Послано CleverKid 12 фев 2002 21:59
0
X
*
1
1
X
*
+
+

Why it isn't this?
Re: Why n=2 it isn't ...
Послано TheBlaNK 14 фев 2002 06:48
i think it's wrong.
isn't it?
Re: Why n=2 it isn't ...
Послано CleverKid 14 фев 2002 13:14
> i think it's wrong.
> isn't it?

no,it's right
i've got ac:)
AC <> Right
Послано Jizhu3 18 фев 2002 18:02
Where is 2
Послано ECUST Multistar 21 фев 2002 19:12
> > i think it's wrong.
> > isn't it?
>
> no,it's right
> i've got ac:)
Re: Why n=2 it isn't ...But y WA if the output is correct?
Послано William Hong 12 мар 2002 17:37
> > i think it's wrong.
> > isn't it?
>
> no,it's right
> i've got ac:)

but then y dont they accept this?

program expression;
var i,j:integer;

begin
readln(j);
writeln('0');
for i := 1 to j do begin
writeln('x');
writeln('*');
writeln(i);
writeln('+');
end;
end.

this is wrong answer but the output is the same for n=1 or 2
Re: Why n=2 it isn't ...But y WA if the output is correct?
Послано William Hong 12 мар 2002 17:50
> > > i think it's wrong.
> > > isn't it?
> >
> > no,it's right
> > i've got ac:)
>
> but then y dont they accept this?
>
> program expression;
> var i,j:integer;
>
> begin
> readln(j);
> writeln('0');
> for i := 1 to j do begin
> writeln('x');
> writeln('*');
> writeln(i);
> writeln('+');
> end;
> end.
>
> this is wrong answer but the output is the same for n=1 or 2

p.s. it doesnt accept whether the x is upper or lower case
>
>