fork download
  1. public class Main
  2. {
  3. public static void main(String [] args)
  4. {
  5. long liczba1 = 10 * 50 * 100 * 1000 * 1000;
  6. long liczba2 = 10 * 50 * 100 * 1000;
  7. System.out.println(liczba1/liczba2);
  8.  
  9. long liczba3 = 50000000000L;
  10. long liczba4 = 10 * 50 * 100 * 1000;
  11. System.out.println(liczba3/liczba4);
  12.  
  13. long liczba5 = 10L * 50L * 100L * 1000L * 1000L;
  14. long liczba6 = 10 * 50 * 100 * 1000;
  15. System.out.println(liczba5/liczba6);
  16.  
  17. long liczba7 = 10 * 50 * 100 * 1000 * 1000L;
  18. long liczba8 = 10 * 50 * 100 * 1000;
  19. System.out.println(liczba7/liczba8);
  20. }
  21. }
Success #stdin #stdout 0.07s 380224KB
stdin
Standard input is empty
stdout
-30
1000
1000
1000