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 1023. Buttons

Show all messages Hide all messages

var i:longint;
begin
 read(i);
 writeln(i-1);
end.
Re: Why Wa??? Where is my GGGGLLLLUUUUKKKK???? XiangGuangTe 23 Apr 2004 13:51
It is impossible that you got AC.
Re: Why Wa??? Where is my GGGGLLLLUUUUKKKK???? Vlad Veselov 26 Apr 2004 18:11
Try this
Input: 15
Correct answer: 2
Your answer: 14
Re: Why Wa??? Where is my GGGGLLLLUUUUKKKK???? Maigo Akisame 11 Jun 2004 16:36
Read prob attentively. The LEAST l is wanted.
because you need to output MINIMAL L, and you outputs Maximal L