This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
import static java.lang.Math.*; | |
public class Solution { | |
BufferedReader in; | |
StringTokenizer st; | |
PrintWriter out; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sorting 10000000 elements... | |
Sorting byte array = 23 | |
Sorting char array = 33 | |
Sorting short array = 34 | |
Sorting int array = 874 | |
Sorting long array = 941 | |
Sorting double array = 993 | |
Sorting float array = 1005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiled from "Solution.java" | |
public class Solution { | |
java.io.BufferedReader in; | |
java.util.StringTokenizer st; | |
java.io.PrintWriter out; | |
int n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Holder { | |
private int n; | |
public Holder(int n) { this.n = n; } | |
public void assertSanity() { | |
if (n != n) | |
throw new AssertionError("This statement is false."); | |
} } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
import static java.lang.Math.*; | |
public class Solution { | |
BufferedReader in; | |
StringTokenizer st; | |
PrintWriter out; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60x21=1260 | |
93x15=1395 | |
41x35=1435 | |
51x30=1530 | |
87x21=1827 | |
81x27=2187 | |
86x80=6880 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5010x2001=10025010 | |
4001x2510=10042510 | |
5001x2010=10052010 | |
5016x2004=10052064 | |
8001x1260=10081260 | |
5021x2012=10102252 | |
4032x2511=10124352 | |
4707x2151=10124757 | |
7107x1425=10127475 | |
8201x1235=10128235 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Test { | |
static class Timer { | |
long time; | |
long current; | |
public void reset() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Test { | |
static class Timer { | |
long time; | |
long current; | |
public void reset() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
import javax.management.RuntimeErrorException; | |
import static java.lang.Math.*; | |
public class Solution { | |
BufferedReader in; |