Can anyone tell me that how to solve it?

re.Thanks.

Re: Can anyone tell me that how to solve it?

#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.