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

Can anyone tell me that how to solve it?
Posted by Peng Kejing 14 Mar 2009 19:19
re.Thanks.
Re: Can anyone tell me that how to solve it?
Posted by 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?
If this really works, then, I think, admins should rewrite checker for the problem...
Re: Can anyone tell me that how to solve it?
Posted by wzc1989 15 Mar 2009 19:26
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?
Think a bit. The problem is really beatiful.