| 
 | 
вернуться в форумFor java solution who get WA 12 The test case contains some unexpected symbols, I don't sure which one, but if you're trying read line by yourself, you're quite likely to get Output limit exceeded.   Just try below code to read from stdin   BufferedReader bis = new BufferedReader(new InputStreamReader(System.in)); String line = bis.readLine();  |  
  | 
|