Hi every one!
In problem 505A - Mr. Kitayuta's Gift I submit my code but give me WA. On the other hand, my IDE (Intllij IDEA — JDK8) , ideone and custom test section of Codeforces Accept my Code!!! :/
One code,two Output!!!
I really confused!
Plz see these:
who know whats wrong??? :(
I replaced
with
and now it failed on test 7 — http://codeforces.com/contest/505/submission/9569366
Why cannot you use simple readLine from
BufferedReader
?JavaDoc: http://docs.oracle.com/javase/7/docs/api/java/io/BufferedReader.html#readLine() sorry, but link in wysiwyg is not working for this link
PS: @all: I do not understand, why community here is so unfriendly... 15 guys downvoted, but no-one helped, that's really sad :-/ Remember we all needed help at the beginning...
tnx ;)
Because I always use this class[class kaaveh()] for inputting .
tnx a lot! :D
Ok, at least you know now, it's not perfect...