criyle/codenet-compile-errors huggingface dataset:
Language: C++

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		int r=sc.nextInt();
		int g=sc.nextInt();
		int b=sc.nextInt();
		if((2*g+b)%4==0) {
			System.out.println("YES");
		}
		else {
			System.out.println("NO");
		}
	}
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

main :: IO ()
main = do
    [r, g, b] <- map (read :: String -> Int) . words <$> getLine
    putStr $ (solver g b) ++ "\n"

solver g b =
    if (g * 10 + b) `mod` 4 == 0
        then "YES"
        else "NO"


Compiler output:
a.cc:7:21: error: stray '`' in program
    7 |     if (g * 10 + b) `mod` 4 == 0
      |                     ^
a.cc:7:25: error: stray '`' in program
    7 |     if (g * 10 + b) `mod` 4 == 0
      |                         ^
a.cc:1:1: error: 'main' does not name a type
    1 | main :: IO ()
      | ^~~~
Language: C++

#include<bits/stdc+.h>
using namespace std;
int main(){
int r,g,b;
cin>>r>>g>>b;
cout<<((r*100+g*10+b)%4==0?"YES":"NO")<<endl;
return 0;
}

Compiler output:
a.cc:1:9: fatal error: bits/stdc+.h: No such file or directory
    1 | #include<bits/stdc+.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int r, g, b, a = 0;
cin >> r >> g >> b;
if( g % 2 = 1){
 if( b == 2 ){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 6 ){
 cout << "YES" << endl;
 a = 1;
 }
 }
 else if( g % 2 = 0){
 if(b == 0){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 4){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 8){
 cout << "YES" << endl;
 a = 1;
 }
 }
