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 1423. String Tale

C#: WA#9 or Crash#9
Posted by Leonid (SLenik) Andrievskiy 22 Jul 2011 05:09
For those, who had problems with the 9th test try to set Console.InputEncoding with KOI-8r russian cyrillic encoding:

Console.InputEncoding = Encoding.GetEncoding(1251);

Otherwise your input data will seems to you iappopriate (the length of S and T lines won't be equal).