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 1690. Army of Mages

Show all messages Hide all messages

Can anyone tell me that how to solve it? Peng Kejing 14 Mar 2009 19:19
re.Thanks.
Re: Can anyone tell me that how to solve it? Zhukov Dmitry 15 Mar 2009 18:04
#include <cstdio>
int n;
int main()
{
    scanf("%d", &n);
    puts("OK");
    for(int i = 0; i < n; i++)
    {
        printf("1 ");
    }
    return 0;
}
Re: Can anyone tell me that how to solve it? Vedernikoff Sergey (HSE: EconomicsForever!) 15 Mar 2009 18:40
If this really works, then, I think, admins should rewrite checker for the problem...
Can anyone give a hint?
Since the N is so big,I have not idea...
Re: Can anyone tell me that how to solve it? Vedernikoff Sergey (HSE: EconomicsForever!) 15 Mar 2009 20:01
Think a bit. The problem is really beatiful.