if( a = 0){
cout << "NO" << endl;
}
return 0;
}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: lvalue required as left operand of assignment
    6 | if( g % 2 = 1){
      |     ~~^~~
a.cc:15:13: error: lvalue required as left operand of assignment
   15 |  else if( g % 2 = 0){
      |           ~~^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int r, g, b, a = 0;
cin >> r >> g >> b;
if( g % 2 = 1){
 if( b == 2 ){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 6 ){
 cout << "YES" << endl;
 a = 1;
 }
 }
else if
 if( b == 0 ){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 4){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 8){
 cout << "YES" << endl;
 a = 1;
 }
 }
if( a = 0){
cout << "NO" << endl;
}
return 0;
}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: lvalue required as left operand of assignment
    6 | if( g % 2 = 1){
      |     ~~^~~
a.cc:16:2: error: expected '(' before 'if'
   16 |  if( b == 0 ){
      |  ^~
      |  (
a.cc:19:3: error: 'else' without a previous 'if'
   19 |  }else if( b == 4){
      |   ^~~~
a.cc: At global scope:
a.cc:27:1: error: expected unqualified-id before 'if'
   27 | if( a = 0){
      | ^~
a.cc:30:1: error: expected unqualified-id before 'return'
   30 | return 0;
      | ^~~~~~
a.cc:31:1: error: expected declaration before '}' token
   31 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int r, g, b, a = 0;
cin >> r >> g >> b;
if( g/2 %= 1){
 if( b == 2 ){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 6 ){
 cout << "YES" << endl;
 a = 1;
 }
 }
else if
 if( b == 0 ){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 4){
 cout << "YES" << endl;
 a = 1;
 }else if( b == 8){
 cout << "YES" << endl;
 a = 1;
 }
 }
if( a = 0){
cout << "NO" << endl;
}
return 0;
}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: lvalue required as left operand of assignment
    6 | if( g/2 %= 1){
      |     ~^~
a.cc:16:2: error: expected '(' before 'if'
   16 |  if( b == 0 ){
      |  ^~
      |  (
a.cc:19:3: error: 'else' without a previous 'if'
   19 |  }else if( b == 4){
      |   ^~~~
a.cc: At global scope:
a.cc:27:1: error: expected unqualified-id before 'if'
   27 | if( a = 0){
      | ^~
a.cc:30:1: error: expected unqualified-id before 'return'
   30 | return 0;
      | ^~~~~~
a.cc:31:1: error: expected declaration before '}' token
   31 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int r, g, b, a = 0;
cin >> r >> g >> b;
if( g/2 %= 1){
 if( b == 2 ){
 cout << "YES" << endl;
 a = 1
 }else if( b == 6 ){
 cout << "YES" << endl;
 a = 1
 }
 }
else if
 if( b == 0 ){
 cout << "YES" << endl;
 a = 1
 }else if( b == 4){
 cout << "YES" << endl;
 a = 1
 }else if( b == 8){
 cout << "YES" << endl;
 a = 1
 }
 }
if( a = 0){
cout << "NO" << endl;
}
return 0;
}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: lvalue required as left operand of assignment
    6 | if( g/2 %= 1){
      |     ~^~
a.cc:9:7: error: expected ';' before '}' token
    9 |  a = 1
      |       ^
      |       ;
   10 |  }else if( b == 6 ){
      |  ~     
a.cc:12:7: error: expected ';' before '}' token
   12 |  a = 1
      |       ^
      |       ;
   13 |  }
      |  ~     
a.cc:16:2: error: expected '(' before 'if'
   16 |  if( b == 0 ){
      |  ^~
      |  (
a.cc:19:3: error: 'else' without a previous 'if'
   19 |  }else if( b == 4){
      |   ^~~~
a.cc:21:7: error: expected ';' before '}' token
   21 |  a = 1
      |       ^
      |       ;
   22 |  }else if( b == 8){
      |  ~     
a.cc:24:7: error: expected ';' before '}' token
   24 |  a = 1
      |       ^
      |       ;
   25 |  }
      |  ~     
a.cc: At global scope:
a.cc:27:1: error: expected unqualified-id before 'if'
   27 | if( a = 0){
      | ^~
a.cc:30:1: error: expected unqualified-id before 'return'
   30 | return 0;
      | ^~~~~~
a.cc:31:1: error: expected declaration before '}' token
   31 | }
      | ^
Language: C

#include <stdio.h>
int main(void)
{
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  a=(b*10+c)%4;
  printf("%s\n", a?"NO","YES");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:30: error: expected ':' before ')' token
    7 |   printf("%s\n", a?"NO","YES");
      |                              ^
      |                              :
Language: Java

import java.util.*;

public class main
{
	public static void main(String args[])
	{
		Scanner reader = new Scanner(System.in);
		int a=reader.nextInt();
		int b=reader.nextInt();
		int c=reader.nextInt();
		if((100*a+10*b+c)%4==0)
		{
			System.out.println("YES");
		}
		else
		{
			System.out.println("NO");
		}
	}
}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main
       ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(void) {
    int a, b, c; cin >> a >> b >> c;
    if ((a*100 + b*10 + c) % 4 == 0) cout << "Yes" << endl;
    else cout << "No << endl;
    return 0;
}

Compiler output:
a.cc:7:18: warning: missing terminating " character
    7 |     else cout << "No << endl;
      |                  ^
a.cc:7:18: error: missing terminating " character
    7 |     else cout << "No << endl;
      |                  ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:5: error: expected primary-expression before 'return'
    8 |     return 0;
      |     ^~~~~~
Language: Java

import java.util.*;
import java.io.*;
public class RGB {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		
		Scanner in = new Scanner(new File("RGB"));
		
		
		int[]arr = new int[3];
		String empty = "";
		for(int i = 0; i < arr.length; i++)
		{
			arr[i] = in.nextInt();
			empty += arr[i];
		}
			
		int num = Integer.parseInt(empty);
			
		if(num % 4 == 0) {
				System.out.println("YES");
				//System.out.println(num + " is a multiple of 4, and thus YES should be printed.");
			}
		else {
				System.out.println("NO");
				//System.out.println(num + " is not a multiple of 4, and thus NO should be printed.");
			}
				
		}
		
		
		

	}




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

import java.util.*;
import java.io.*;
public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		
		Scanner in = new Scanner(System.in));
		
		int[]arr = new int[3];
		String empty = "";
		for(int i = 0; i < arr.length; i++)
		{
			arr[i] = in.nextInt();
			empty += arr[i];
		}
		
		int num = Integer.parseInt(empty);
		
		if(num % 4 == 0) {
			System.out.println("YES");
			System.out.println(num + " is a multiple of 4, and thus YES should be printed.");
		}
		else {
			System.out.println(num + " is not a multiple of 4, and thus NO should be printed.");
		}
			
		
		

	}

}

Compiler output:
Main.java:8: error: ';' expected
		Scanner in = new Scanner(System.in));
		                                   ^
1 error
Language: Java

import java.util.Scanner;

public class Prob1 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int r = sc.nextInt();
        int g = sc.nextInt();
        int b = sc.nextInt();

        String rs = String.valueOf(r);
        String gs = String.valueOf(g);
        String bs = String.valueOf(b);

        String num = rs + gs + bs;
        int number = Integer.parseInt(num);

        if (number % 4 == 0)
            System.out.println("YES");
        else
            System.out.println("NO");

    }


}

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

public class Prob1 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int r = sc.nextInt();
        int g = sc.nextInt();
        int b = sc.nextInt();

        String rs = String.valueOf(r);
        String gs = String.valueOf(g);
        String bs = String.valueOf(b);

        String num = rs + gs + bs;
        int number = Integer.parseInt(num);

        if (number % 4 == 0)
            System.out.println("YES");
        else
            System.out.println("NO");

    }


}

Compiler output:
Main.java:1: error: class Prob1 is public, should be declared in a file named Prob1.java
public class Prob1 {
       ^
Main.java:4: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Prob1
Main.java:4: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Prob1
3 errors
Language: Java


import Scanner.util.*;
public class Main{
  
  public static void main(String [] args){
    inp = new Scanner(System.in);
    int r = inp.nextInt();
    int g = inp.nextInt();
    int b = inp.nextInt();
    if(10 * g + b % 4 == 0)
      System.out.println("YES");
    else
      System.out.println("NO");
  }
}

Compiler output:
Main.java:2: error: package Scanner.util does not exist
import Scanner.util.*;
^
Main.java:6: error: cannot find symbol
    inp = new Scanner(System.in);
    ^
  symbol:   variable inp
  location: class Main
Main.java:6: error: cannot find symbol
    inp = new Scanner(System.in);
              ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
    int r = inp.nextInt();
            ^
  symbol:   variable inp
  location: class Main
Main.java:8: error: cannot find symbol
    int g = inp.nextInt();
            ^
  symbol:   variable inp
  location: class Main
Main.java:9: error: cannot find symbol
    int b = inp.nextInt();
            ^
  symbol:   variable inp
  location: class Main
6 errors
Language: Java

public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int r = sc.nextInt();
        int g = sc.nextInt();
        int b = sc.nextInt();

