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

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

Compiler output:
main.c: In function 'main':
main.c:11:19: error: 'YES' undeclared (first use in this function)
   11 |     printf("%s\n",YES);
      |                   ^~~
main.c:11:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:19: error: 'NO' undeclared (first use in this function)
   15 |     printf("%s\n",NO);
      |                   ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:11:19: error: 'YES' undeclared (first use in this function)
   11 |     printf("%s\n",YES);
      |                   ^~~
main.c:11:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:19: error: 'NO' undeclared (first use in this function)
   15 |     printf("%s\n",NO);
      |                   ^~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:11:19: error: 'YES' undeclared (first use in this function)
   11 |     printf("%s\n",YES);
      |                   ^~~
main.c:11:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:19: error: 'NO' undeclared (first use in this function)
   15 |     printf("%s\n",NO);
      |                   ^~
main.c:16:3: error: expected declaration or statement at end of input
   16 |   }
      |   ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:11:19: error: 'YES' undeclared (first use in this function)
   11 |     printf("%s\n",YES);
      |                   ^~~
main.c:11:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:15:19: error: 'NO' undeclared (first use in this function)
   15 |     printf("%s\n",NO);
      |                   ^~
main.c:16:3: error: expected declaration or statement at end of input
   16 |   }
      |   ^
Language: C

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

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

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

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

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

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

#include <stdio.h>

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

Compiler output:
a.cc:6:20: error: extended character 　 is not valid in an identifier
    6 |   if(!((g * 10 + b)　%　4)) printf("YES");
      |                    ^
a.cc:6:23: error: extended character 　 is not valid in an identifier
    6 |   if(!((g * 10 + b)　%　4)) printf("YES");
      |                       ^
a.cc: In function 'int main()':
a.cc:6:20: error: expected ')' before '\U00003000'
    6 |   if(!((g * 10 + b)　%　4)) printf("YES");
      |       ~            ^~
      |                    )
a.cc:6:42: error: expected ')' before ';' token
    6 |   if(!((g * 10 + b)　%　4)) printf("YES");
      |     ~                                    ^
      |                                          )
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define INF 1<<30
#define LINF 1ll<<60ll
#define MOD 1000000007
#define pb(a) push_back(a)
#define vi vector<int>
#define vl vector<long long>
#define vvi vector<vi>
#define P pair<int,int>
#define all(vec) (vec.begin()),(vec.end())
typedef long long ll;
typedef unsigned long long ull;
#define sz(x) ((int)(x).size())
#define in(x) int x;cin>>x
#define bit(n) (1<<(n))

#define REP(i, n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define REPR(i, n) for(int i = n;i >= 0;--i)
#define REP3(i, m, n) for(int i = m, i##_len=(n);i < i##_len;++i)
#define FORVEC(i, v) for(int i = 0;i < sz(v);++i)

template<class T>bool chmax(T &a,const T &b){if(a<b){a=b;return true;}return false;}
template<class T>bool chmin(T &a,const T &b){if(a>b){a=b;return true;}return false;}

#define fil0(i,n) cout<<swet(n)<<setfill('0')<<i<<resetiosflags(ios_base::floatfield)
#define YES(n) cout<<((n)?"YES":"NO")<<endl
#define Yes(n) cout<<((n)?"Yes":"No")<<endl
#define yes(n) cout<<((n)?"yes":"no")<<endl
#define possible(n) cout<<((n)?"possible":"impossible")<<endl
#define Possible(n) cout<<((n)?"Possible":"Impossible")<<endl


int main(){
    int r,g,b;
    cin>>r>>g>>b;
    YES(!(g*10+b)%4));
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:21: error: expected ';' before ')' token
   39 |     YES(!(g*10+b)%4));
      |                     ^
Language: C

#include <iostream>

using namespace std;

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


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>

using namespace std;

