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

Java wa16
Posted by Fyodor Menshikov 11 Dec 2008 02:39
java.util.Scanner has very interesting definition of line break:

LINE_SEPARATOR_PATTERN = "\r\n|[\n\r\u2028\u2029\u0085]";

So its nextLine() method cannot read (char)133.

Edited by author 11.12.2008 02:40