-
Notifications
You must be signed in to change notification settings - Fork 0
/
debug.java
50 lines (45 loc) · 1.31 KB
/
debug.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
public class debug {
public static int replace(int[][] inputBoard) {
int[][] board = new int[5][5];
for (int i=0; i<5;i++ ) {
for (int j=0;j<5 ;j++ ) {
board[i][j] = inputBoard[i][j];
}
}
board[1][1] = 2;
return 50;
}
public static void main(String[] args) {
// dp test = new dp();
// // int[][][] states = {{{0,1,1,1,3,4,5}, {0}}, {{0}}};
// // System.out.println(test.mex(states[0][0])); //mex works.
// int d = 5;
// int[][][] gamemoves = test.returnPieces(d);
// System.out.println(gamemoves.length);
// for (int x=0;x<gamemoves.length; x++ ) {
// if(x==31){
// System.out.print("[");
// for (int i=0;i<d ;i++ ) {
// System.out.print("(");
// for (int j=0;j<2 ;j++ ) {
// System.out.print(gamemoves[x][i][j]+", ");
// }
// System.out.print("),");
// }
// System.out.print("], ");
// System.out.println();
// }
// }
// int[][] board = new int[5][5];
// replace(board);
// for (int i=0;i<board.length ;i++ ) {
// for (int j=0;j<board[0].length ;j++ ) {
// System.out.print(board[i][j]);
// }
// System.out.println();
// }
final long startTime = System.currentTimeMillis();
int[][] test = new int[(int) Math.pow(2,18)][(int) Math.pow(2,18)];
System.out.println(System.currentTimeMillis()-startTime);
}
}