|
|
back to boardProblems with solving I tried to solve in c++, but got WA1. I used "cin.get(c)" to get chars(if it's important). In my tests all was OK. Then tried to solve in Pascal. Used same algorithm. First I was using "while not eof" to get chars, but met problems with counting the amount of chars. Used simple "s:string; readln(s)"(if it's important). And got AC then. Edited by author 01.09.2006 00:53 Re: Problems with solving Posted by AlexF 18 Sep 2006 21:24 Strange! I solved it using cin.get(c) in C++ without any problems! |
|
|