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

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