        String rs = String.valueOf(r);
        String gs = String.valueOf(g);
        String bs = String.valueOf(b);

        String num = rs + gs + bs;
        int number = Integer.parseInt(num);

        if (number % 4 == 0)
            System.out.println("YES");
        else
            System.out.println("NO");

    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

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

public class Exp { // "Main" should be used for most online judges
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int r = sc.nextInt();
		int g = sc.nextInt();
		int b = sc.nextInt();
		if ((r * 100 + g * 10 + b) % 4 == 0)
			System.out.println("YES");
		else
			System.out.printf("NO");
	}
}

Compiler output:
Main.java:4: error: class Exp is public, should be declared in a file named Exp.java
public class Exp { // "Main" should be used for most online judges
       ^
1 error
Language: Java

import java.util.Scanner;

public class mult4{
   public static void main(String[] args){
      Scanner reader = new Scanner(System.in);
      int number = 0;
      
      for(int i = 2; i >= 0; i--){
            number += reader.nextInt()*Math.pow(10, i);
      }
      
      double det = number/4.0;
      
      if((det%1.0) > 0){
         System.out.println(" NO");
      } else {
         System.out.println("YES");
      }
   }
}

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


public class Main{
  import Scanner.util.*
  public static void main(String [] args){
    inp = new Scanner(System.in);
    int r = inp.nextInt();
    int g = inp.nextInt();
    int b = inp.nextInt();
    if(10 * g + b % 4 == 0)
      System.out.println("YES");
    else
      System.out.println("NO");
  }
}

Compiler output:
Main.java:3: error: illegal start of type
  import Scanner.util.*
  ^
Main.java:3: error: <identifier> expected
  import Scanner.util.*
                      ^
2 errors
Language: Java

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

public class ICPC_1_P1 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int x = sc.nextInt();
		int y = sc.nextInt();
		int z = sc.nextInt();
		
		int threeDigitValue = 100*x + 10*y + z;
		if (threeDigitValue%4 == 0) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}
	}

}

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

import java.util.Scanner;
public class RGB_Cards
{
    static void main()
    {
        Scanner sc=new Scanner(System.in);
        System.out.print("Enter the integers: ");
        String in=sc.next();
        in+=sc.nextLine();
        int r=in.charAt(0);
        int g=in.charAt(1);
        int b=in.charAt(2);
        int number=(r*100)+(g*10)+b;
        if(number%4==0)
        System.out.println("YES");
        else
        System.out.println("NO");
    }
}

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

public Main() throws IOException {
		Scanner input = new Scanner(System.in);
		
		int r = input.nextInt();
		int g = input.nextInt();
		int b = input.nextInt();
		
		int newNum = r * 100 + g * 10 + b;
		
		if (newNum % 4 == 0)
		{
			System.out.println("YES");
		}
		else
		{
			System.out.println("NO");
		}
	}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
public Main() throws IOException {
       ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
		int r = input.nextInt();
		^
  (use --enable-preview to enable unnamed classes)
Main.java:10: error: class, interface, enum, or record expected
		if (newNum % 4 == 0)
		^
Main.java:13: error: class, interface, enum, or record expected
		}
		^
Main.java:17: error: class, interface, enum, or record expected
		}
		^
5 errors
Language: Java

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

		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();
		
		int number = a* 100 + b * 10 + c;
		if (number % 4 == 0) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}
		// R G B
	} 
	


}



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

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

public class main {


	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int r = in.nextInt();
		int g = in.nextInt();
		int b = in.nextInt();
		System.out.println(Integer.parseInt(r+""+g+""+b)%4==0?"YES":"NO");
	}

}


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

public class Main { // "Main" should be used for most online judges
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int r = sc.nextInt(), g = sc.nextInt(), b = sc.nextInt();
		int result = 0;
		result = r * 100 + g * 10 + b;
		if (result % 4 == 0) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}

	}
}

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

#include<stdio.h>
int main (void){
int r,g,b,a;
scanf("%d",&r);
scanf("%d",&g);
scanf("%d",&b);
a=r*100+g*10+b;
if(a%4==0){
printf("YES\n");}
else{printf("NO\n");
}
rerurn 0;
}


Compiler output:
main.c: In function 'main':
main.c:12:1: error: 'rerurn' undeclared (first use in this function)
   12 | rerurn 0;
      | ^~~~~~
main.c:12:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:7: error: expected ';' before numeric constant
   12 | rerurn 0;
      |       ^~
      |       ;
Language: C

#include <stdio.h>

