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

Peng Kejing Can anyone tell me that how to solve it? [4] // Problem 1690. Army of Mages 14 Mar 2009 19:19
re.Thanks.
Zhukov Dmitry Re: Can anyone tell me that how to solve it? [3] // Problem 1690. Army of Mages 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;
}
Vedernikoff Sergey (HSE: EconomicsForever!) Re: Can anyone tell me that how to solve it? [2] // Problem 1690. Army of Mages 15 Mar 2009 18:40
If this really works, then, I think, admins should rewrite checker for the problem...
wzc1989 Re: Can anyone tell me that how to solve it? [1] // Problem 1690. Army of Mages 15 Mar 2009 19:26
Can anyone give a hint?
Since the N is so big,I have not idea...
Vedernikoff Sergey (HSE: EconomicsForever!) Re: Can anyone tell me that how to solve it? // Problem 1690. Army of Mages 15 Mar 2009 20:01
Think a bit. The problem is really beatiful.