fork(3) download
  1. public class Problem {
  2.  
  3. public static String a()
  4. {
  5. double b=0;
  6. for (double i=1;i<Double.POSITIVE_INFINITY;i++)
  7. {
  8. b+=1/i/i;
  9. }
  10. b=Math.sqrt(b*6);
  11. return ""+b;
  12. }
  13. public static int b()
  14. {
  15. return a().indexOf("999999");
  16. }
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.nim(1, 6) Error: undeclared identifier: 'public'
stdout
Standard output is empty