int main(){
int x,y,z,sum;
scanf("%d %d %d",&x,&y,&z);
sum = x*100+y+10+z;
if(sum%4=0){
printf("Yes");
}
else{
printf("No");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: lvalue required as left operand of assignment
    7 | if(sum%4=0){
      |         ^
Language: C++

#include <iostream>
#include <stdio.h>
#include <string>
#include <math.h>
using namespace std;

int main(){
	int r, g, b;
	cin >> r >> g >> b;

	if((10*g+b)%4 == 0) cout << "YES" << endl;
	else cout << "NO" << endl;:w

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:35: error: expected primary-expression before ':' token
   12 |         else cout << "NO" << endl;:w
      |                                   ^
Language: C++

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
using namespace std;
int main(void){
	int r,g,b,sum;
	cin>>r>>g>>b;
	sum+=r*100+g*10+b;
	if(sum%4==) cout<<"YES"<<endl;
	else cout<<"NO"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: expected primary-expression before ')' token
   10 |         if(sum%4==) cout<<"YES"<<endl;
      |                   ^
Language: C++

#include<bits/stdc++.h>
typedef long long ll;
using namespace std;
main(){
    int A,B,C,n;
    cin >> A >> B >> C;
    n = A*100+B*10+C;
    if(n%4)cout << "NO" << endl;
    else << "YES" << endl;
}

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:9:10: error: expected primary-expression before '<<' token
    9 |     else << "YES" << endl;
      |          ^~
Language: Java

import java.utill.Scanner;

public class main {
  public static void main(String[] args) {
  
　　Scanner scan = new Scanner(System.in);
　　
　　int r = scan.nextInt();
　　int g = scan.nextInt();
　　int b = scan.nextInt();
　　
　　scan.close();
　　
　　if((r * 100 + g * 10 + b)%4 == 0) {
　　  System.out.print("YES");
　　  
　　} else {
　　  System.out.print("NO");
　　}
　　
　　}
　　
　　}

Compiler output:
Main.java:6: error: illegal character: '\u3000'
??Scanner scan = new Scanner(System.in);
^
Main.java:6: error: illegal character: '\u3000'
??Scanner scan = new Scanner(System.in);
 ^
Main.java:7: error: illegal character: '\u3000'
??
^
Main.java:7: error: illegal character: '\u3000'
??
 ^
Main.java:8: error: illegal character: '\u3000'
??int r = scan.nextInt();
^
Main.java:8: error: illegal character: '\u3000'
??int r = scan.nextInt();
 ^
Main.java:9: error: illegal character: '\u3000'
??int g = scan.nextInt();
^
Main.java:9: error: illegal character: '\u3000'
??int g = scan.nextInt();
 ^
Main.java:10: error: illegal character: '\u3000'
??int b = scan.nextInt();
^
Main.java:10: error: illegal character: '\u3000'
??int b = scan.nextInt();
 ^
Main.java:11: error: illegal character: '\u3000'
??
^
Main.java:11: error: illegal character: '\u3000'
??
 ^
Main.java:12: error: illegal character: '\u3000'
??scan.close();
^
Main.java:12: error: illegal character: '\u3000'
??scan.close();
 ^
Main.java:13: error: illegal character: '\u3000'
??
^
Main.java:13: error: illegal character: '\u3000'
??
 ^
Main.java:14: error: illegal character: '\u3000'
??if((r * 100 + g * 10 + b)%4 == 0) {
^
Main.java:14: error: illegal character: '\u3000'
??if((r * 100 + g * 10 + b)%4 == 0) {
 ^
Main.java:15: error: illegal character: '\u3000'
??  System.out.print("YES");
^
Main.java:15: error: illegal character: '\u3000'
??  System.out.print("YES");
 ^
Main.java:16: error: illegal character: '\u3000'
??  
^
Main.java:16: error: illegal character: '\u3000'
??  
 ^
Main.java:17: error: illegal character: '\u3000'
??} else {
^
Main.java:17: error: illegal character: '\u3000'
??} else {
 ^
Main.java:18: error: illegal character: '\u3000'
??  System.out.print("NO");
^
Main.java:18: error: illegal character: '\u3000'
??  System.out.print("NO");
 ^
Main.java:19: error: illegal character: '\u3000'
??}
^
Main.java:19: error: illegal character: '\u3000'
??}
 ^
Main.java:20: error: illegal character: '\u3000'
??
^
Main.java:20: error: illegal character: '\u3000'
??
 ^
Main.java:21: error: illegal character: '\u3000'
??}
^
Main.java:21: error: illegal character: '\u3000'
??}
 ^
Main.java:22: error: illegal character: '\u3000'
??
^
Main.java:22: error: illegal character: '\u3000'
??
 ^
Main.java:23: error: illegal character: '\u3000'
??}
^
Main.java:23: error: illegal character: '\u3000'
??}
 ^
Main.java:23: error: illegal start of type
??}
  ^
37 errors
Language: C++

#include <stdio.h>

