criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
 
class Main{
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        if (a > b)
           throw new RuntimeException("error:You must write a<=b");
        }
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
             throw new RuntimeException("error:You must write 1<=a,b,c<=10000");
        }
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
}

Compiler output:
Main.java:17: error: illegal start of type
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
        ^
Main.java:17: error: illegal start of type
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                ^
Main.java:17: error: > expected
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                              ^
Main.java:17: error: illegal start of type
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                               ^
Main.java:17: error: illegal start of type
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                                      ^
Main.java:17: error: > expected
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                                                    ^
Main.java:17: error: illegal start of type
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                                                     ^
Main.java:17: error: illegal start of type
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                                                            ^
Main.java:17: error: > expected
        if (a < 1 || 10000 < a || b < 1 || 10000 < b || c < 1 || 10000 < c) {
                                                                          ^
Main.java:20: error: illegal start of type
        for (int i = a; i <= b; i += 1) {
        ^
Main.java:20: error: <identifier> expected
        for (int i = a; i <= b; i += 1) {
                         ^
Main.java:20: error: <identifier> expected
        for (int i = a; i <= b; i += 1) {
                              ^
Main.java:20: error: <identifier> expected
        for (int i = a; i <= b; i += 1) {
                                 ^
Main.java:25: error: <identifier> expected
        System.out.println(count);
                          ^
Main.java:25: error: <identifier> expected
        System.out.println(count);
                                ^
Main.java:27: error: class, interface, enum, or record expected
}
^
16 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
 
class Main{
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in);
        int a, b, c;
        int count = 0;
        String[] num = in.readLine().split(" ");
        a = Integer.parseInt(num[0]);
        b = Integer.parseInt(num[1]);
        c = Integer.parseInt(num[2]);
        for (int i = a; i <= b; i += 1) {
            if (c % i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in);
                                                                               ^
1 error
Language: Java

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int counter = 0;
		
		for(int i = a; i <= b; i++){
			if(c % i == 0) counter++;
		}
		
		System.out.println(counter);
		
	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

Import java.util.*;

class Main{
    public static void main(String[] args){
        int  x,y,z,c;
        Scanner in = new Scanner(System.in);
        x = in.nextInt();
        y = in.nextInt();
        z = in.nextInt();
        c = 0;
        while( x < y ){
            if( z%x == 0){
                c = c + 1;
            }
            x = x + 1;
        }
    }
}
 

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
Import java.util.*;
^
1 error
Language: Java

public class Main {

	public static void main(String[] args) {
		 Scanner scan = new Scanner(System.in);

//???????????´??° a???b???c ??????????????????a ?????? b ?????§?????´??°?????????
//c ????´???°?????????????????????????±???????????????°????????????????????????????????????

	            int a = Integer.parseInt(scan.next());
	            int b = Integer.parseInt(scan.next());
	            int c = Integer.parseInt(scan.next());


	            int num = a ; //?¨??????¨
	            int count = 0; //count??????????????????

//a-b a???????????????????¶??????????

	            for (int i = a; i <= b ;i++){
	            	if(c % i == 0){
	            		num++;
	            		count++;
	            	}
	            }

	            //???????????????????????°????¨???°
	            System.out.println(count);
	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		 Scanner scan = new Scanner(System.in);
		 ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		 Scanner scan = new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.*;
import java.util.Scanner;

class Main {
   public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       int    a = in.nextInt();
       int    b = in.nextInt();
       int    c = in.nextInt();
       int    i;
       int    x;
      
       for(i=a;i<=b;i++){
       if((c%i)=0)
       x = x++;
       }

        System.out.println(x);

      

}
}

Compiler output:
Main.java:14: error: unexpected type
       if((c%i)=0)
            ^
  required: variable
  found:    value
1 error
Language: Java

import java.io.*;
import java.util.Scanner;

class Main {
   public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       int    a = in.nextInt();
       int    b = in.nextInt();
       int    c = in.nextInt();
       int    i;
       int    x=0;
      
       for(i=a;i<=b;i++){
       if((c%i)=0)
       x = x++;
       }

        System.out.println(x);

      

}
}

Compiler output:
Main.java:14: error: unexpected type
       if((c%i)=0)
            ^
  required: variable
  found:    value
1 error
Language: Java

import java.io.*;
import java.util.Scanner;

class Main {
   public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       int    a = in.nextInt();
       int    b = in.nextInt();
       int    c = in.nextInt();
       int    i;
       int    x=0;
      
       for(i=a;i<=b;i++){
       if((c%i)=0){
       x = x++;
       }
       }

        System.out.println(x);

      

}
}

Compiler output:
Main.java:14: error: unexpected type
       if((c%i)=0){
            ^
  required: variable
  found:    value
1 error
Language: Java

import java.util.Scanner;


class???Main {
	public static void main(String args[]) {
		
		//????????£????????§??´??°?????????????????????
	    Scanner sc = new Scanner(System.in);
	    String s1 = sc.next();
	    int a = Integer.parseInt(s1);
	    String s2 = sc.next();
	    int b = Integer.parseInt(s2);
	    String s3 = sc.next();
	    int c = Integer.parseInt(s3);
	    int sum = 0;
	    
	    //??´??°a???b???c????????¶??????????????????????????????????????????a<=b??§??????????¢????
	    if(1 <= a && a <= 10000){
	    	if(1 <= b && b <= 10000){
	    		if(1 <= c && c <= 10000){
	    			if(a <= b){
	    					
	    			    //c?´???°???a??????b?????§?????????????????????????¨????
	    				for(int i = a; i <= b; i++){
	    					if(c % i == 0){
	    					    sum++;
	    					}
	    				}
	    				
	    				//?´???°?????°?????¨???
	    				System.out.println( sum );
	    			}
	    		}
	    	}
	    }
	}
}

Compiler output:
Main.java:4: error: <identifier> expected
class???Main {
     ^
1 error
Language: Java

import java.util.*;
class Main {
    public static void main(String[]args)throws Exception {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();
        int k = 0;
        for(; a <= b; a++) {
            if((c % a) == 0) k++
        }
        System.out.println(k);
    }
}

Compiler output:
Main.java:10: error: ';' expected
            if((c % a) == 0) k++
                                ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    int c = scan.nextInt();
    int x = 0;
    for( int i = a ; i <= b ; i++ ){
      if( (c % i) == 0 )x++;
    System.out.println("+x+");
    
  }
 }

Compiler output:
Main.java:15: error: reached end of file while parsing
 }
  ^
1 error
Language: Java

import java.util.Scanner;

public class ITP1_3_D {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] str = sc.nextLine().split(" ");
        int start = Integer.parseInt(str[0]);
        int end = Integer.parseInt(str[1]);
        int num = Integer.parseInt(str[2]);

        System.out.println(Function(start,end,num));
        sc.close();
    }


    public static int Function(int start, int end, int num){
        int ans = 0;
        for(;start <= end; ){
            if( num%start == 0 ) ans++;
            start++;
        }
        return ans;
    }

}

Compiler output:
Main.java:3: error: class ITP1_3_D is public, should be declared in a file named ITP1_3_D.java
public class ITP1_3_D {
       ^
1 error
Language: Java

import java.util.Scanner;

public class HowManyDivisors {
    public static void main(String[] args) {
	int result = 0;
	int a, b, c;
	try (Scanner sc = new Scanner(System.in)) {
	    a = sc.nextInt();
	    b = sc.nextInt();
	    c = sc.nextInt();
	    for (int i = a; i <= b; i++) {
	 	if (canMod(i, c)) {
		    result++;
		}
  	    }
	} catch (Exception e) {
	    System.out.println(e.getMessage());
	}
	System.out.println(result);
    }

    private static boolean canMod(int a, int c) {
	return c % a == 0 ? true : false;
    }
}

Compiler output:
Main.java:3: error: class HowManyDivisors is public, should be declared in a file named HowManyDivisors.java
public class HowManyDivisors {
       ^
1 error
Language: Java

import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);
int a=scan.nextint();
int b=scan.nextint();
int c=scan.nextint();
int sum=0;
for(a;a<=b;a++){
if(c%a==0)
sum=sum+1;
}
System.out.println(sum);
}

Compiler output:
Main.java:9: error: not a statement
for(a;a<=b;a++){
    ^
Main.java:14: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan =new Scanner(System.in);
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
int sum=0;
for(a;a<=b;a++){
if(c%a==0)
sum=sum+1;
}
System.out.println(sum);
}

Compiler output:
Main.java:9: error: not a statement
for(a;a<=b;a++){
    ^
Main.java:14: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] a){
    	int a, b, c, cnt=0;
    	Scanner in = new Scanner(System.in);
      while (true){
      	a = in.nextInt();
      	b = in.nextInt();
      	c = in.nextInt();
      	for(i=a; i<=b; i++){
      		if(c/i > 0 && c%i == 0){
      			cnt++;
      		}
      	}
      	System.out.println(cnt);
      }
    }
}

