Update IO_Speed.mdx

This commit is contained in:
nchn27 2020-07-04 00:53:23 -04:00 committed by GitHub
parent 72a3f2347a
commit dce5713332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,10 +156,11 @@ Reading input is more complicated when multiple, space-separated values are plac
*Reading input with `BufferedReader` and `.split()`:*
<spoiler title="1209ms">
```java
import java.util.*;
import java.io.*;
//1209ms
public class roboherd_buffered_reader_string_split {
static int P[][] = new int[100000][];
@ -182,10 +183,13 @@ public class roboherd_buffered_reader_string_split {
pw.close();
}
}
```
</spoiler>
*Reading input with `BufferedReader` and `StringTokenizer`*
<spoiler title="986ms">
```java
import java.util.*;
import java.io.*;
import java.awt.Point;
@ -214,6 +218,7 @@ public class roboherd_buffered_reader_string_tokenizer {
pw.close();
}
}
```
</spoiler>
(custom I/O?)