|
|
back to boardinput reading with JAVA Hello, Im trying to solve this problem with JAVA, but I have WA on the 1st test case (which is most probably the sample test)... For the purpose of testing I replaced those 'corner' symbols with other symbols, and my solution worked fine on the sample test. Does anyone knows how can I read the input correctly? For now Im using: char k=p.charAt(j); int asci=k; switch (asci) { case 218: .................. |
|
|