Compiler output:
Main.java:5: error: variable a is already defined in method main(String[])
    	int a, b, c, cnt=0;
    	    ^
Main.java:11: error: cannot find symbol
      	for(i=a; i<=b; i++){
      	    ^
  symbol:   variable i
  location: class Main
Main.java:11: error: cannot find symbol
      	for(i=a; i<=b; i++){
      	         ^
  symbol:   variable i
  location: class Main
Main.java:11: error: cannot find symbol
      	for(i=a; i<=b; i++){
      	               ^
  symbol:   variable i
  location: class Main
Main.java:12: error: cannot find symbol
      		if(c/i > 0 && c%i == 0){
      		     ^
  symbol:   variable i
  location: class Main
Main.java:12: error: cannot find symbol
      		if(c/i > 0 && c%i == 0){
      		                ^
  symbol:   variable i
  location: class Main
6 errors
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String[] a){
  	int a, b, c, cnt=0;
  	Scanner in = new Scanner(System.in);
  	a = in.nextInt();
  	b = in.nextInt();
  	c = in.nextInt();
  	for(int i=a; i<=b; i++){
  		if(c/i > 0 && c%i == 0){
  			cnt++;
  		}
  	}
  	System.out.println(cnt);
	}
}

Compiler output:
Main.java:5: error: variable a is already defined in method main(String[])
  	int a, b, c, cnt=0;
  	    ^
1 error
Language: Java

import java.io.*;

class Main {
    public static void main(String[] args) {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] strs = str.split(" ");
        int a = Integer.parseInt(strs[0]);
        int b = Integer.parseInt(strs[1]);
        int c = Integer.parseInt(strs[2]);
        int count = 0;
        for (int i =a; i <= b; i++) {
            if ((c % i) == 0){
                count++;
            }
        }
        System.out.println(count);
        br.close();
    }
}

Compiler output:
Main.java:6: error: unreported exception IOException; must be caught or declared to be thrown
        String str = br.readLine();
                                ^
Main.java:18: error: unreported exception IOException; must be caught or declared to be thrown
        br.close();
                ^
2 errors
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();

        int count = 0;
        for(int i = x;i <= y; i++) {
            if((z % i) == 0) {
                count++;
            }
        }
        System.out.print(count);
    }
}

