|
|
back to boardThis 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? 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 ? 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 :-) > Mr. abc - > > I tried the same thing but could not get AC. How do you know we > should use read instead of readln ?. |
|
|