int main()
{
  int r = 0;
  int g = 0;
  int b = 0;
  cin >> r >> g >> b;
  if ((100 * r + 10 * g + 1 * b) % 4 == 0) cout << "Yes" << endl;
  else                                     cout << "No" << endl;
  return 0;
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std ;

int r,g,b ;
cin >> r>>g>>b;

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

Compiler output:
a.cc:5:1: error: 'cin' does not name a type
    5 | cin >> r>>g>>b;
      | ^~~
Language: C++

#include<iosream>
using namespace std ;

int r,g,b ;
cin >> r>>g>>b;

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

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

#include <iostream>
using namespace std;
int g,b ;
int main(){
   cin >>g,b;
   if(10 * g + b % 4 ==0 )
      cout << "Yes" << endl;
   {
   else
      cout << "no" << endl;
   {
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:4: error: 'else' without a previous 'if'
    9 |    else
      |    ^~~~
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:8:4: note: to match this '{'
    8 |    {
      |    ^
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main(void){
      | ~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
  int a ,cnt =0;
  for(int i=0;i<3;i++)
    {
      cin >> a;
      while(a % 2 == 0)
	{
	  cnt ++;
	  a /= 2;
  }
      cout << cnt << endl;
      return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include <iostream>#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int r, g, b;
  cin >> r >> g >> b;
  int S = 2 * g + b
  if(S % 4 == 0)
    cout << "YES" << endl;
  if(S % 4 != 0)
    cout << "NO" << endl;
}

Compiler output:
a.cc:1:20: warning: extra tokens at end of #include directive
    1 | #include <iostream>#include <bits/stdc++.h>
      |                    ^
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'if'
    8 |   if(S % 4 == 0)
      |   ^~
Language: C++

#include <iostream>
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;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: lvalue required as left operand of assignment
    7 |   if ((10*g+b)%4=0){
      |       ~~~~~~~~^~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'g' was not declared in this scope
    7 |   cin >> r >> g >> b;
      |               ^
Language: C++

#include <iostream>

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

	int n = ( r * 100 + g * 10 + b );
	
	std::cout << ( n % 4 == 0 ? "YES" : "NO" ) << std::endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> r >> g >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin>>a>>a>>b;
  cout<<((a*10+b)%4?"Yes":"No)";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:32: error: expected ')' before ';' token
    6 |   cout<<((a*10+b)%4?"Yes":"No)";
      |         ~                      ^
      |                                )
Language: C

#include<stdio.h>
int main(){
  int a,b,c;
  scanf_s("%d %d %d",a,b,c);
  
  if((10*b+c)%4==0){
    printf("YES");
  }else{
    printf("NO");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |   scanf_s("%d %d %d",a,b,c);
      |   ^~~~~~~
      |   scanf
Language: C

#include<stdio.h>
int Main(){
  int a,b,c;
  scanf("%d %d %d",a,b,c);
  
  if((10*b+c)%4==0){
    printf("YES");
  }else{
    printf("NO");
  }
  return 0;
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:9: error: 'd' undeclared (first use in this function)
    4 |   scanf(d %d %d,a,b,c);
      |         ^
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:9: error: expected expression before '%' token
    4 |   scanf(%d %d %d,a,b,c);
      |         ^
main.c:6:15: error: expected expression before '%' token
    6 |   if((10*b+c)%%4==0){
      |               ^
main.c:7:12: error: 'YES' undeclared (first use in this function)
    7 |     printf(YES);
      |            ^~~
main.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:12: error: 'NO' undeclared (first use in this function)
    9 |     printf(NO);
      |            ^~
Language: C

#include<stdio.h>
int main(){
  int a,b,c;
  scanf_s(%d %d %d,a,b,c);
  
  if((10b+c)%%4==0){
    printf(YES);
  }else{
    printf(NO);
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |   scanf_s(%d %d %d,a,b,c);
      |   ^~~~~~~
      |   scanf
main.c:4:11: error: expected expression before '%' token
    4 |   scanf_s(%d %d %d,a,b,c);
      |           ^
main.c:6:7: error: invalid suffix "b" on integer constant
    6 |   if((10b+c)%%4==0){
      |       ^~~
main.c:6:14: error: expected expression before '%' token
    6 |   if((10b+c)%%4==0){
      |              ^
main.c:7:12: error: 'YES' undeclared (first use in this function)
    7 |     printf(YES);
      |            ^~~
main.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:12: error: 'NO' undeclared (first use in this function)
    9 |     printf(NO);
      |            ^~
Language: C

#include<stdio.h>
int main(){
  int a,b,c;
  scanf_s(%d %d %d,a,b,c);
  
  if((10b+c)%%4=0){
    printf(YES);
  }else{
    printf(NO);
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |   scanf_s(%d %d %d,a,b,c);
      |   ^~~~~~~
      |   scanf
main.c:4:11: error: expected expression before '%' token
    4 |   scanf_s(%d %d %d,a,b,c);
      |           ^
main.c:6:7: error: invalid suffix "b" on integer constant
    6 |   if((10b+c)%%4=0){
      |       ^~~
main.c:6:14: error: expected expression before '%' token
    6 |   if((10b+c)%%4=0){
      |              ^
main.c:7:12: error: 'YES' undeclared (first use in this function)
    7 |     printf(YES);
      |            ^~~
main.c:7:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:12: error: 'NO' undeclared (first use in this function)
    9 |     printf(NO);
      |            ^~
Language: C++

#include <iostream>
#include <cstdio>
int main (){
  	int a,b,c;
  	cin >> a >>b >>c;
    int t = b*10+c;
  	if(t%4==0){
    	cout << "YES" << endl;
    }
  	else {
    	cout << "NO"  << endl; 
    }
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin >> a >>b >>c;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout << "YES" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout << "YES" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << "NO"  << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         cout << "NO"  << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

int main (){
  	int a,b,c;
  	cin >> a >>b >>c
    int t = b*10+c;
  	if(t%4==0){
    	cout << "YES" << endl;
    }
  	else {
    	cout << "NO"  << endl; 
    }
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin >> a >>b >>c
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:12: error: 't' was not declared in this scope
    7 |         if(t%4==0){
      |            ^
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout << "YES" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout << "YES" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << "NO"  << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         cout << "NO"  << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
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 if
    cout << "NO" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected '(' before 'cout'
   10 |     cout << "NO" << endl;
      |     ^~~~
      |     (
Language: C

#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    if((b*10)+c)%4==0||(b+c)==0){
        printf("YES\n");
    }
    else
        printf("N0\n");

   return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:17: error: expected expression before '%' token
    6 |     if((b*10)+c)%4==0||(b+c)==0){
      |                 ^
main.c:6:32: error: expected statement before ')' token
    6 |     if((b*10)+c)%4==0||(b+c)==0){
      |                                ^
main.c:9:5: error: 'else' without a previous 'if'
    9 |     else
      |     ^~~~
Language: C

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

 return 0;
 }

Compiler output:
main.c: In function 'main':
main.c:9:22: error: invalid operands to binary & (have 'int *' and 'int')
    9 |  scanf("%d %d %d",&r &g &b);
      |                   ~~ ^
      |                   |
      |                   int *
Language: C

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

 return 0;
 }

Compiler output:
main.c: In function 'main':
main.c:13:16: error: stray '\' in program
   13 |     printf("No"\n);
      |                ^
main.c:13:16: error: expected ')' before 'n'
   13 |     printf("No"\n);
      |           ~    ^~
      |                )
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:18: error: lvalue required as left operand of assignment
    5 |     if((10*g+b)%4=0){
      |                  ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b >> c;
      |   ^~~
a.cc:6:20: error: 'cout' was not declared in this scope
    6 |   if(num % 4 == 0) cout << "Yes" << endl;
      |                    ^~~~
a.cc:6:37: error: 'endl' was not declared in this scope
    6 |   if(num % 4 == 0) cout << "Yes" << endl;
      |                                     ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope
    7 |   else cout << "No" << endl;
      |        ^~~~
a.cc:7:24: error: 'endl' was not declared in this scope
    7 |   else cout << "No" << endl;
      |                        ^~~~
Language: C++

#include<iostream>
using namespace std;
 int main{
 	int a,b,c,d;
   cin >>a >> b >>c;
   int d = a*100+b*10+c;
   
   if ( c % 4 ) cout << "YES" <<endl;
   else cout << "NO" << endl;
 
 
 
 }

Compiler output:
a.cc:3:6: error: cannot declare '::main' to be a global variable
    3 |  int main{
      |      ^~~~
a.cc:4:9: error: expected primary-expression before 'int'
    4 |         int a,b,c,d;
      |         ^~~
a.cc:4:9: error: expected '}' before 'int'
a.cc:3:10: note: to match this '{'
    3 |  int main{
      |          ^
a.cc:5:4: error: 'cin' does not name a type
    5 |    cin >>a >> b >>c;
      |    ^~~
a.cc:6:12: error: 'a' was not declared in this scope
    6 |    int d = a*100+b*10+c;
      |            ^
a.cc:6:18: error: 'b' was not declared in this scope
    6 |    int d = a*100+b*10+c;
      |                  ^
a.cc:6:23: error: 'c' was not declared in this scope
    6 |    int d = a*100+b*10+c;
      |                       ^
a.cc:8:4: error: expected unqualified-id before 'if'
    8 |    if ( c % 4 ) cout << "YES" <<endl;
      |    ^~
a.cc:9:4: error: expected unqualified-id before 'else'
    9 |    else cout << "NO" << endl;
      |    ^~~~
a.cc:13:2: error: expected declaration before '}' token
   13 |  }
      |  ^
Language: Java

import java.util.Scanner;

public class RGB_Cards {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int data1 = sc.nextInt();
		//System.out.println(data1);
		int data2 = sc.nextInt();
		//System.out.println(data2);
		int data3 = sc.nextInt();
		//System.out.println(data3);

		int data = (data1 * 100) + (data2 * 10) + data3;
		//System.out.println(data);

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


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

#include<iostream>
using namespace std;
int main(){
  int r,g,b,s;
  cin>>r>>g>>b;
  s=10g+b;
  if(s%4==0){
  cout<<"YES"<<endl;
  }
  else{
  cout<<"NO"<<endl;
  }

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: unable to find numeric literal operator 'operator""g'
    6 |   s=10g+b;
      |     ^~~
Language: C++

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: unable to find numeric literal operator 'operator""g'
    6 |   if((10g+b)%4==0){
      |       ^~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int r,g,b;
  cin>>r>>g>>b;
  r=10g+b
  if(r/4==0){
  cout<<"YES"<<endl ;
  }
  else{
  cout<<"NO"<<endl;
  }

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: unable to find numeric literal operator 'operator""g'
    6 |   r=10g+b
      |     ^~~
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else{
      |   ^~~~
Language: C++

#include<cstdio>
int main(){
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
int n=100*a+10*b+c;
if(n%4==0)printf("YES\n");
else printf("NO\n");
returnn 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: 'returnn' was not declared in this scope
    8 | returnn 0;
      | ^~~~~~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected primary-expression before '<' token
   11 |   else cout ,< "NO" << endl;
      |              ^
a.cc:11:21: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |   else cout ,< "NO" << endl;
      |                ~~~~~^~~~~~~
Language: C++

#include <iostream> // import 標準入出力
using namespace std; // as *
int main() {
    int r, g, b, c;
    cin >> r >> g >>  b; // cin: キーボード入力
    int c = r *100 +  g * 10 + b;
    if (c % 4 == 0) cout << "YES" << endl;
    else cout << "NO" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: redeclaration of 'int c'
    6 |     int c = r *100 +  g * 10 + b;
      |         ^
a.cc:4:18: note: 'int c' previously declared here
    4 |     int r, g, b, c;
      |                  ^
Language: C++

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

int main() {
  if((10*g+b)%4==0)cout<<"YES"<<endl;
  else cout<<"NO"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'g' was not declared in this scope
    5 |   if((10*g+b)%4==0)cout<<"YES"<<endl;
      |          ^
a.cc:5:12: error: 'b' was not declared in this scope
    5 |   if((10*g+b)%4==0)cout<<"YES"<<endl;
      |            ^
Language: Java

import java.util.*;
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 (((g * 10) + b) % 4 == 0) {
			System.out.println("YES");
        }
      	else {
          System.out/println("NO");
        }
	}
}

Compiler output:
Main.java:12: error: not a statement
          System.out/println("NO");
                    ^
1 error
Language: C++

#include <iostream>

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

    rx100 = r * 100;
    gx10 = g * 10;
    
    integer = rx100 + gx10 + b;

    if(integer % 4 == 0) {
        cout << "YES" << endl;
    } else {
        cout << "NO" << endl;
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> r >> g >> b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:14:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         cout << "YES" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |         cout << "YES" << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:16:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |         cout << "NO" << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   16 |         cout << "NO" << endl;
      |                         ^~~~
      |                         std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

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

    rx100 = r * 100;
    gx10 = g * 10;
    
    integer = rx100 + gx10 + b;

    if(integer % 4 == 0) {
        cout << 'YES' << endl;
    } else {
        cout << 'NO' << endl;
    }

    return 0;
}

Compiler output:
a.cc:14:17: warning: multi-character character constant [-Wmultichar]
   14 |         cout << 'YES' << endl;
      |                 ^~~~~
a.cc:16:17: warning: multi-character character constant [-Wmultichar]
   16 |         cout << 'NO' << endl;
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> r >> g >> b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'rx100' was not declared in this scope
    8 |     rx100 = r * 100;
      |     ^~~~~
a.cc:9:5: error: 'gx10' was not declared in this scope
    9 |     gx10 = g * 10;
      |     ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         cout << 'YES' << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |         cout << 'YES' << endl;
      |                          ^~~~
      |                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:16:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |         cout << 'NO' << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   16 |         cout << 'NO' << endl;
      |                         ^~~~
      |                         std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
typedef long long ll;
typedef pair<ll,ll> P;
 
const double PI = 3.14159265358979323846;
const double EPS = 1e-12;
const ll INF = 1LL<<29;
const ll mod = 1e9+7;
 
#define rep(i, a, b) for(ll (i) = (a); (i) < (b);++i)
 
ll gcd(ll x, ll y)
{
  if (x % y == 0)
  {
    return y;
  }
  return gcd(y, x % y);
}
 
int main()
{
  char a[3];
  cin >> a[0] >> a[1] >> a[2];
  if (int(a[0]) * 100 + int(a[1]) * 10 + int(a[2])) % 4 == 0){
    cout << "YES" << endl;
  }else{
    cout << "NO" << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:27:53: error: expected primary-expression before '%' token
   27 |   if (int(a[0]) * 100 + int(a[1]) * 10 + int(a[2])) % 4 == 0){
      |                                                     ^
Language: Java

import java.util.Scanner;

public class RGBCards {

	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 (((g * 10 + b) % 4) == 0) {
			System.out.println("YES");
		} else {
			System.out.println("NO");
		}

	}

}

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

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:43: error: expected ';' before 'else'
    8 |     if (num % 4 == 0) cout << "YES" <<endl
      |                                           ^
      |                                           ;
    9 |     else cout << "NO" << endl
      |     ~~~~
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <utility>
#include <iomanip>
#include <functional>
#include <queue>
#include <stack>
#include <cmath>
#define INF 100000000
#define MOD 1000000007
using namespace std;
int main(){
  int r,g,b;
  cin>>r>>g>>b;
if(rgb%4==0){cout<<"YES"<<endl;}
  else{cout<<"NO"<<endl;}
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:16:4: error: 'rgb' was not declared in this scope
   16 | if(rgb%4==0){cout<<"YES"<<endl;}
      |    ^~~
Language: C++

#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <algorithm>
using namespace std;
int a, int b, int c;
int main(){
while(~scanf("%d%d%d", &a, &b, &c)){
if((a * 100+b* 10+c) % 4 == 0) puts("YES");
else puts("NO");
}
}

Compiler output:
a.cc:7:8: error: expected unqualified-id before 'int'
    7 | int a, int b, int c;
      |        ^~~
a.cc: In function 'int main()':
a.cc:9:29: error: 'b' was not declared in this scope
    9 | while(~scanf("%d%d%d", &a, &b, &c)){
      |                             ^
a.cc:9:33: error: 'c' was not declared in this scope
    9 | while(~scanf("%d%d%d", &a, &b, &c)){
      |                                 ^
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <string>
#include <algorithm>
using namespace std;
int a, int b, int c;
int main(){
while(~scanf("%d%d%d", &a, &b, &c){
if((a * 100+b* 10+c) % 4 == 0) puts("YES");
else puts("NO");
}
}

Compiler output:
a.cc:8:8: error: expected unqualified-id before 'int'
    8 | int a, int b, int c;
      |        ^~~
a.cc: In function 'int main()':
a.cc:10:29: error: 'b' was not declared in this scope
   10 | while(~scanf("%d%d%d", &a, &b, &c){
      |                             ^
a.cc:10:33: error: 'c' was not declared in this scope
   10 | while(~scanf("%d%d%d", &a, &b, &c){
      |                                 ^
a.cc:10:35: error: expected ')' before '{' token
   10 | while(~scanf("%d%d%d", &a, &b, &c){
      |      ~                            ^
      |                                   )
Language: C++

#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <algorithm>
using namespace std;
int a, int b, int c;
int main(){
while(~scanf("%d%d%d", &a, &b, &c){
if((a * 100+b* 10+c) % 4 == 0) puts("YES");
else puts("NO");
}
}

Compiler output:
a.cc:7:8: error: expected unqualified-id before 'int'
    7 | int a, int b, int c;
      |        ^~~
a.cc: In function 'int main()':
a.cc:9:29: error: 'b' was not declared in this scope
    9 | while(~scanf("%d%d%d", &a, &b, &c){
      |                             ^
a.cc:9:33: error: 'c' was not declared in this scope
    9 | while(~scanf("%d%d%d", &a, &b, &c){
      |                                 ^
a.cc:9:35: error: expected ')' before '{' token
    9 | while(~scanf("%d%d%d", &a, &b, &c){
      |      ~                            ^
      |                                   )
Language: C++

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

int main() {
  int r, g, b;
  cin >> r >> g >> v;
  if ( (2*g+b)%2 == 0)
  cout << "Yes" << endl;
  else
  cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: 'v' was not declared in this scope
    6 |   cin >> r >> g >> v;
      |                    ^
Language: C++

#include<iostream>
using namespace std;

int main(){
    int r,g,b;
    cin >> r >> g >> b;
    c = r * g * b;
    if(c%4 == 0){
        cout << "Yes\n";
    }else{
        cout << "No\n";
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'c' was not declared in this scope
    7 |     c = r * g * b;
      |     ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: unable to find numeric literal operator 'operator""g'
    7 |         if((10g+b)%4==0) cout << "YES";
      |             ^~~
Language: C

#include <stdio.h>
int abs(int n){
		if(n<0){
		return -1*n;}else
		return n;}
int main(void)
{int N,A,M,B,C,x,i,a,b,c,l,r,g,b,m,tmp;
	scanf("%d%d%d",&r,&g,&b);
if((r*100+g*10+b)%4==0){
	printf("YES");}
	else
	printf("NO");


	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:32: error: redeclaration of 'b' with no linkage
    7 | {int N,A,M,B,C,x,i,a,b,c,l,r,g,b,m,tmp;
      |                                ^
main.c:7:22: note: previous declaration of 'b' with type 'int'
    7 | {int N,A,M,B,C,x,i,a,b,c,l,r,g,b,m,tmp;
      |                      ^
Language: C++

#include <bits/stdc++.h>
#define P pair<int,int>
#define All(v) (v).begin(), (v).end()
#define pb(x) push_back(x)
typedef long long ll;
using namespace std;
const int INF = 1e9 + 7, MOD = 1e9 + 7;
const ll LINF = 1e18;
int main() {
	int n, cnt = 0, tmp = 0, ans;
	bool f[8] = {};
	cin >> n;
	int a[n];
	for (int i = 0; i < n; i++) {
		cin >> a[i];
		if (a[i] < 3200) {
			f[a[i] / 400] = true;
		} else {
			tmp++;
		}
	}
	for (int i = 0; i < 8; i++) {
		if (f[i]) {
			cnt++;
		}
	}
	int ans = cnt + tmp;
	if (cnt == 0) {
		cnt++;
	}
	cout << cnt << " " << ans << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:13: error: redeclaration of 'int ans'
   27 |         int ans = cnt + tmp;
      |             ^~~
a.cc:10:34: note: 'int ans' previously declared here
   10 |         int n, cnt = 0, tmp = 0, ans;
      |                                  ^~~
Language: C++

#include <iostream>
#include <string>
#include <string.h>
#include <map>
#include <set>
#include <vector>
#include <stdio.h>
#include <math.h>
#include <algorithm>
#include <queue>
#include <cmath>
#include <cstdio>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
int d=100*a+10*b+c;
if(d%4==0)
cout<<"YES":
else
cout<<"NO";
system("pause");
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:12: error: expected ';' before ':' token
   19 | cout<<"YES":
      |            ^
      |            ;
Language: C++

#include <iostream>
#include <string>
#include <string.h>
#include <map>
#include <set>
#include <vector>
#include <stdio.h>
#include <math.h>
#include <algorithm>
#include <queue>
#include <cmath>
#include <cstdio>
using namespace std;
int main(){
int a,b,c;
cin>>a>>>b>>c;
int d=100*a+10*b+c;
if(d%4==0)
cout<<"YES":
else
cout<<"NO";
system("pause");
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: expected primary-expression before '>' token
   16 | cin>>a>>>b>>c;
      |         ^
a.cc:19:12: error: expected ';' before ':' token
   19 | cout<<"YES":
      |            ^
      |            ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin >>r>>g>>b;
      |         ^~~
a.cc:5:17: error: 'cout' was not declared in this scope
    5 |                 cout << "YES" << endl;
      |                 ^~~~
a.cc:5:34: error: 'endl' was not declared in this scope
    5 |                 cout << "YES" << endl;
      |                                  ^~~~
a.cc:7:17: error: 'cout' was not declared in this scope
    7 |                 cout << "NO" << endl;
      |                 ^~~~
a.cc:7:33: error: 'endl' was not declared in this scope
    7 |                 cout << "NO" << endl;
      |                                 ^~~~
Language: C

#include<stdio.h>
#include<math.h>
#include<algorithm>
#include<queue>
#include<deque>
#include<string>
#include<string.h>
#include<vector>
#include<set>
#include<map>
#include<bitset>
#include<stdlib.h>
#include<cassert>
#include<time.h>
#include<bitset>
using namespace std;
const long long mod=1000000007;
const long long inf=mod*mod;
const long long d2=(mod+1)/2;
const double EPS=1e-6;
const double PI=acos(-1.0);
int ABS(int a){return max(a,-a);}
long long ABS(long long a){return max(a,-a);}
int main(){
	int a,b,c;
	scanf("%d%d%d",&a,&b,&c);
	if((a*100+b*10+c)%4==0)printf("YES\n");else printf("NO\n");
}


Compiler output:
main.c:3:9: fatal error: algorithm: No such file or directory
    3 | #include<algorithm>
      |         ^~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<algorithm>
#include<cstdlib>
#include<cmath>
#include<vector>
#include<deque>
#include<queue>
#include<stack>
#include<utility>
#include<array>
#include<cassert>
#include<list>
#include<experimental/any>
#include<cstring>
#include<cctype>
#include<ctime>
#include<cstdbool>
#include<cstdint>
#include<cstddef>
#include<set>
#include<unordered_set>
#include<bitset>
 
using namespace std;
using experimental::any;
 
#define SPEEDY cin.tie(0);ios::sync_with_stdio(false);
 
#define REP(i,n) for(int i=0;i<(n);i++)
#define ARREP(i,n,X) for(int i=0;i<(n);i++)cin>>X[i]
#define FOR(i,X,n) for(int i=(X);i<(n);i++)
#define EREP(i,n) for(int i=1;i<=n;i++)
#define BitFOR(N) REP(Bit,1<<(N))
 
//#define MODE 1
#ifdef MODE
#define DEB(X) cout<< #X <<": "<<X<<" ";
#define DEB2(X) cout<<X<<" ";
#define ARDEB(i,X) cout<< #X <<"["<<i<<"]: "<<X[i]<<" ";
#define TFDEB(f) (f)? cout<<"true ":cout<<"false ";
#define FORDEB(n,X) for(int i=0;i<(n);i++)ARDEB(i,X)
#define END cout<<endl;
#else
#define DEB(X) {}
#define DEB2(X) {}
#define ARDEB(i,X) {}
#define TFDEB(f) {}
#define FORDEB(n,X) {}
#define END {}
#endif
 
typedef long long int ll;
typedef unsigned long long ull;
typedef pair<int,int> P;
#define ALL(X) X.begin(),X.end()
struct edge{int to,cost;};
//struct edge{int from,cost,to;};
struct P2{int x,y;};
#define BIT(Bit,n) bitset<n>(Bit)
#define Endl endl
#define YN(f) cout<<((f)?"Yes":"No")<<endl
 
const int MOD7=1000000007;
const int INF=100000000;
const int SET=1000; 
 
int main(){
	int n,a,b;
	cin>>n>>a>>b;
	if((n*100+a*10+c)%4==0){
		cout<<"YES"<<endl;
	}
	else{
		cout<<"NO"<<endl;
	}
	return 0;
}


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

#include <iostream>
#include <string>
using namespace std;
int main(void){
    // Your code here!
    int x,y,a,b,r,g,b;
    cin>>r>>g>>b;
    x=r*100+g*10+b;
    if(x%4==0){
        cout<<"YES"<<endl;
    }
    else{
        cout<<"NO"<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:21: error: redeclaration of 'int b'
    6 |     int x,y,a,b,r,g,b;
      |                     ^
a.cc:6:15: note: 'int b' previously declared here
    6 |     int x,y,a,b,r,g,b;
      |               ^
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
	int a,b,c;
	cin>>a>>b>>c;
	if((100*a+10*b+c)%4=0){
		
		cout<<"YES"<<endl;
	}
	
	else cout<<"NO"<<endl;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: lvalue required as left operand of assignment
    8 |         if((100*a+10*b+c)%4=0){
      |            ~~~~~~~~~~~~~~^~
Language: C++

#include<iostream>
using namespace std;
int main()
{
int a,b,c,x;
cin >> a >> b >> c;
x=100*a+10*b+c;
if(x%4==0)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:12:10: error: expected '}' at end of input
   12 | return 0;
      |          ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include <bits/stdc++.h>
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;
}
return 0;
}

Compiler output:
a.cc:7:11: error: extended character “ is not valid in an identifier
    7 |  cout  << “YES” << endl;
      |           ^
a.cc:7:11: error: extended character ” is not valid in an identifier
a.cc:9:11: error: extended character “ is not valid in an identifier
    9 |  cout  << “NO” << endl;
      |           ^
a.cc:9:11: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:11: error: '\U0000201cYES\U0000201d' was not declared in this scope
    7 |  cout  << “YES” << endl;
      |           ^~~~~
a.cc:9:11: error: '\U0000201cNO\U0000201d' was not declared in this scope
    9 |  cout  << “NO” << endl;
      |           ^~~~
Language: C


int a, b, c;

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

Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'cin' undeclared (first use in this function)
    5 |         cin >> a >> b >> c;
      |         ^~~
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:45: error: 'cout' undeclared (first use in this function)
    6 |         if((a * 100 + b * 10 + c) % 4 == 0) cout << "YES" << endl;
      |                                             ^~~~
main.c:6:62: error: 'endl' undeclared (first use in this function)
    6 |         if((a * 100 + b * 10 + c) % 4 == 0) cout << "YES" << endl;
      |                                                              ^~~~
Language: C

#include <iostream>

using namespace std;
int a,b,c;

int main() {
	cin >> a >> b >> c;
	if((a * 100 + b * 10 + c) % 4 == 0){
		cout << "YES"" << endI;
	}else {
		cout << "NO" << endI;
	}
	return 0;
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: Java

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:
Main.java:2: error: illegal character: '\u00a0'
?
^
Main.java:4: error: illegal character: '\u00a0'
?
^
Main.java:6: error: illegal character: '\u00a0'
?
^
3 errors