Compiler output:
Main.java:11: error: cannot find symbol
        for(int i = x;i <= y; i++) {
                    ^
  symbol:   variable x
  location: class Main
Main.java:11: error: cannot find symbol
        for(int i = x;i <= y; i++) {
                           ^
  symbol:   variable y
  location: class Main
Main.java:12: error: cannot find symbol
            if((z % i) == 0) {
                ^
  symbol:   variable z
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc= new Scanner(System.in);

int i;
int ans=0;

int a = sc.nextInt();
int b = sc.nextint();
int c = sc.nextInt();

for(i=a;i<=b;i++){
if(c%i==0){
ans++;
}

System.out.println(ans);

}
}

Compiler output:
Main.java:21: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import scan.util.Scanner;

public class Main{
    public static class(Stirng argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( 80 % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
}
	

Compiler output:
Main.java:4: error: <identifier> expected
    public static class(Stirng argv[]){
                       ^
Main.java:11: error: illegal start of type
	for( i = b ; i >= a ;i-- )
	^
Main.java:11: error: <identifier> expected
	for( i = b ; i >= a ;i-- )
	      ^
Main.java:11: error: <identifier> expected
	for( i = b ; i >= a ;i-- )
	              ^
Main.java:11: error: <identifier> expected
	for( i = b ; i >= a ;i-- )
	                   ^
Main.java:11: error: <identifier> expected
	for( i = b ; i >= a ;i-- )
	                      ^
Main.java:16: error: <identifier> expected
	System.out.println(count);
	                  ^
Main.java:16: error: <identifier> expected
	System.out.println(count);
	                        ^
8 errors
Language: Java

import scan.util.Scanner;

public class Main{
    public static void main(Stirng argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( 80 % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
}
	

Compiler output:
Main.java:1: error: package scan.util does not exist
import scan.util.Scanner;
                ^
Main.java:4: error: cannot find symbol
    public static void main(Stirng argv[]){
                            ^
  symbol:   class Stirng
  location: class Main
Main.java:5: error: cannot find symbol
	Scanner scan = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
	Scanner scan = new Scanner(System.in);
	                   ^
  symbol:   class Scanner
  location: class Main
4 errors
Language: Java

import scan.util.Scanner;

public class Main{
    public static void main(Stirng argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
}
	

Compiler output:
Main.java:1: error: package scan.util does not exist
import scan.util.Scanner;
                ^
Main.java:4: error: cannot find symbol
    public static void main(Stirng argv[]){
                            ^
  symbol:   class Stirng
  location: class Main
Main.java:5: error: cannot find symbol
	Scanner scan = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
	Scanner scan = new Scanner(System.in);
	                   ^
  symbol:   class Scanner
  location: class Main
4 errors
Language: Java

import java.util.Scanner;

public class Main{
    public static void main(Stirng argv[]){
	Scanner scan = new Scanner(System.in);

	int a = scan.nextInt();
	int b = scan.nextInt();
	int c = scan.nextInt();
	int i,count=0;
	for( i = b ; i >= a ;i-- )
	    {
		if( c % i == 0 )
		    count++;
	    }
	System.out.println(count);
    }
}
	

Compiler output:
Main.java:4: error: cannot find symbol
    public static void main(Stirng argv[]){
                            ^
  symbol:   class Stirng
  location: class Main
1 error
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int count = 0;

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();

        if (a == b && b == c) {
            break;
        }

        for (int i = a; i<b; i++) {
            if (c%i == 0) {
                count++;
            }
        }
        System.out.println(count);
    }
}

Compiler output:
Main.java:14: error: break outside switch or loop
            break;
            ^
1 error
Language: Java

import java.io.*;

class Main{
    public static void main(String[] args) throws IOException{
        
        int x, y, z;
        int count = 0;
        
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str[] = br.readline().split(" ");
        
        x = Integer.parseInt(str[0]);
        y = Integer.parseInt(str[1]);
        z = Integer.parseInt(str[2]);
        
        for(int i=x; i<=y; i++){
            if(z%i == 0){
                count++;
            }
        }
        System.out.println(count);
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        String str[] = br.readline().split(" ");
                         ^
  symbol:   method readline()
  location: variable br of type BufferedReader
1 error
Language: Java

import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
        BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in));
        String str = br.readLine();
        String[] strs = str.split(" ");
        int a = Integer.parseInt(strs[0]);
        int b = Integer.parseInt(strs[1]);
        int c = Integer.parseInt(strs[2]);
        int cnt = 0;
        for(int i = a; i <= b; i++){
            if((c % 1) == 0){
                cnt++;
            }
        }
        System.out.println(cnt);
        br.close();
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in));
        ^
  symbol:   class BUfferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in));
                                ^
  symbol:   class BUfferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BUfferedReader(new InputStreamreader(System.in));
                                                   ^
  symbol:   class InputStreamreader
  location: class Main
3 errors
Language: Java

import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
        BUfferedReader br = new BUfferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] strs = str.split(" ");
        int a = Integer.parseInt(strs[0]);
        int b = Integer.parseInt(strs[1]);
        int c = Integer.parseInt(strs[2]);
        int cnt = 0;
        for(int i = a; i <= b; i++){
            if((c % i) == 0){
                cnt++;
            }
        }
        System.out.println(cnt);
        br.close();
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BUfferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BUfferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BUfferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BUfferedReader
  location: class Main
2 errors
Language: Java

import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
        BUfferedReader br = new BfferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        String[] strs = str.split(" ");
        int a = Integer.parseInt(strs[0]);
        int b = Integer.parseInt(strs[1]);
        int c = Integer.parseInt(strs[2]);
        int cnt = 0;
        for(int i = a; i <= b; i++){
            if((c % i) == 0){
                cnt++;
            }
        }
        System.out.println(cnt);
        br.close();
    }
}

Compiler output:
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BfferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BUfferedReader
  location: class Main
Main.java:4: error: cannot find symbol
        BUfferedReader br = new BfferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BfferedReader
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main2 {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int count = 0;
		for(int i = a ; i<=b ; i++){
				if(c%i==0)count++;
		}
		System.out.println(count);
		
	}

}

Compiler output:
Main.java:3: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2 {
       ^
1 error
Language: Java

import java.util.Scanner;
import java.util.stream.IntStream;

public class ITP1_3_D {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = Integer.parseInt(scanner.next());
        int b = Integer.parseInt(scanner.next());
        int c = Integer.parseInt(scanner.next());

        long answer = IntStream.range(a, b + 1).filter(value -> (c % value == 0)).count();

        System.out.println(answer);
    }
}

Compiler output:
Main.java:4: error: class ITP1_3_D is public, should be declared in a file named ITP1_3_D.java
public class ITP1_3_D {
       ^
1 error
Language: Java

import java.io.*;
public class Divisors {
	public static void main(String[] args){
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try{
		String line = reader.readLine();
        	String[] num = line.split(" ", -1);
        	int a = Integer.parseInt(num[0]);
        	int b = Integer.parseInt(num[1]);
        	int c = Integer.parseInt(num[2]);
        	int n = 0;
        	for (int i = a; i <= b; i++) {
        		if((c % i) == 0) {
        			n = n + 1;
        		} else {
        			//nothing
        		}
        	}
        	System.out.println(n);
        } catch (IOException e) {
          System.out.println(e);
        } catch (NumberFormatException e) {
          System.out.println("error");
        }
    }
}

Compiler output:
Main.java:2: error: class Divisors is public, should be declared in a file named Divisors.java
public class Divisors {
       ^
1 error
Language: Java

import java.io.*;
public class Divisors {
	public static void main(String[] args){
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try{
			String line = reader.readLine();
        	String[] num = line.split(" ", -1);
        	int a = Integer.parseInt(num[0]);
        	int b = Integer.parseInt(num[1]);
        	int c = Integer.parseInt(num[2]);
        	int n = 0;
        	for (int i = a; i <= b; i++) {
        		if((c % i) == 0) {
        			n = n + 1;
        		} else {
        			//nothing
        		}
        	}
        	System.out.println(n);
        } catch (IOException e) {
          System.out.println(e);
        } catch (NumberFormatException e) {
          System.out.println("error");
        }
    }
}

Compiler output:
Main.java:2: error: class Divisors is public, should be declared in a file named Divisors.java
public class Divisors {
       ^
1 error
Language: Java

import java.util.*;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		int c = scan.nextInt();
		int cnt = 0;
		for(int i = a; i <= b; i++){
			if(c % i == 0){
				cnt++;
			}
		}
		System.out.println(cnt);
	}

Compiler output:
Main.java:16: error: reached end of file while parsing
	}
	 ^
1 error
Language: Java

import java.util.Scanner;

public class Divisor{
    public static void main (String[] args){
        Scanner input = new Scanner(System.in);
        int a = input.nextInt();
        int b = input.nextInt();
        int c = input.nextInt();

        int n = 0;
        for(int i=a; i<=b; i++){
            if(c%i == 0){
                n = n+1;
            }
        }
        
        System.out.println(n);
    } 
}

Compiler output:
Main.java:3: error: class Divisor is public, should be declared in a file named Divisor.java
public class Divisor{
       ^
1 error
Language: Java

import java.util.Scanner;
public class Num {
    public static void main (String args[]){
    	Scanner str =new Scanner(System.in);
    	StringBuffer buf =new StringBuffer();
        int[] num={};
        int count =0;
        int sum =0;
    	    int a = str.nextInt();
    	    int b = str.nextInt();
    	    int c = str.nextInt();
    	    for (int i=1;i< c;i++){
    	    	if(c%i==0){
    	    		if(a<=i&&i<=b){
    	    			sum++;
    	    		}
    	    	}
    	    }

    	System.out.print(sum);
    }
}

Compiler output:
Main.java:2: error: class Num is public, should be declared in a file named Num.java
public class Num {
       ^
1 error
Language: Java



import java.io.BufferedReader;
import java.io.InputStreamReader;


public class main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
	String input = buf.readLine();
	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    int b = Integer.parseInt(strAry[1]);
    int c = Integer.parseInt(strAry[2]);
	
    int count = 0; 
    
for (int i = a; i <= b; i++) {
	if(c%i == 0){
count ++;
	}
}

System.out.println(count);

} catch (Exception e) {
	// TODO: handle exception
}
		 }
    }

Compiler output:
Main.java:7: error: class main is public, should be declared in a file named main.java
public class main {
       ^
1 error
Language: Java

public class Main {
	public static void main (String[] args){
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	int a=sc.nextInt();
	int b=sc.nextInt();
	int c=sc.nextInt();
	sc.close();
	int x=0;
	for(int i=a;i<=b;i++){
		if(c%i==0) x++;
	}
	System.out.println(x);
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	               ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
	Scanner sc=new Scanner(new InputStreamReader(System.in));
	                           ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
class Repetitive_Processing {
	public static void main(String[] args){
		Scanner cin = new Scanner(System.in);
		int a, b, c;
		a = cin.nextInt();
		b = cin.nextInt();
		c = cin.nextInt();
		
		int res = serch_divisor_number(a, b, c);
		
		System.out.println(res);
	}
	private static int serch_divisor_number(int a, int b, int c){
		int count = 0;
		for (int i = a; i <= b; i++){
			if (!(c % i)){
				count++;
			}
		}
		return (count);
	}
}

Compiler output:
Main.java:17: error: bad operand type int for unary operator '!'
			if (!(c % i)){
			    ^
1 error
Language: Java

import java.util.Scanner;
class Main {
	public static void main(String[] args){
		Scanner cin = new Scanner(System.in);
		int a, b, c;
		a = cin.nextInt();
		b = cin.nextInt();
		c = cin.nextInt();
		
		int res = serch_divisor_number(a, b, c);
		
		System.out.println(res);
	}
	private static int serch_divisor_number(int a, int b, int c){
		int count = 0;
		for (int i = a; i <= b; i++){
			if (!(c % i)){
				count++;
			}
		}
		return (count);
	}
}

Compiler output:
Main.java:17: error: bad operand type int for unary operator '!'
			if (!(c % i)){
			    ^
1 error
Language: Java

import java.io.*;
public class REN06{

    public static void main(String[] args)throws IOException{

    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    String[] arr = str.split(" ");
    int a = Integer.parseInt(arr[0]);
    int b = Integer.parseInt(arr[1]);
    int c = Integer.parseInt(arr[2]);

    int count = 0;

    for(int i = a; i <= b; i++){
        if(c % i == 0){
        count++;
        }
    }

    System.out.println(count);

    }
  }

Compiler output:
Main.java:2: error: class REN06 is public, should be declared in a file named REN06.java
public class REN06{
       ^
1 error
Language: Java

public class Main {	
	public static void main(String[]args){
		Scanner scan =new Scanner(System.in);
		while(true){
			int a =scan.nextInt();
			int b =scan.nextInt();
			int c =scan.nextInt();
			int i=0; 
			
			while(a>=c){
				if(c%a==0){
					i++;
				}else{
					a++;
				}
			}
			System.out.println(i);				
			}
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner scan =new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner scan =new Scanner(System.in);
		                  ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java


public class Main {	
	public static void main(String[]args){
		Scanner scan =new Scanner(System.in);
			int a =scan.nextInt();
			int b =scan.nextInt();
			int c =scan.nextInt();
			int i=0; 
			
			while(a<=b){
				if(c%a==0){
					i++;
					a++;
			}
			}
			System.out.println(i);				
			}
	}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner scan =new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner scan =new Scanner(System.in);
		                  ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
	public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	a = scan.nextInt();
	b = scan.nextInt();
	c = scan.nextInt();
	int n = 0;
	int kazu = 0;
	for(int i= a;i<=b;i++)
	{
		if (c%i == 0){
			kazu += 1;
		}
	}
	System.out.println(kazu);
}

Compiler output:
Main.java:19: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();
		int n = 0;
		int kazu = 0;
		for(int i= a;i<=b;i++){
			if (c%i == 0){
				kazu += 1;
			}
		}
		System.out.println(kazu);
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		a = scan.nextInt();
		^
  symbol:   variable a
  location: class Main
Main.java:8: error: cannot find symbol
		b = scan.nextInt();
		^
  symbol:   variable b
  location: class Main
Main.java:9: error: cannot find symbol
		c = scan.nextInt();
		^
  symbol:   variable c
  location: class Main
Main.java:12: error: cannot find symbol
		for(int i= a;i<=b;i++){
		           ^
  symbol:   variable a
  location: class Main
Main.java:12: error: cannot find symbol
		for(int i= a;i<=b;i++){
		                ^
  symbol:   variable b
  location: class Main
Main.java:13: error: cannot find symbol
			if (c%i == 0){
			    ^
  symbol:   variable c
  location: class Main
6 errors
Language: Java

import java.io.*;

class Main{
 public static void main(String[] args)throws IOException{
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i++;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++} 

   }
  System.out.println(i); 
 }
}

Compiler output:
Main.java:16: error: ';' expected
     if(c%ans==0){i++} 
                     ^
1 error
Language: Java

import java.io.*;

class Main{
 public static void main(String[] args)throws IOException{
  int a,b,c,i,ans;
  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  
   String str = br.readLine(); 
   String[] strAry = str.split(" ");
   a = Integer.parseInt(strAry[0]);  
   b = Integer.parseInt(strAry[1]);   
   c = Integer.parseInt(strAry[2]); 
   
   i++;
   for(ans=a;ans<=b;ans++){
     if(c%ans==0){i++;} 

   }
  System.out.println(i); 
 }
}

Compiler output:
Main.java:14: error: variable i might not have been initialized
   i++;
   ^
1 error
Language: Java

import java.util.Scanner;

class Main{
     public static void main(String[] args){

        Scanner as = new Scanner(System.in);
       
        int a;
        int b;
        int c;
        int count=0;

       
           
        a = as.nextInt();
        b = as.nextInt();
        c = as.nextInt();


        for(int i=a;i=<b;i++){
                if(c%i==0)
                   count++;
             }

        println(count);
           
           
           

           
   
 }
 
}

Compiler output:
Main.java:20: error: > or ',' expected
        for(int i=a;i=<b;i++){
                        ^
1 error
Language: Java

import java.util.Scanner;

class Main{
     public static void main(String[] args){

        Scanner as = new Scanner(System.in);
       
        int a;
        int b;
        int c;
        int count=0;

       
           
        a = as.nextInt();
        b = as.nextInt();
        c = as.nextInt();


        for(int i=a;i<=b;i++){
                if(c%i==0)
                   count++;
             }

        println(count);
           
           
           

           
   
 }
 
}

Compiler output:
Main.java:25: error: cannot find symbol
        println(count);
        ^
  symbol:   method println(int)
  location: class Main
1 error
Language: Java

import java.io.*;
imort java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in)

    int number = 0;
    int a = scan nextInt();
    int b = scan nextInt();
    int c = scan nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
imort java.util.*;
^
Main.java:6: error: ';' expected
    Scanner scan = new Scanner(System.in)
                                         ^
Main.java:9: error: ';' expected
    int a = scan nextInt();
                ^
Main.java:10: error: ';' expected
    int b = scan nextInt();
                ^
Main.java:11: error: ';' expected
    int c = scan nextInt();
                ^
5 errors
Language: Java

import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in)

    int number = 0;
    int a = scan nextInt();
    int b = scan nextInt();
    int c = scan nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
}

Compiler output:
Main.java:6: error: ';' expected
    Scanner scan = new Scanner(System.in)
                                         ^
Main.java:9: error: ';' expected
    int a = scan nextInt();
                ^
Main.java:10: error: ';' expected
    int b = scan nextInt();
                ^
Main.java:11: error: ';' expected
    int c = scan nextInt();
                ^
4 errors
Language: Java

import java.io.*;
imort java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan nextInt();
    int b = scan nextInt();
    int c = scan nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
imort java.util.*;
^
Main.java:9: error: ';' expected
    int a = scan nextInt();
                ^
Main.java:10: error: ';' expected
    int b = scan nextInt();
                ^
Main.java:11: error: ';' expected
    int c = scan nextInt();
                ^
4 errors
Language: Java

import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan nextInt();
    int b = scan nextInt();
    int c = scan nextInt();

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
}

Compiler output:
Main.java:9: error: ';' expected
    int a = scan nextInt();
                ^
Main.java:10: error: ';' expected
    int b = scan nextInt();
                ^
Main.java:11: error: ';' expected
    int c = scan nextInt();
                ^
3 errors
Language: Java

import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int number = 0;
    int a = scan nextInt()
    int b = scan nextInt()
    int c = scan nextInt()

    for(int i = a;i <= b;i++){
        if(c % i == 0){
        number = number + 1;
        }
    }

    System.out.println(number);
    }
}

Compiler output:
Main.java:9: error: ';' expected
    int a = scan nextInt()
                ^
Main.java:9: error: ';' expected
    int a = scan nextInt()
                          ^
Main.java:10: error: ';' expected
    int b = scan nextInt()
                ^
Main.java:10: error: ';' expected
    int b = scan nextInt()
                          ^
Main.java:11: error: ';' expected
    int c = scan nextInt()
                ^
Main.java:11: error: ';' expected
    int c = scan nextInt()
                          ^
6 errors
Language: Java

import java.io.*;
import java.util.*;

class Main{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);

    int i = 1;

    while(i <= 10000){
        int x = scan.nextInt();

        if(x == 0){
            break;
        }

        System.out.println("case" + i + ":" + x );
        i++
    }
}
}

Compiler output:
Main.java:18: error: ';' expected
        i++
           ^
1 error
Language: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
int c=sc.nextInt();
1<=a<=1000 && 1<=b<=1000 && 1<=c<=1000;
for(int x=a;x<=b;x++){System.out.println(x%c==0);}
}}

