Skip to content

Commit 69adbaa

Browse files
committed
fix NASU41#59
1 parent fc06289 commit 69adbaa

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

‎ContestIO/ContestScanner.java‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import java.io.IOException;
2-
import java.io.UncheckedIOException;
3-
4-
class ContestScanner implements AutoCloseable {
1+
class ContestScanner {
52
private final java.io.InputStream in;
63
private final byte[] buffer = new byte[1024];
74
private int ptr = 0;
@@ -183,12 +180,4 @@ public char[][] nextCharMatrix(int height, int width){
183180
}
184181
return mat;
185182
}
186-
@Override
187-
public void close() {
188-
try {
189-
in.close();
190-
} catch (IOException e) {
191-
throw new UncheckedIOException(e);
192-
}
193-
}
194183
}

0 commit comments

Comments
 (0)