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 1769. Old Ural Legend

WA #23
Posted by Alexander Samal 11 Apr 2010 19:53
Do you have any ideas?
No subject
Posted by Igor Dex 13 Apr 2010 04:01

Edited by author 13.04.2010 04:02

Edited by author 13.04.2010 04:02
Re: WA #23
Posted by alexey saybel 13 Apr 2010 18:14
check 100000-999999 numbers too
Re: WA #23
Posted by watashi 7 Oct 2011 19:37
I changed:
char ch[100001];
fgets(ch,100000,stdin);

to
char ch[1000001];
fgets(ch,1000000,stdin);

and got AC!