Compiler output:
Main.java:8: error: not a statement
1<=a<=1000 && 1<=b<=1000 && 1<=c<=1000;
                         ^
1 error
Language: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
int c=sc.nextInt();
int n=0;
for(int x=a;x<=b;x++){
if(c%x==0)x++;}System.out.println(x);
}}

Compiler output:
Main.java:10: error: cannot find symbol
if(c%x==0)x++;}System.out.println(x);
                                  ^
  symbol:   variable x
  location: class Main
1 error
Language: Java

import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
int c=sc.nextInt();
int n=0;
for(int x=a;x<=b;x++){
 if(c%x==0)x++;}System.out.println(x);
}}

Compiler output:
Main.java:10: error: cannot find symbol
 if(c%x==0)x++;}System.out.println(x);
                                   ^
  symbol:   variable x
  location: class Main
1 error
Language: Java

import java.io.*;

class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String num1 = br.readLine();
        String[] num2 = num1.split(" ");

        int a = Integer.parseInt(num2[0]);
        int b = Integer.parseInt(num2[1]);
        int c = Integer.parseInt(num2[2]);

        for(int i=a; i<=b; i++){
            if(c % i == 0){
                int count++;
            }
        }

        System.out.println(count);
    }
}

Compiler output:
Main.java:16: error: ';' expected
                int count++;
                         ^
