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

Обсуждение задачи 1129. Покраска дверей

This problem seems to be quite easy, but I got WA! Can someone help me?
Послано AOY++ 22 дек 2001 10:16
[code deleted]

Edited by moderator 20.12.2019 22:27
Re: This problem seems to be quite easy, but I got WA! Can someone help me?
Послано I have answers to all your questions :) 22 дек 2001 11:01
use read instead of readln to read data because there's a problem
with input files & problem description.
Still WA :(
Послано AOY++ 22 дек 2001 12:15
> use read instead of readln to read data because there's a problem
> with input files & problem description.

I just delete the only "readln" in my program, but I still got WA :(
Maybe I didn't understand your saying clearly. What is the problem to
the input data & problem description?
Replace 'readln(n)' with 'read(n)'.
Послано abc 22 дек 2001 12:32
Ac now! Thanks a lot!
Послано AOY++ 22 дек 2001 12:45
>
HOW ?
Послано Timus Observer 22 дек 2001 16:18
Mr. abc -

I tried the same thing but could not get AC. How do you know we
should use read instead of readln ?.
abc is truly right, but how did you know, did you do try and error :-)
Послано Timus Observer 22 дек 2001 16:38
> Mr. abc -
>
> I tried the same thing but could not get AC. How do you know we
> should use read instead of readln ?.