Ejemplo n.º 1
0
 public void run() {
   Locale.setDefault(Locale.US);
   try {
     sc = new FastScanner("access.in");
     out = new PrintWriter("access.out");
     solve();
     sc.close();
     out.close();
   } catch (Throwable e) {
     e.printStackTrace();
     System.exit(1);
   }
 }
Ejemplo n.º 2
0
 double nextDouble() {
   return sc.nextDouble();
 }
Ejemplo n.º 3
0
 long nextLong() {
   return sc.nextLong();
 }
Ejemplo n.º 4
0
 String nextToken() {
   return sc.nextToken();
 }
Ejemplo n.º 5
0
 int nextInt() {
   return sc.nextInt();
 }
Ejemplo n.º 6
0
 BigInteger nextBigInteger() {
   return sc.nextBigInteger();
 }