From 545be6c9e483f2190ecb17a5949d4c4f43b646c2 Mon Sep 17 00:00:00 2001 From: nchn27 <46332369+nchn27@users.noreply.github.com> Date: Sat, 4 Jul 2020 01:27:29 -0400 Subject: [PATCH] Update IO_Speed.mdx --- content/2_General/IO_Speed.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/2_General/IO_Speed.mdx b/content/2_General/IO_Speed.mdx index bdc25c6..3dab9d7 100644 --- a/content/2_General/IO_Speed.mdx +++ b/content/2_General/IO_Speed.mdx @@ -119,6 +119,7 @@ int main() { The Java `Scanner` is probably the easiest way to read input in Java, though it is also extremely slow. *Reading input with `Scanner`* + ```java @@ -220,7 +221,7 @@ public class roboherd_buffered_reader_string_tokenizer { ``` -Even faster than `BufferedReader` is a custom-written Fast I/O class that uses `InputStream`. Note that this custom class is similar to the custom-written FastIO.h in the C++ section, as both read input by through a byte buffer. +Faster methods of reading input exist too - Even faster than `BufferedReader` is a custom-written Fast I/O class that uses `InputStream`. Note that this custom class is similar to the custom-written `FastIO.h` in the C++ section, as both read input through a byte buffer.