Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
??
public class Main {
??
????????/**
??????????* @param args
??????????* @throws IOException
??????????* @throws NumberFormatException
??????????*/
????????public static void main(String[] args) throws NumberFormatException,
????????????????????????IOException {
??
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
????????????????????????????????System.in));
??
????????????????int len = Integer.parseInt(reader.readLine());
??????????????????
????????????????int[] arr = new int[len];
??
????????????????String line;
??????????????????
????????????????for (int i = 0; i < len; i++) {
????????????????????????line = reader.readLine();
????????????????????????arr[i] = Integer.parseInt(line);
????????????????}
??????????????????
??????????????int resultCount = 0; 
??????????????for (int j = 0; j < arr.length; j++) {
??????????????????????if(isPrime(arr[j])){
??????????????????????????????resultCount ++;
??????????????????????}
??????????????}
????????????????
??????????????System.out.println(resultCount);
??
????????}
??
????????private static boolean isPrime(int value) {
????????????????
????????????????for (int i = 2; i < value; i++) {
????????????????????????if(value % i == 0){
????????????????????????????????count ++;
                return false;
????????????????????????}
????????????????}
????????????????return true;
????????}
??????????
??????????
??
}

Compiler output:
Main.java:4: error: class, interface, enum, or record expected
??
^
Main.java:6: error: illegal start of type
??
^
Main.java:12: error: <identifier> expected
????????public static void main(String[] args) throws NumberFormatException,
                                                                            ^
Main.java:14: error: illegal start of expression
??
^
Main.java:14: error: illegal start of expression
??
 ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
 ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
  ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
   ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
    ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
     ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
      ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
       ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
        ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
         ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
          ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
           ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
            ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
             ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
              ^
Main.java:15: error: illegal start of expression
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
               ^
Main.java:15: error: : expected
????????????????BufferedReader reader = new BufferedReader(new InputStreamReader(
                              ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
 ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
  ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
   ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
    ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
     ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
      ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
       ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
        ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
         ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
          ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
           ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
            ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
             ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
              ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
               ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                 ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                  ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                   ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                    ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                     ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                      ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                       ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                        ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                         ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                          ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                           ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                            ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                             ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                              ^
Main.java:16: error: illegal start of expression
????????????????????????????????System.in));
                               ^
Main.java:16: error: : expected
????????????????????????????????System.in));
                                         ^
55 errors
printing javac parameters to: /w/javac.20260128_033009.args