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 1027. D++ Again

zylm What's the test 4?? [1] // Problem 1027. D++ Again 29 Oct 2014 19:38
I use "string ch" AC,but " char ch[maxn]" WA4,I don't know why .....
Rabbit Girl ♥ Re: What's the test 4?? // Problem 1027. D++ Again 14 Aug 2018 17:20
You may be forgetting that C strings contain ONE more character that is called terminal character (or whatever). So it must be 10001. And it works! for me