|
|
вернуться в форум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? 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 ? 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 ?. |
|
|