|
|
вернуться в форумIf you have TLE 6 on Java Use this Scanner in = new Scanner(new BufferedInputStream(System.in)); It's enought =) Re: If you have TLE 6 on Java And what is faster? Your method or using StreamTokenizer? Re: If you have TLE 6 on Java Don't use Scanner - it's very slow. Instead of it you can use: BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); , which throws IOException, but you can handle it. |
|
|