fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. double m[];
  14. double v[];
  15.  
  16. m[0] = 2.0e31;
  17. v[0] = 0.424e105;
  18.  
  19. m[1] = 2.0e32;
  20. v[1] = 1.34e5;
  21.  
  22. m[2] = 4.0e32;
  23. v[2] = 1.9e5;
  24.  
  25. m[3] = 4.0e33;
  26. v[3] = v[2] * v[1] / v[0];
  27.  
  28. System.out.println(v[3]);
  29.  
  30. for(i=0;i<4;i++){
  31. m[i] = null;
  32. v[i] = null;
  33. }
  34. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:34: error: reached end of file while parsing
}
 ^
1 error
stdout
Standard output is empty