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 1131. Copying

Show all messages Hide all messages

[code deleted]

Edited by moderator 24.11.2019 12:58
I try to perfect your program.
It's really a hard work.
I got 2 CE and 4WA but finally I got AC.
Your problem have 2 errors.
The First One:
You should add this code after you read in N;


  if n=1 then begin writeln(0);halt(1);end;


So your program can give the right answer of the input
1 1
And then

You must use "<=" instead of "<" in line 9

Then your program can give the right answer of input
2 3



I use this way and got a AC.
Good luck next time .
And will you give me a hard work like this one????
:)
[code deleted]

Edited by moderator 24.11.2019 12:57
Oh my god..........
I'll give you a program.
You can use FC to find your mistake:)
[code deleted]

Edited by moderator 24.11.2019 12:57
[code deleted]

Edited by moderator 24.11.2019 12:55
Sorry I make a mistake
  if s<=n then
        break;
Should be change into
  If s>=n then break;
Sorry again

Do you have E-Mail??:) ECUST Multistar 17 May 2002 12:56
By the way Do you have E-Mail??
Give me and We'll have a easy way to say something.
Oh yes I am david. Tabo. 23 May 2002 09:54
my emile is tabo2001@posta.ge
tabo2001@posta.ge I am david. Tabo. 23 May 2002 09:59
it is my emile
THENK YOU I GOT ACC CCCCCCCCCCCCCCCCCCCCCC I am david. Tabo. 24 May 2002 13:25
>
Is your English really so perfect or you just play the fool ;)
Re: THENK YOU I GOT ACC CCCCCCCCCCCCCCCCCCCCCC mikegreen7892003 21 Aug 2005 14:19
[code deleted]
It's my program.

Edited by moderator 24.11.2019 12:53