fork download
  1. class Main{
  2. public static void main(String[] args) throws java.lang.Exception {
  3. int[][] arys = new int[][]{ new int[]{10,20}, new int[]{100,200} };
  4. long[] c = new long[]{ (0L<<32)|1, (1L<<32)|0 };
  5. for(long l : c){
  6. System.out.println("["+((int)(l>>>32))+"]["+((int)(0xFFFFFFFF&l))+"]="+arys[(int)(l>>32)][(int)(0xFFFFFFFF&l)]);
  7. }
  8. }
  9. }
Success #stdin #stdout 0.08s 212416KB
stdin
Standard input is empty
stdout
[0][1]=20
[1][0]=100