int main()
{
   int r,g,b,a;
   scanf("%d", %r);
   scanf("%d", %g);
   scanf("%d", %b);
   a = r*100 + g*10 + b;
   
   if(a%4 == 0){
   printf("YES");
   }else{
   printf("NO");
   }
   
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected primary-expression before '%' token
    6 |    scanf("%d", %r);
      |                ^
a.cc:7:16: error: expected primary-expression before '%' token
    7 |    scanf("%d", %g);
      |                ^
a.cc:8:16: error: expected primary-expression before '%' token
    8 |    scanf("%d", %b);
      |                ^
Language: C++

#include <stdio.h>

int main(void){
int r;
int g;
int b;
int goukei;

scanf("%d%d%d",&r,&g,&b);

goukei = ((100*r)+(10*g)+b)%4;

if(goukei==0){
printf(YES);
}else{
printf("NO");
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:8: error: 'YES' was not declared in this scope
   14 | printf(YES);
      |        ^~~
Language: Java

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

public class BC64a {

    public static void main(String args[]) {
        int r, g, b;
        try {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String buf = br.readLine();
            String color[] = buf.split(" ");
            r = Integer.parseInt(color[0]);
            g = Integer.parseInt(color[1]);
            b = Integer.parseInt(color[2]);

            int num = g * 10 + b;
            if ((num % 4) == 0) {
                System.out.println("YES");
            } else {
                System.out.println("NO");
            }
        } catch(Exception e) {
            System.err.println("Exception: " + e);
        }
    }
}

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

#include <stdio.h>
	int main() {
		int r, g, b, result;
		scanf("%d %d %d", &r, &g, &b);
		if(r<1 || g<1 || b<1 || r>9 | g>9 || b>9){
			printf("error.\n");
			retutn 1;
		}
		result = r*100 + g*10 + b;
		if(result%4 == 0) printf("YES.");
		else printf("NO.");
		return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: 'retutn' was not declared in this scope
    7 |                         retutn 1;
      |                         ^~~~~~
Language: C

#include <stdio.h>
   
int main() {
          int r;
          int g;
          int b;
        char buf[128];
        *fgets(buf, 128, stdin);
          sscanf(buf, "%d", &r);

        *fgets(buf, 128, stdin);
          sscanf(buf, "%d", &g);

        char*fgets(buf, 128, stdin);
          sscanf(buf, "%d", &b);

         int X;
         X = ((100 * r) + (10 * g) + b);
         if(X >= 1000){
         printf("error");
         return 1;
         }
         int Y;
         Y = X % 4;
          if(Y == 0){
         printf("YES");
         printf("\n");
         } else {
         printf("NO");
         printf("\n");
         }
         return 0;
         }

Compiler output:
main.c: In function 'main':
main.c:14:24: error: expected ')' before numeric constant
   14 |         char*fgets(buf, 128, stdin);
      |                        ^~~~
      |                        )
Language: C++

#include <stdlib.h>
	int main() {
		int r, g, b, result, n;
		scanf("%d %d %d", &r, &g, &b);
		result = r*100 + g*10 + b;
		if(result%4 == 0) printf("YES.");
		else printf("NO.");
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:17: error: 'scanf' was not declared in this scope
    4 |                 scanf("%d %d %d", &r, &g, &b);
      |                 ^~~~~
a.cc:6:35: error: 'printf' was not declared in this scope
    6 |                 if(result%4 == 0) printf("YES.");
      |                                   ^~~~~~
a.cc:2:8: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    1 | #include <stdlib.h>
  +++ |+#include <cstdio>
    2 |         int main() {
a.cc:7:22: error: 'printf' was not declared in this scope
    7 |                 else printf("NO.");
      |                      ^~~~~~
a.cc:7:22: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include <stdio.h>
	void main() {
		int r, g, b, result;
		do{
		scanf("%d %d %d", &r, &g, &b);
		}while(r<0 || g<0 || b<0 || r>9 || g>9 ||b>9);
		result = r*100 + g*10 + b;
		if(result%4 == 0) printf("YES.");
		else printf("NO.");
	}

Compiler output:
a.cc:2:9: error: '::main' must return 'int'
    2 |         void main() {
      |         ^~~~
Language: C

#include <stdio.h>

int main(){
  int r,g,b,color;
  scanf("%d %d %d",&r,&g,%b);
  color = 100*r+10*g+b;
  if((color%4)==0){
    printf("YES\n");
  }else{
    printf("NO\n");
  }
}


Compiler output:
main.c: In function 'main':
main.c:5:26: error: expected expression before '%' token
    5 |   scanf("%d %d %d",&r,&g,%b);
      |                          ^
Language: C

#include <stdio.h>
int main(void) {
	int r, g, b;
	int j;

	scanf("%d", &r);
	scanf("%d", &g);
	scanf("%d", &b);

	j = r * 100 + g * 10 + b;

	if (j % 4 == 0) {
		printf("Yes\n");
	}
	else {
		print("No\n");
	}

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:16:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   16 |                 print("No\n");
      |                 ^~~~~
      |                 printf
Language: C

#include <stdio.h>
int main(void) {
	int r, g, b;
	int j;

	scanf("%d,%d,%d", &r, &g, &b);

	j = r * 100 + g * 10 + b;

	if (j % 4 == 0) {
	printf("Yes\n");
	}
	else {
		print("No\n");
	}

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:14:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   14 |                 print("No\n");
      |                 ^~~~~
      |                 printf
Language: C

#include <stdio.h>
int main(void) {
	int a[3];
	int j;

	scanf("%d,%d,%d", &a[0],&a[1],&a[2]);
	
	j = a[0] * 100 + a[1] * 10 + a[2];

	if (j % 4 == 0)
		printf("Yes\n");
	else
		print("No\n");

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:13:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   13 |                 print("No\n");
      |                 ^~~~~
      |                 printf
Language: C

#include <stdio.h>
int main(void) {
	int a[3];
	int j;

			scanf("%d,%d,%d", &a[0],&a[1],&a[2]);
	
	j = a[0] * 100 + a[1] * 10 + a[2];

	if (j % 4 == 0)
		printf("Yes\n");
	else
		print("No\n");

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:13:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   13 |                 print("No\n");
      |                 ^~~~~
      |                 printf
Language: C

#include <stdio.h>
int main(void) {
	int a[3];
	int i,j;

	for (i = 0; i < 3; i++) {
		do {
			scanf("%d", &a[i]);
		} while (a[i] < 0 || 9 < a[i]);
	}
	j = a[0] * 100 + a[1] * 10 + a[2];

	if (j % 4 == 0)
		printf("Yes");
	else
		print("No");

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:16:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   16 |                 print("No");
      |                 ^~~~~
      |                 printf
Language: C++

#include <stdio.h> 
#include <iostream> 
using namespace std; 

int main(){
int r,g,b;
cin>>r>>g>>b;
if((100×r+10×g+b)%4==0){
cout<<"yes"<<endl;
}else{
cout<<"no"<<endl;
}

}

Compiler output:
a.cc:8:5: error: extended character × is not valid in an identifier
    8 | if((100×r+10×g+b)%4==0){
      |     ^
a.cc:8:11: error: extended character × is not valid in an identifier
    8 | if((100×r+10×g+b)%4==0){
      |           ^
a.cc: In function 'int main()':
a.cc:8:5: error: unable to find numeric literal operator 'operator""\U000000d7r'
    8 | if((100×r+10×g+b)%4==0){
      |     ^~~~~
a.cc:8:11: error: unable to find numeric literal operator 'operator""\U000000d7g'
    8 | if((100×r+10×g+b)%4==0){
      |           ^~~~
Language: C++

#include <stdio.h> 
#include <iostream> 
using namespace std; 

int main(){
int r,g,b;
cin>>r>>g>>b;
if((100＊r+10＊g+b)%4==0){
cout<<"yes"<<endl;
}else{
cout<<"no"<<endl;
}

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: unable to find numeric literal operator 'operator""\U0000ff0ar'
    8 | if((100＊r+10＊g+b)%4==0){
      |     ^~~~~~
a.cc:8:12: error: unable to find numeric literal operator 'operator""\U0000ff0ag'
    8 | if((100＊r+10＊g+b)%4==0){
      |            ^~~~~
Language: C++

#include <stdio.h> 
#include <iostream> 
using namespace std; 

int main(){
int r,g,b;
cin>>r>>g>>b;
if((100r+10g+b)%4==0){
cout<<"yes"<<endl;
}else{
cout<<"no"<<endl;
}

}

Compiler output:
a.cc:8:1: warning: large fixed-point constant implicitly truncated to fixed-point type [-Woverflow]
    8 | if((100r+10g+b)%4==0){
      | ^~
a.cc: In function 'int main()':
a.cc:8:5: error: fixed-point types not supported in C++
    8 | if((100r+10g+b)%4==0){
      |     ^~~~
a.cc:8:10: error: unable to find numeric literal operator 'operator""g'
    8 | if((100r+10g+b)%4==0){
      |          ^~~
Language: C++

using System;
using System.Collections.Generic;
namespace ProCon
{
    class Program
    {

        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            int r = int.Parse(input[0]);
            int g = int.Parse(input[1]);
            int b = int.Parse(input[2]);
            if( (r*100+g*10+b)%4 == 0)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }

        }
    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:8:26: error: 'string' has not been declared
    8 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:8:35: error: expected ',' or '...' before 'args'
    8 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:24:6: error: expected ';' after class definition
   24 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ProCon::Program::Main(int*)':
a.cc:10:13: error: 'string' was not declared in this scope
   10 |             string[] input = Console.ReadLine().Split(' ');
      |             ^~~~~~
a.cc:10:20: error: expected primary-expression before ']' token
   10 |             string[] input = Console.ReadLine().Split(' ');
      |                    ^
a.cc:11:21: error: expected primary-expression before 'int'
   11 |             int r = int.Parse(input[0]);
      |                     ^~~
a.cc:12:21: error: expected primary-expression before 'int'
   12 |             int g = int.Parse(input[1]);
      |                     ^~~
a.cc:13:21: error: expected primary-expression before 'int'
   13 |             int b = int.Parse(input[2]);
      |                     ^~~
a.cc:16:17: error: 'Console' was not declared in this scope
   16 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:20:17: error: 'Console' was not declared in this scope
   20 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
Language: C++

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProCon
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            int r = int.Parse(input[0]);
            int g = int.Parse(input[1]);
            int b = int.Parse(input[2]);
            if( (r*100+g*10+b)%4 == 0)
            {
                Console.WriteLine("YES");
            }
            else
            {
                Console.WriteLine("NO");
            }
        }
    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.IO;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Linq;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Text;
      |       ^~~~~~
a.cc:6:7: error: expected nested-name-specifier before 'System'
    6 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:26:6: error: expected ';' after class definition
   26 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ProCon::Program::Main(int*)':
a.cc:13:13: error: 'string' was not declared in this scope
   13 |             string[] input = Console.ReadLine().Split(' ');
      |             ^~~~~~
a.cc:13:20: error: expected primary-expression before ']' token
   13 |             string[] input = Console.ReadLine().Split(' ');
      |                    ^
a.cc:14:21: error: expected primary-expression before 'int'
   14 |             int r = int.Parse(input[0]);
      |                     ^~~
a.cc:15:21: error: expected primary-expression before 'int'
   15 |             int g = int.Parse(input[1]);
      |                     ^~~
a.cc:16:21: error: expected primary-expression before 'int'
   16 |             int b = int.Parse(input[2]);
      |                     ^~~
a.cc:19:17: error: 'Console' was not declared in this scope
   19 |                 Console.WriteLine("YES");
      |                 ^~~~~~~
a.cc:23:17: error: 'Console' was not declared in this scope
   23 |                 Console.WriteLine("NO");
      |                 ^~~~~~~
Language: C++

#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
	int r,g,b,num;
	
	cin >> r,g,b;
	
	num = 100*r + 10*g + b % 4
	if(num % 4 == 0){
		cout << "YES";
	}
	else{
		cout << "NO";
	}
	
	getchar();
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:35: error: expected ';' before 'if'
   12 |         num = 100*r + 10*g + b % 4
      |                                   ^
      |                                   ;
   13 |         if(num % 4 == 0){
      |         ~~                         
a.cc:16:9: error: 'else' without a previous 'if'
   16 |         else{
      |         ^~~~
Language: Java


import java.util.Scanner;

public class Main {

    private static Scanner scan = new Scanner(System.in);

    public static void main(String[] args) {
	int r = Integer.parseInt(scan.next());
	int g = Integer.parseInt(scan.next());
	int b = Integer.parseInt(scan.next());

	int numm = 100*r + 10*g + b;
	String ans = (num%4 == 0 ? "YES" : "NO");
	System.out.println(ans);
	scan.close();
    }
}


Compiler output:
Main.java:14: error: cannot find symbol
	String ans = (num%4 == 0 ? "YES" : "NO");
	              ^
  symbol:   variable num
  location: class Main
1 error
Language: Java


import java.util.Scanner;

public class Main {

    private static Scanner scan = new Scanner(System.in);

    public static void main(String[] args) {
	int r = Integer.parseInt(scan.close());
	int g = Integer.parseInt(scan.close());
	int b = Integer.parseInt(scan.close());

	int numm = 100*r + 10*g + b;
	String ans = num%4 == 0 ? "YES" : "NO";
	System.out.println(ans);
	scan.close();
    }
}


Compiler output:
Main.java:9: error: 'void' type not allowed here
	int r = Integer.parseInt(scan.close());
	                                   ^
Main.java:10: error: 'void' type not allowed here
	int g = Integer.parseInt(scan.close());
	                                   ^
Main.java:11: error: 'void' type not allowed here
	int b = Integer.parseInt(scan.close());
	                                   ^
Main.java:14: error: cannot find symbol
	String ans = num%4 == 0 ? "YES" : "NO";
	             ^
  symbol:   variable num
  location: class Main
4 errors
Language: C++

#include<iostream>
using namespace std;
int main(void){
	int r;
	int g;
	int b;
	
	cin >> r >> g >> b ;
	
	if((r*100 + g*10 + c)% 4 == 0){
		cout << "YES";
	}else{
		cout << "No";
	}
	
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: 'c' was not declared in this scope
   10 |         if((r*100 + g*10 + c)% 4 == 0){
      |                            ^
Language: C++

#include<iostream>
using namespace std;
int main(void){
	int r;
	int g;
	int b;
	
	cin >> r >> g >> b ;
	
	if((r*100 + g+10 + c)% 4 == 0){
		cout << "YES";
	}else{
		cout << "No";
	}
	
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: 'c' was not declared in this scope
   10 |         if((r*100 + g+10 + c)% 4 == 0){
      |                            ^
Language: C++

#include<iostream>
using namespace std;
int main(void){
	int r;
	int g;
	int b;
	
	cin >> r >> g >> b ;
	
	if((r*100 + g+10 + c)% 4 == 0){
		cout << "YES";
	}else{
		cout << "No";
	}
	
return 0;	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: 'c' was not declared in this scope
   10 |         if((r*100 + g+10 + c)% 4 == 0){
      |                            ^
Language: C++

# -*- coding: utf-8 -*-

import sys
import subprocess
import json
import time
import math
import re
import sqlite3

r, g, b = map(int, input().split())
if (g*10 + b) % 4 == 0: print("YES")
else: print("NO")
        


Compiler output:
a.cc:1:3: error: invalid preprocessing directive #-
    1 | # -*- coding: utf-8 -*-
      |   ^
a.cc:3:1: error: 'import' does not name a type
    3 | import sys
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
Language: Java

import java.util.Scanner;

public class main {

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

		int[] a = { 0, 0, 0, 0 };
		int[] b = { 0, 0, 0, 0 };
		int n = 0;

		for (int i = 1; i < 4; i++) {
			do {
				do {
					a[i] = stdIn.nextInt();
				} while (a[i] < 0 && 10 < a[i]);

				for (int j = 1; j <= i; j++) {
					if (b[j] == a[i]) {
						n = 1;
						break;
					}
					else
						n = 0;
				}

				b[i] = a[i];
			} while (n == 1);
		}

		System.out.println();
		n = a[1]*100+a[2]*10+a[3];

		if(n % 4 == 0)
			System.out.println("Yes");
		else
			System.out.println("No");

	}

}


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

include<stdio.h>
int main{
	int r,b,g;
	int sum;
	printf("数字の入力");
	scanf("%d %d %d",&r,&b,&g);
	
	sum = r*100 + b*10 + g;
	
	if(sum%4 == 0){
		printf("YES");
	}else {
		printf("NO");
	}
	
	return 0;
}
	

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: Java

import java.util.Scanner;
public class test {

    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
    
        int b = s.nextInt();
        int c = s.nextInt();
        int d = a * 100 + b * 10 + c;
        Boolean h = (d % 4 == 0);
        if (h == true){ 
        System.out.println("YES");
        } else {
            System.out.println("NO");
        }
    }
}


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

import java.util.Scanner;

public class atooder01 {

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

		int[] a = { 0, 0, 0, 0 };
		int[] b = { 0, 0, 0, 0 };
		int n = 0;

		for (int i = 1; i < 4; i++) {
			do {
				do {
					a[i] = stdIn.nextInt();
				} while (a[i] < 0 && 10 < a[i]);

				for (int j = 1; j <= i; j++) {
					if (b[j] == a[i]) {
						n = 1;
						break;
					}
					else
						n = 0;
				}

				b[i] = a[i];
			} while (n == 1);
		}

		System.out.println();
		n = a[1]*100+a[2]*10+a[3];

		if(n % 4 == 0)
			System.out.println("Yes");
		else
			System.out.println("No");

	}

}


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

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

		int[] a = { 0, 0, 0, 0 };
		int[] b = { 0, 0, 0, 0 };
		int n = 0;

		for (int i = 1; i < 4; i++) {
			do {
				do {
					a[i] = stdIn.nextInt();
				} while (a[i] < 0 && 10 < a[i]);

				for (int j = 1; j <= i; j++) {
					if (b[j] == a[i]) {
						n = 1;
						break;
					}
					else
						n = 0;
				}

				b[i] = a[i];
			} while (n == 1);
		}

		System.out.println();
		n = a[1]*100+a[2]*10+a[3];

		if(n % 4 == 0)
			System.out.println("Yes");
		else
			System.out.println("No");

	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

package main.java.tasks;

import java.util.Scanner;
import java.io.PrintWriter;

public class Gayle1_1 {
    public void solve(int testNumber, Scanner in, PrintWriter out) {
        String checkString = in.next();
        for (int ii=0;ii<checkString.length();ii++) {
            String chkchr = checkString.substring(ii,ii+1);
            if (checkString.indexOf(chkchr.charAt(0))!=ii) {
                out.print("exist");
                return;
            }
        }
        out.print("not exist");
        return;
    }
}


Compiler output:
Main.java:6: error: class Gayle1_1 is public, should be declared in a file named Gayle1_1.java
public class Gayle1_1 {
       ^
1 error
Language: C++

#include<stdio.h>
int main(void)
{
    int a;
	scanf("%d",&a);
	if(a%4=0){
	    printf("YES\n");
	}
	else{
	    printf("NO\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: lvalue required as left operand of assignment
    6 |         if(a%4=0){
      |            ~^~
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class A {
	public static void main(String[] args) throws IOException {
		FastScanner in = new FastScanner(System.in);
		int n= in.nextInt();
		int a= in.nextInt()*10;
		int b= in.nextInt();
		if((a+b)%4==0){
			System.out.println("YES");
			return;
		}
		System.out.println("NO");
	}
	static class FastScanner {
		BufferedReader br;
		StringTokenizer st;

		public FastScanner(InputStream in) {
			br = new BufferedReader(new InputStreamReader(in));
			st = new StringTokenizer("");
		}

		public double nextDouble() throws NumberFormatException, IOException {
			return Double.parseDouble(next());
		}

		public String next() throws IOException {
			if (!st.hasMoreTokens()) {
				st = new StringTokenizer(br.readLine());
				return next();
			}
			return st.nextToken();
		}

		public int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		public long nextLong() throws IOException {
			return Long.parseLong(next());
		}
	}
}


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

#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

int main(void){
    int r,g,b,num;
    cin >> r;
    cin >> g;
    cin >> b;
    num = g*10+b;
    cout << (num%4==0) ? "YES" : "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:39: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |     cout << (num%4==0) ? "YES" : "NO" << endl;
      |                                  ~~~~~^~~~~~~
Language: C

    #include<stdio.h>
    #include<stdlib.h>
    #include<string.h>
    
    int main(void){
		int ai[100],c[9];
		int N,i,sum,max,min;
		scanf("%d",&N);
		for(i = 0;i < 9; i++) c[i] = 0;
		
		for(i = 0;i < N; i++){
			scanf("%d",&ai[i])
			if((ai[i] / 400) < 8){
				c[ai[i] / 400] = 1;
			}else{
				c[ai[9] / 400]++;
			}
		}
		
		for(i = 0;i < 8; i++) sum += c[i];
		
		min = sum;
		max = sum;
		
		if(c[ai[9]] > 0){ 
			min++; 
			max + c[ai[9]];
		} 
		
		if(min > 8) min = 8;
		if(max > 8) max = 8;
    }

Compiler output:
main.c: In function 'main':
main.c:12:43: error: expected ';' before 'if'
   12 |                         scanf("%d",&ai[i])
      |                                           ^
      |                                           ;
   13 |                         if((ai[i] / 400) < 8){
      |                         ~~