fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Ideone
  6. {
  7. public static void main (String[] args) throws java.lang.Exception
  8. {
  9. Integer a1 = 1, a1024 = 1024, b1 = 1, b1024 = 1024;
  10.  
  11. if (a1 != b1 || a1024 == b1024) {
  12. System.out.println("Can't detect :(");
  13. } else if (a1024 == 1024 && b1024 == 1024) {
  14. System.out.println("Unboxing");
  15. } else if (a1 == 1 && b1 == 1) {
  16. System.out.println("Boxing");
  17. } else {
  18. System.out.println("Boxing without cache o_O");
  19. }
  20. }
  21. }
Success #stdin #stdout 0.07s 2841600KB
stdin
Standard input is empty
stdout
Unboxing