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

Hey,dudes, I think we only need out k-1, why not?
Posted by sas 21 Apr 2007 21:13
long int c,i;

int main ()
{
     cin>>c;
      cout<<c-1<<endl;

    return 0;
}
Re: Hey,dudes, I think we only need out k-1, why not?
Posted by sas 21 Apr 2007 21:15
Sorry, dudes, I've understand!
Re: Hey,dudes, I think we only need out k-1, why not?
Posted by Sandello 26 Apr 2007 17:00
because you need to output MINIMAL number