|
|
back to boardAn easy tip to get AC The solution is pretty straightforward. There're two primary reasons why you get WA with Java code: 1) you tokenize read strings instead of reading them "as is", they might contain numbers; 2) you forget that the input might be just 0 - program must output nothing then. Re: An easy tip to get AC Thanks buddy :) you saved my day with your tip #2 :) Thanks a lot... |
|
|