fork download
  1. public class Main
  2. {
  3. public static void main(String []args)
  4. {
  5. // show that all multiples of 65536 yeild 0 when squared
  6. for(int j = Integer.MIN_VALUE; j <= Integer.MAX_VALUE - 65536; j += 65536)
  7. {
  8. if((j*j) != 0)
  9. {
  10. System.out.println(j + "^2 != 0");
  11. }
  12. }
  13. System.out.println("Done!");
  14. }
  15. }
Success #stdin #stdout 0.07s 381184KB
stdin
Standard input is empty
stdout
Done!