Search found 2 matches
- Wed Jun 25, 2014 1:42 am
- Forum: Volume 106 (10600-10699)
- Topic: 10696 - f91
- Replies: 21
- Views: 14913
Re: 10696 - f91 Java TLE
I've tested using BufferedReader and BufferedWriter (with various buffer sizes) instead of BufferedInputStream and BufferedOutputStream but they don't appear any faster (still 10s runtimes on my machine).
- Tue Jun 24, 2014 4:34 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10696 - f91
- Replies: 21
- Views: 14913
10696 - f91 Java TLE
ATTN: Java IO wizards
I got TLE for this problem but can't think of anything that would make my submission any faster.
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.PrintStream;
import java.util.Scanner;
class Main
{
void begin()
{
Scanner input ...
I got TLE for this problem but can't think of anything that would make my submission any faster.
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.PrintStream;
import java.util.Scanner;
class Main
{
void begin()
{
Scanner input ...