1 error
Language: Java

class Main {

	public static void main(String[] args) {

        try {
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            String inputData;
            inputData = reader.readLine();
			String[] strNumber = inputData.split(" ");
			int aa = Integer.parseInt(strNumber[0]);
			int bb = Integer.parseInt(strNumber[1]);
			int cc = Integer.parseInt(strNumber[2]);
			int count = 0;
			for(int i=aa ; i < bb ; i++){
				if(cc % i == 0){
					count++;
				}
			}

            System.out.print(count);

        } catch (IOException e) {
            e.printStackTrace();
        }


	}

}

Compiler output:
Main.java:6: error: cannot find symbol
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:6: error: cannot find symbol
            BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
                                                           ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:22: error: cannot find symbol
        } catch (IOException e) {
                 ^
  symbol:   class IOException
  location: class Main
4 errors
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner scan = new java.util.Scanner(System.in);
        int a = scan.nextInt();
        int b = scan.nextInt();
        int c = scan.nextInt();
        int count = 0;
        for(int i = a; i <= b; i++){
            if(c % i == 0){
                cuont++;
            }
        }
        System.out.println(count);
    }
}

Compiler output:
Main.java:11: error: cannot find symbol
                cuont++;
                ^
  symbol:   variable cuont
  location: class Main
1 error
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(Syetem.in);
    int start = sc.nextInt();
    int end = sc.nextInt();
    int target = sc.nextInt();
    int divisors = 0;

    for (int i = start; i <= end; i++) {
      if (target % i == 0) {
        divisors++;
      }
    }
    System.out.println(divisors);
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(Syetem.in);
                             ^
  symbol:   variable Syetem
  location: class Main
