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 1129. Door Painting

This problem seems to be quite easy, but I got WA! Can someone help me?
Posted by AOY++ 22 Dec 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?
Posted by I have answers to all your questions :) 22 Dec 2001 11:01
use read instead of readln to read data because there's a problem
with input files & problem description.
Still WA :(
Posted by AOY++ 22 Dec 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)'.
Posted by abc 22 Dec 2001 12:32
Ac now! Thanks a lot!
Posted by AOY++ 22 Dec 2001 12:45
>
HOW ?
Posted by Timus Observer 22 Dec 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 :-)
Posted by Timus Observer 22 Dec 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 ?.