1 error
Language: Java

import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
}
static void diviNum(int a, int b, int c){
int x=0;
for(a,b+1,a++){
if(c%a==0)  x++;
}
System.out.println(x);
}
}

Compiler output:
Main.java:15: error: not a statement
for(a,b+1,a++){
    ^
Main.java:15: error: not a statement
for(a,b+1,a++){
       ^
Main.java:15: error: ';' expected
for(a,b+1,a++){
             ^
3 errors
Language: Java

import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String str=br.readLine();
String[] arr=str.split(" ");
int a=Integer.parseInt(arr[0]);
int b=Integer.parseInt(arr[1]);
int c=Integer.parseInt(arr[2]);
diviNum(a, b, c);
br.close();
}
static void diviNum(int a; int b; int c){
int x=0;
for(a,b+1,a++){
if(c%a==0)  x++;
}
System.out.println(x);
}
}

Compiler output:
Main.java:13: error: ',', ')', or '[' expected
static void diviNum(int a; int b; int c){
                         ^
Main.java:13: error: ';' expected
static void diviNum(int a; int b; int c){
                                       ^
Main.java:15: error: not a statement
for(a,b+1,a++){
    ^
Main.java:15: error: not a statement
for(a,b+1,a++){
       ^
Main.java:15: error: ';' expected
for(a,b+1,a++){
             ^
5 errors