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

#include <bits/stdc++.h>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#define rep(i,s,e) for (int64_t i=s; i<e; i++)
#define pi 3.14159265358979323846264338327950L
using namespace std;

int main() {
  int X, ans=0;
  cin >> X;
  if (X>=2000) {
    ans=1;
  }
  else {
    rep(h,0,20) {
      rep(i,0,20) {
        rep(j,0,20) {
          rep(k,0,20) {
            rep(l,0,20) {
              rep(m,0,20) {
                if (100*h+101*i+102*j+103*k+104*l+105*m==X) {
                  ans=1;
                }
              }
            }
          }
        }
      }
    }
  }
  cout << ans << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:44:23: error: expected '}' at end of input
   44 |   cout << ans << endl;
      |                       ^
a.cc:21:12: note: to match this '{'
   21 | int main() {
      |            ^
Language: C++

x = input()
if len(x) < 3:
    print(0)
    exit()
k = int(x[0:-2])
x = int(x[-2:])

k -= x / 5
if x % 5 == 0 and k >= 0:
    print(1)
elif k > 0:
    print(1)
else:
    print(0)


Compiler output:
a.cc:1:1: error: 'x' does not name a type
    1 | x = input()
      | ^
Language: C++

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

int main(){

  int x;
  cin >> x;
  int num=x%100;
  x/=100;
  if(5*x>=num) cout << 1 << endl;
  else cout << 0 << endl;
  
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaces'
    2 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> x;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:10:16: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |   if(5*x>=num) cout << 1 << 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:10:29: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |   if(5*x>=num) cout << 1 << endl;
      |                             ^~~~
      |                             std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   else cout << 0 << 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:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |   else cout << 0 << 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<stdio.h>
#include<iostream>
#include<vector>
#include<math.h>
#include<queue>
#include<map>
#include<algorithm>
#include<string.h>
#include<functional>
#include<limits.h>
#include<stdlib.h>
#include<string>
#include<unordered_map>
#include <iomanip>
using namespace std;
 
#define intmax INT_MAX
#define lmax LONG_MAX
#define uintmax UINT_MAX
#define ulmax ULONG_MAX
#define llmax LLONG_MAX
#define ll long long
#define rep(i,a,N) for((i)=(a);(i)<(N);(i)++)
#define rrp(i,N,a) for((i)=(N)-1;(i)>=(a);(i)--)
#define llfor ll i,j,k
#define sc(a) cin>>a
#define pr(a) cout<<a<<endl
#define pY puts("YES")
#define pN puts("NO")
#define py puts("Yes")
#define pn puts("No")
#define pnn printf("\n")
#define sort(a) sort(a.begin(),a.end())
#define push(a,b) (a).push_back(b)
#define llvec vector<vector<ll>>
#define charvec vector<vector<char>>
#define sizeoof(a,b) (a,vector<ll>(b))
#define llpvec vector<pair<ll,ll>>
/*繰り上げ除算*/ll cei(ll x,ll y){ll ans=x/y;if(x%y!=0)ans++;return ans;}
/*最大公約数*/ll gcd(ll x,ll y){return y?gcd(y,x%y):x;}
/*最小公倍数*/ll lcm(ll x,ll y){return x/gcd(x,y)*y;}
/*n乗*/ll llpow(ll x,ll n){ll i,ans=1;rep(i,0,n)ans*=x;return ans;}
/*階乗*/ll fact(ll x){ll i,ans=1;rep(i,0,x)ans*=(x-i);return ans;}
/*nCr*/ll ncr(ll n,ll r){return fact(n)/fact(r)/fact(n-r);}
/*nPr*/ll npr(ll n,ll r){return fact(n)/fact(n-r);}
/*primejudge*/bool prime(ll a){if(a<=1)return false;ll i;for(i=2;i*i<=a;i++){if(a%i==0)return false;}return true;}
ll ans=0;llfor;///////////////////////////////////////////////////////////
int main(){
  int X;
  cin>>X;
  N=X/100;
  if(100*N<=X&&X<=105*N) cout<<1;
  else cout<<0;
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:51:3: error: 'N' was not declared in this scope
   51 |   N=X/100;
      |   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int X;
  cin>>X;
  if((X%100)%5==0){
    int Y=(X%100)/5;
  }
  else{
    int Y=(X%100)/5+1;
  }
  if(Y>=X/100){
    cout<<1<<endl;
  }
  else{
    cout<<0<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: 'Y' was not declared in this scope
   13 |   if(Y>=X/100){
      |      ^
Language: Java

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

Compiler output:
Main.java:7: error: cannot find symbol
		 a = n/100;
		 ^
  symbol:   variable a
  location: class Main
Main.java:9: error: cannot find symbol
		if(a<b){
		   ^
  symbol:   variable a
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {

	private static final long x = (long) Math.pow(10, 18);

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = x / 100;

		for (int i = 0; i < y; i++) {
			System.out.println(z);
			if (z / 5 > 0) {
				z -= 5;
			} else if (z / 4 > 0) {
				z -= 4;
			} else if (z / 3 > 0) {
				z -= 3;
			} else if (z / 2 > 0) {
				z -= 2;
			} else {
				z -= 1;
			}
		}

		if (z <= 0) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}

		sc.close();
	}

}


Compiler output:
Main.java:13: error: cannot find symbol
			System.out.println(z);
			                   ^
  symbol:   variable z
  location: class Main
Main.java:14: error: cannot find symbol
			if (z / 5 > 0) {
			    ^
  symbol:   variable z
  location: class Main
Main.java:15: error: cannot find symbol
				z -= 5;
				^
  symbol:   variable z
  location: class Main
Main.java:16: error: cannot find symbol
			} else if (z / 4 > 0) {
			           ^
  symbol:   variable z
  location: class Main
Main.java:17: error: cannot find symbol
				z -= 4;
				^
  symbol:   variable z
  location: class Main
Main.java:18: error: cannot find symbol
			} else if (z / 3 > 0) {
			           ^
  symbol:   variable z
  location: class Main
Main.java:19: error: cannot find symbol
				z -= 3;
				^
  symbol:   variable z
  location: class Main
Main.java:20: error: cannot find symbol
			} else if (z / 2 > 0) {
			           ^
  symbol:   variable z
  location: class Main
Main.java:21: error: cannot find symbol
				z -= 2;
				^
  symbol:   variable z
  location: class Main
Main.java:23: error: cannot find symbol
				z -= 1;
				^
  symbol:   variable z
  location: class Main
Main.java:27: error: cannot find symbol
		if (z <= 0) {
		    ^
  symbol:   variable z
  location: class Main
11 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n;cin>>n;
  vector<int >pos(n+1,0);
  pos[0]=1;
  for(int i=1;i<=n;i++){
  	for(int coin=100;coin<106;coin++){
    		if(i-coin >= 0)pos[i]=pos[i]|pos[i-coin]
    }
  }
  cout<<pos[n];
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:57: error: expected ';' before '}' token
    9 |                 if(i-coin >= 0)pos[i]=pos[i]|pos[i-coin]
      |                                                         ^
      |                                                         ;
   10 |     }
      |     ~
Language: C++

using namespace std;

int main() {
    int X;
    cin>>X;
    for(int i=0; i<=100000; ++i){
        if ((i*100)<=X and (105*i)>=X){
            cout<<1<<endl;
        return 0;}
    }
            cout<<0<<endl;
    return 0;
    }


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin>>X;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:13: error: 'cout' was not declared in this scope
    8 |             cout<<1<<endl;
      |             ^~~~
a.cc:8:13: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:22: error: 'endl' was not declared in this scope
    8 |             cout<<1<<endl;
      |                      ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:11:13: error: 'cout' was not declared in this scope
   11 |             cout<<0<<endl;
      |             ^~~~
a.cc:11:13: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:22: error: 'endl' was not declared in this scope
   11 |             cout<<0<<endl;
      |                      ^~~~
a.cc:11:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int X;
  cin>>X;
  if(X==0)
    cout<<1<<endl;
  else if(0<X&&X<100)
    cout<<0<<endl;
  else if(100<=X && X<=105)
    cout<<1<<endl;
  else{
  vector<bool>j(X+1,false);
    for(int i=100;i<=105;i++)
      j.at(i)=true;
    for(int x=106;x<=X;x++){
      j.at(x)=(j.at(x-100) ||
               j.at(x-101)||
               j.at(x-102)||
               j.at(x-103) ||
               j.at(x-104) ||
               j.at(x-105) ||
                );
    }if(j.at(X))
      cout<<1<<endl;
    else
      cout<<0<<endl;
  
  
  }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:17: error: expected primary-expression before ')' token
   23 |                 );
      |                 ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int X;
  cin>>X;
  if(X<100)
    cout<<0<<endl;
  else if(100<=X && X<=105)
    cout<<1<<endl;
  else{
  vector<bool>j(X+1,false);
    for(int i=100;i<=105;x++)
      j.at(i)=true;
    for(int x=106;x<=X;i++){
      j.at(x)=(j.at(x-100) ||
               j.at(x-101)||
               j.at(x-102)||
               j.at(x-103) ||
               j.at(x-104) ||
               j.at(x-105) ||
               j.at(x-106) );
    }if(j.at(X))
      cout<<1<<endl;
    else
      cout<<0<<endl;
  
  
  }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:26: error: 'x' was not declared in this scope
   12 |     for(int i=100;i<=105;x++)
      |                          ^
a.cc:14:24: error: 'i' was not declared in this scope
   14 |     for(int x=106;x<=X;i++){
      |                        ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int X;
  cin>>X;
  if(X<100)
    cout<<0<<endl;
  else if(100<=X && X<=105)
    cout<<1<<endl;
  else{
  vector<bool>j(X+1,false);
    for(int i=100;i<=105;i++)
      j.at(i)=true;
    for(int x=106;x<=X;i++){
      j.at(x)=(j.at(x-100) ||
               j.at(x-101)||
               j.at(x-102)||
               j.at(x-103) ||
               j.at(x-104) ||
               j.at(x-105) ||
               j.at(x-106) );
    }if(j.at(X))
      cout<<1<<endl;
    else
      cout<<0<<endl;
  
  
  }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:24: error: 'i' was not declared in this scope
   14 |     for(int x=106;x<=X;i++){
      |                        ^
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < n; ++i)
using ll = long long;
using namespace std;
const int INF = 1e9;

ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }

int main() {
    ll x;
    cin >> x;

    vector<bool> dp(x + 1);
    dp[0] = true;

    rep(i, x) {
        if (dp[i]) {
            rep(j, 6) {
                if (i + 100 + j <= x)
                    dp[i + 100 + j] = true;
            }
        } << endl;
    }

    dp[x] ? cout << "1" : cout << "0";
    cout << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:11: error: expected primary-expression before '<<' token
   23 |         } << endl;
      |           ^~
Language: C

#include<stdio.h>
int main(void){
  int x;
  scanf("%d",&x);
  int a=x/100;
  int b=x%100;
  if(b>5*a){
    pritnf("0\n");
  }else{
    pritnf("1\n");
  }
  return 0;
}

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

#include<stdio.h>
int main(void){
  int x;
  scanf("%d",&x);
  int a=x/100;
  int b=x%100;
  if(b>5*a){
    cout<<0<<endl;
  }else{
    cout<<1<<endl;
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:5: error: 'cout' undeclared (first use in this function)
    8 |     cout<<0<<endl;
      |     ^~~~
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:14: error: 'endl' undeclared (first use in this function)
    8 |     cout<<0<<endl;
      |              ^~~~
Language: C++

#include<bits/stdc++.h>
int main(void){
  int x;
  cin>>x;
  int a=x/100;
  int b=x%100;
  if(b>5*a){
    cout<<0<<endl;
  }else{
    cout<<1<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>x;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<0<<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:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout<<0<<endl;
      |              ^~~~
      |              std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout<<1<<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:10:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout<<1<<endl;
      |              ^~~~
      |              std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.next());

		int num = n / 100;
		int mod = n % 100;
		if (num * 5 < mod) {
			System.out.println(0);
		} else {
			System.out.println(1);
		}
	}

}

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

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

int main(){
	int x;
	cin >> x;
	vector<int> d(x+1);
	if (x<100) {cout << '0'; return 0;}
	for(int i = 0; i< 100;i++) d[i]=0;
	d[100] = d[101] = d[102] = d[103] = d[104] = d[105] = 1;
	for (int i = 106; i < x+1; i++){
		d[i] = (d[i-100] || 
				d[i-101] ||
				d[i-102] || 
				d[i-103] || 
				d[i-104] || 
				d[i-105]);
		}
	d[x] ? cout << '1' : cout << '0';  
	
	
 }

	
	
 }


Compiler output:
a.cc:26:2: error: expected declaration before '}' token
   26 |  }
      |  ^
Language: C++

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

int main(){
  int n;
  cin >> n;
  int s=m/100;
  if(n>=s*100&&n<=s*105) cout << 1;
  else cout << 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'm' was not declared in this scope
    7 |   int s=m/100;
      |         ^
Language: C++

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

#define ll long long
#define vecll vector<long long>
#define vecs vector<string>
#define vec2ll vector<vector<long long>>
#define vecbool vector<bool>
#define vecpairll vector<pair<long long,long long>>
#define forll(s,a,b) for(long long s = a;s < b;s++)
#define forllde(s,a) for(long long s = a;s > 0;s--)

int main()
{
  bool ok=true;
  ll x, m, c;
  cin >> x;
  c = x / 100;
  m = x % 100;
  forll(i, 0, 5){
	c -= m / (5-i);
	m = m % (5-i);
	if (c < 0){
	  ok = false;
	  break;
	}
  }
  if (break==true)
	cout << 1 << endl;
  else
	cout << 0 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:7: error: expected primary-expression before 'break'
   29 |   if (break==true)
      |       ^~~~~
a.cc:29:7: error: expected ')' before 'break'
   29 |   if (break==true)
      |      ~^~~~~
      |       )
Language: C++

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

int main(){
  int x;
  cin >> x;
  
  for (int i=0;i<5;++i){
    if (x%10==i){
      x=x-100-i;
    }
  }
  if (x%(100+2*i)==0){
    puts("-1");
  }
    else {
      puts("0");
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:16: error: 'i' was not declared in this scope
   13 |   if (x%(100+2*i)==0){
      |                ^
Language: C++

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

int main(){
  int X,b=0;
  cin >> X;
  for(int i=1;i<=X;++i){
    if(100*i<=X&&X=<105*i){
      b = 1;
    }
  }
  cout << b << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: expected primary-expression before '<' token
    8 |     if(100*i<=X&&X=<105*i){
      |                    ^
Language: C++


int main() {
  ll x,ans;
  cin >> x;
  if(100*(x/100) <= x && x <= 105*(x/100)) ans = 1;
  else ans = 0;
  cout << ans << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'll' was not declared in this scope
    3 |   ll x,ans;
      |   ^~
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> x;
      |   ^~~
a.cc:4:10: error: 'x' was not declared in this scope
    4 |   cin >> x;
      |          ^
a.cc:5:44: error: 'ans' was not declared in this scope
    5 |   if(100*(x/100) <= x && x <= 105*(x/100)) ans = 1;
      |                                            ^~~
a.cc:6:8: error: 'ans' was not declared in this scope
    6 |   else ans = 0;
      |        ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << ans << endl;
      |   ^~~~
a.cc:7:11: error: 'ans' was not declared in this scope
    7 |   cout << ans << endl;
      |           ^~~
a.cc:7:18: error: 'endl' was not declared in this scope
    7 |   cout << ans << endl;
      |                  ^~~~
Language: C++

#include<iostream>
#include<cmath>
#include<numeric>
#include<functional>
#include<string>
#include<algorithm>
#include<vector>
#include<map>
#include<iomanip>
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<n;i++)
#define ll long long
#define modbig (10*10*10*10*10*10*10*10*10+7)
using namespace std;

int main(){
  int x,ans=0;
  cin>>x;
  for(int i=1,i<=10000){
    if(100i<=x && x<=105*i){
      ans=1;
    }
  }
  cout<<ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:16: error: expected ';' before '<=' token
   19 |   for(int i=1,i<=10000){
      |                ^~
      |                ;
a.cc:19:16: error: expected primary-expression before '<=' token
   19 |   for(int i=1,i<=10000){
      |                ^~
a.cc:19:23: error: expected ';' before ')' token
   19 |   for(int i=1,i<=10000){
      |                       ^
      |                       ;
a.cc:20:12: error: invalid operands of types '__complex__ int' and 'int' to binary 'operator<='
   20 |     if(100i<=x && x<=105*i){
Language: Java

using System;

public class Program{

  public static void Main(){

    var X = int.Parse(Console.ReadLine());
    int va = 100;
    int vb = 101;
    int vc = 102;
    int vd = 103;
    int ve = 104;
    int vf = 105;

    // まず100未満の金額が出せる組み合わせを全探索する
    // 見つかった組み合わせに対し、合計金額が超えていないか確認
    // 超えていなければ完了、超えていれば次のループ
    // これでやれば少なくとも99回のループで済む

    int result = 0;
    for (int a = 0; a < 100; a++) {
      var sumA = a * 101;
      if (sumA > X) break;
    for (int b = 0; b < 100; b++) {
      var sumB = a * 101 + b * 102;
      if (sumB > X) break;
    for (int c = 0; c < 100; c++) {
      var sumC = a * 101 + b * 102 + c * 103;
      if (sumC > X) break;
    for (int d = 0; d < 100; d++) {
      var sumD = a * 101 + b * 102 + c * 103 + d * 104;
      if (sumD > X) break;
    for (int e = 0; e < 100; e++) {
      var sumE = a * 101 + b * 102 + c * 103 + c * 104 + e * 105;
      if (sumE > X) break;


      if(sumE % 100 == X % 100){
        result = 1;
        goto End;
      }

    }
    }
    }
    }
    }

End:;
    Console.WriteLine(result);
  }
}


Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
using System;
^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class expected
    var X = int.Parse(Console.ReadLine());
                ^
Main.java:7: error: ';' expected
    var X = int.Parse(Console.ReadLine());
                     ^
Main.java:7: error: ';' expected
    var X = int.Parse(Console.ReadLine());
                                        ^
Main.java:40: error: illegal start of expression
        goto End;
        ^
Main.java:40: error: not a statement
        goto End;
             ^
6 errors
Language: C++

#include <bits/stdc++.h>

 using namespace std;
 typedef long long ll;
 #define rep(i, n) for(int i = 0; i < (int)(n); i++)

 int main() {
   int X, x;
   cin >> X;
   x = X % 100;

   int ans = 0;

   else for (int i = 0; i <= x / 4; i++) {
     for (int j = 0; j <= x / 3; j++) {
       for (int k = 0; k <= x / 2; k++) {
         for (int l = 0; l <= x; l++) {
             int m = 4 * i + 3 * j + 2 * k + l;
             if ((x - m) % 5 == 0 && x - m >= 0 && i + j + k + l + (x - m) / 5 <= X / 100) {
               ans = 1;
               break;
             }
         }
       }
     }
   }

   cout << ans << endl;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:14:4: error: 'else' without a previous 'if'
   14 |    else for (int i = 0; i <= x / 4; i++) {
      |    ^~~~
Language: C++

#include <iostream>
#include <cstdio>
#include <vector>
#include <numeric>

using namespace std;

#define int long long

signed main()
{
    int x;
    vector<int> dp;

    cin >> x;

    dp.resize(x + 1, 0);

    dp[0] = 1;

    for(int i = 0; i <= x; ++i)
    {
        for(int j = 100; j <= 105; ++j)
        {
            if(i - j >= 0 && dp[i - j])
            {
                dp[i] = 1;
            }
        }
    }

    cout << dp[x] << endl;jj
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:27: error: 'jj' was not declared in this scope
   32 |     cout << dp[x] << endl;jj
      |                           ^~
Language: C++

#include <iostream>
#include <string>
#include <map>
#include <queue>
#include <math.h>
#include <bitset>
#include <cmath>
#include <set>
#include <queue>
#include <stack>
#include <algorithm>
#include <vector>
using namespace std;
typedef long long ll;
#define rep(i,s,n)for(ll i = s;i<n;i++)
#define repe(i,s,n)for(ll i = s;i<=n;i++)
#define rep_r(i,s,n)for(ll i = n-1;i>s;i--)
#define rep_re(i,s,n)for(ll i = n-1;i>=s;i--)
ll MOD = 1e9 + 7;

bool X[200001] = {};
int main() {
	ll x; cin >> x;
	ll a[6] = { 100,101,102,103,104,105 };

	X[0] = true;
	if (x >= 2000) {
		cout << 1 << endl;
	}

	rep(i, 0, 6) {
		rep(k, 1, 1000) {
			rep(j, 0, 100000) {
				ll p = k * a[i];

				X[p]= true; 
				if (X[j]) {
					X[j + p] = true;
				}
			}
		}
	}

	cout << X[x] ? '1' : '0' << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:44:34: error: invalid operands of types 'char' and '<unresolved overloaded function type>' to binary 'operator<<'
   44 |         cout << X[x] ? '1' : '0' << endl;
      |                              ~~~~^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main () {
  int X;
  cin >> X;
  for(int i = 1; i <= N / 100; i++){
    if(N - 100 * i >= 0 && N - 100 * i <= 5 * i){
      cout << 1 << endl;
      return 0;
    }
  }
  cout << 0 << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: 'N' was not declared in this scope
    6 |   for(int i = 1; i <= N / 100; i++){
      |                       ^
Language: C++

#include<bits/stdc++.h>
#include<cmath>
#pragma GCC optimize("Ofast")
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
typedef long long ll;
#define rep(i,n) for(ll i=0, i##_len=(n); i<i##_len; ++i)
#define REP(i,num,n) for(ll i=num, i##_len=(n); i<i##_len; ++i)
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
#define print(x) cout << (x) << endl;
#define pb push_back
#define mp make_pair
#define sz(x) int(x.size())
 
ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
const int INF = 1e9;
const ll LLINF = 1e16;

template<typename T>
vector<T> make_v(size_t a){return vector<T>(a);}

template<typename T,typename... Ts>
auto make_v(size_t a,Ts... ts){
  return vector<decltype(make_v<T>(ts...))>(a,make_v<T>(ts...));
}

template<typename T,typename U,typename... V>
typename enable_if<is_same<T, U>::value!=0>::type
fill_v(U &u,const V... v){u=U(v...);}

template<typename T,typename U,typename... V>
typename enable_if<is_same<T, U>::value==0>::type
fill_v(U &u,const V... v){
  for(auto &e:u) fill_v<T>(e,v...);
}
 
const int dx[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dy[8] = {0, 1, 0, -1, 1, -1, 1, -1};

ll lcm(ll a, ll b) {
    return a * b / gcd(a, b);
}


const int MOD = 1e9 + 7;

const int MAX = 510000;

long long fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
    fac[0] = fac[1] = 1;
    finv[0] = finv[1] = 1;
    inv[1] = 1;
    for (int i = 2; i < MAX; i++){
        fac[i] = fac[i - 1] * i % MOD;
        inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
        finv[i] = finv[i - 1] * inv[i] % MOD;
    }
}

// 二項係数計算
long long COM(int n, int k){
    if (n < k) return 0;
    if (n < 0 || k < 0) return 0;
    return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

bool dp[100001];
int main(void){
    cout.tie(0);
    cin.tie(0);
    ios::sync_with_stdio(false);
    cout<<fixed<<setprecision(10);
    int x;
    cin >> x;
    dp[0] = true;
    REP(i, 100, x + 1) {
      if(i == 100){
        if(dp[i - 100]) dp[i] = true;
      }
      if(i == 101){
        if(dp[i - 101]) dp[i] = true;
      }
      if(i == 102){
        if(dp[i - 102]) dp[i] = true;
      }
      if(i == 103){
        if(dp[i - 103]) dp[i] = true;
      }
      if(i == 104){
        if(dp[i - 104]) dp[i] = true;
      }
      if(i == 105){
        if(dp[i - 105]) dp[i] = true;
      }
      if(dp[i - 100] || dp[i - 101] || dp[i - 102] || dp[i - 103] || dp[i - 104] || dp[i - 105]){
        if(dp[i - 100]) dp[i] = true;
        if(dp[i - 101]) dp[i] = true;
        if(dp[i - 102]) dp[i] = true;
        if(dp[i - 103]) dp[i] = true;
        if(dp[i - 104]) dp[i] = true;
        if(dp[i - 105]) dp[i] = true;
      }
    }
    if(dp[x]) print(1);
    else print(0);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:110:5: error: 'else' without a previous 'if'
  110 |     else print(0);
      |     ^~~~
Language: C

#include <stdio.h>

int main(){
  int x;
  int i1,i2,i3,i4,i5,i6;
  int flag=0;
  
  scanf("%d",&x);
  
  for(i1=0;i1<(100000/105);i1++){
    for(i2=0;i2<(100000/104);i2++){
      for(i3=0;i3<(100000/103);i++){
        for(i4=0;i4<(100000/102);i++){
          for(i5=0;i5<(100000/101);i++){
            for(i6=0;i6<(100000/100);i++){
              if(i1*105+i2*104+i3*103+i4*102+i5*101+i6*100 == x){
                flag=1;
                break;
              }
            }
          }
        }
      }
    }
  }
  
  printf("%d",flag);
}

Compiler output:
main.c: In function 'main':
main.c:12:32: error: 'i' undeclared (first use in this function); did you mean 'i6'?
   12 |       for(i3=0;i3<(100000/103);i++){
      |                                ^
      |                                i6
main.c:12:32: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i,n) for(ll i=1;i<(n);i++)
int main(){
  ll n;cin>>n;
  flag=false;
  rep(i,20) if(100*i<=n && n<=105*i) flag=true;
  if(n>=2100) flag=true;
  if(flag) cout<<1<<endl;
  else cout<<0<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'flag' was not declared in this scope
    7 |   flag=false;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
bool dp[100005];
int main() {
	int x;
  	cin >> x;
   	for(int i=0; i<6; i++) dp[i]=true;
  	for(int i=6; i<=x-100; i++) {
       for(int j=0; j<6; j++) dp[i] |= dp[i-j];
    }
  
  
    cout << dp[x-100] << endl;
    return 0;
}
#include <bits/stdc++.h>
using namespace std;
 
bool dp[100005];
int main() {
	int x;
  	cin >> x;
   	for(int i=0; i<6; i++) dp[i]=true;
  	for(int i=6; i<=x-100; i++) {
       for(int j=0; j<6; j++) dp[i] |= dp[i-j];
    }
  
  
    cout << dp[x-100] << endl;
    return 0;
}

Compiler output:
a.cc:20:6: error: redefinition of 'bool dp [100005]'
   20 | bool dp[100005];
      |      ^~
a.cc:4:6: note: 'bool dp [100005]' previously declared here
    4 | bool dp[100005];
      |      ^~
a.cc:21:5: error: redefinition of 'int main()'
   21 | int main() {
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main() {
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
bool dp[100005];
int main() {
	int x;
  	cin >> x;
   	for(int i=0; i<6; i++) dp[i]=true;
  	for(int i=6; i<=x-100; i++) {
       for(int j=0; j<6; j++) dp[i] |= dp[i-j];
    }
  
  
    cout << dp[x-100] << endl;
    return 0;
}
#include <bits/stdc++.h>
using namespace std;

bool dp[100005];
int main() {
	int x;
  	cin >> x;
   	for(int i=0; i<6; i++) dp[i]=true;
  	for(int i=6; i<=x-100; i++) {
       for(int j=0; j<6; j++) dp[i] |= dp[i-j];
    }
  
  
    cout << dp[x-100] << endl;
    return 0;
}
提出情報

Compiler output:
a.cc:20:6: error: redefinition of 'bool dp [100005]'
   20 | bool dp[100005];
      |      ^~
a.cc:4:6: note: 'bool dp [100005]' previously declared here
    4 | bool dp[100005];
      |      ^~
a.cc:21:5: error: redefinition of 'int main()'
   21 | int main() {
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main() {
      |     ^~~~
a.cc:33:1: error: '\U000063d0\U000051fa\U000060c5\U00005831' does not name a type
   33 | 提出情報
      | ^~~~~~~~
Language: C

#include <cstdio>
using namespace std;
bool memo[100005];
int main(){
    memo[0]=true;
    for (int x=100;x<=105;x++){
        for (int y=x;y<100005;y++){
            memo[y]|=memo[y-x];
        }
    }
    
    int n;
    scanf("%d",&n);
    printf("%d\n",memo[n]);
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{int a=[100,101,102,103,104,105]
int n;
cin>>n;
for(int i=0;i<pow(2,6);i++)
{sum=0;
  for (int j=0;j<6;j++)
{ if(i&&(1<<j)==1)
  { sum+=a[j];
   }

}

if(n%sum==0)
{cout<<1;
break;
}
 else 
   continue;



}





return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected identifier before numeric constant
    4 | {int a=[100,101,102,103,104,105]
      |         ^~~
a.cc:4:12: error: expected ']' before ',' token
    4 | {int a=[100,101,102,103,104,105]
      |            ^
      |            ]
a.cc: In lambda function:
a.cc:4:12: error: expected '{' before ',' token
a.cc: In function 'int main()':
a.cc:4:8: error: invalid user-defined conversion from 'main()::<lambda()>' to 'int' [-fpermissive]
    4 | {int a=[100,101,102,103,104,105]
      |        ^~~~
a.cc:4:8: note: candidate is: 'constexpr main()::<lambda()>::operator void (*)()() const' (near match)
    4 | {int a=[100,101,102,103,104,105]
      |        ^
a.cc:4:8: note:   no known conversion from 'void (*)()' to 'int'
a.cc:4:13: error: expected unqualified-id before numeric constant
    4 | {int a=[100,101,102,103,104,105]
      |             ^~~
a.cc:6:6: error: 'n' was not declared in this scope
    6 | cin>>n;
      |      ^
a.cc:8:2: error: 'sum' was not declared in this scope
    8 | {sum=0;
      |  ^~~
a.cc:11:11: error: invalid types 'int[int]' for array subscript
   11 |   { sum+=a[j];
      |           ^
Language: C++

// by adiforluls
#pragma GCC optimize ("-O2")
#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define FAST            ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define ll              long long
#define ld              long double
#define pb              push_back
#define mp              make_pair
#define pii             pair<int,int>
#define mii             map<int,int>
#define vi              vector<int>
#define vll             vector<long long>
#define all(a)          (a).begin(),(a).end()
#define clz(a)          __builtin_clz(a) // count leading zeroes
#define ctz(a)          __builtin_ctz(a) // count trailing zeroes
#define popc(a)         __builtin_popcount(a) // count set bits (for ints only diff for ll)
#define lul             1000000007
#define rep(i,a,b)      for(int i=a;i<b;i++)
#define rfor(i,a,b)     for(int i=a; i>=b; i--)
#define debug(x)        cerr << #x << " = " << x << endl;
#define F               first
#define S               second
#define mod             998244353 
#define pll             pair<ll,ll>
#define endl            '\n'
#define deci(n)         cout<<fixed<<setprecision(n)
#define ordered_set     tree<pll, null_type,less<pll>, rb_tree_tag,tree_order_statistics_node_update>
// order_of_key(k)
// find_by_order(k)
const ld PI = acos(-1.0);
const int INF = 0x3f3f3f3f;
#define N    100005

void solve()
{
    int a[] = {100,101,102,103,104,105}
    int n; cin>>n;
    vi dp(n+1,0);
    dp[0] = 1;
    rep(i,1,n+1)
    {
        rep(j,0,6)
        {
            if(a[j]>=i) dp[i]|=dp[a[j]-i];
        }
    }
    cout<<dp[n];    
}
int main()
{   
    FAST;
   //  #ifndef ONLINE_JUDGE
     // freopen("input.txt", "r", stdin);
     // freopen("output.txt", "w", stdout);
   //  #endif
    int t; t=1;  //cin>>t;
    while(t--){
       solve();
    }
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:41:5: error: expected ',' or ';' before 'int'
   41 |     int n; cin>>n;
      |     ^~~
a.cc:41:17: error: 'n' was not declared in this scope
   41 |     int n; cin>>n;
      |                 ^
Language: C++

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>

using namespace std;

template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }

int main()
{
	int x;
	cin >> x;

	for (int i = 1; i <= x; i++)
	{
		if (100 * i <= x && x <= 105 * i)
		{
			cout << 1 << endl;
			return;
		}
	}
	cout << 0 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:25: error: return-statement with no value, in function returning 'int' [-fpermissive]
   19 |                         return;
      |                         ^~~~~~
Language: C++

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

int main() {
  int A
  cin >> A;
  int B = A % 100;
  int C = A - B;
  if (B * 20 < C){
    cout << "1" << endl;
  }
  else{
    cout << "1" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> A;
      |   ^~~
a.cc:7:11: error: 'A' was not declared in this scope
    7 |   int B = A % 100;
      |           ^
Language: C++

include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const double PI=3.14159265358979323846;
const int64_t waru = 1000000007;
using in = int64_t;

int main(){
int x,s,t;
  cin>>x;
  s=x/100;
  t=x%100;
  if(t<=s*5) cout<<1;
  else cout <<0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc:6:7: error: 'int64_t' does not name a type
    6 | const int64_t waru = 1000000007;
      |       ^~~~~~~
a.cc:1:1: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | include <bits/stdc++.h>
a.cc:7:12: error: 'int64_t' does not name a type
    7 | using in = int64_t;
      |            ^~~~~~~
a.cc:7:12: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
a.cc: In function 'int main()':
a.cc:11:3: error: 'cin' was not declared in this scope
   11 |   cin>>x;
      |   ^~~
a.cc:14:14: error: 'cout' was not declared in this scope
   14 |   if(t<=s*5) cout<<1;
      |              ^~~~
a.cc:15:8: error: 'cout' was not declared in this scope
   15 |   else cout <<0;
      |        ^~~~
Language: Java

import java.util.*;

class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    int X = sc.nextInt();
    
    double c = X/100;
    int C = (int)c;

    for(int i=0; i<C; i++){
       for(int j=0; j<C; j++){
          for(int k=0; k<C; k++){
             for(int l=0; l<C; l++){
                for(int m=0; m<C; m++){
                   for(int n=0; n<C; n++){
                      if(i*100 + j*101 + k*102 + l*103 + m*104 + n*105 == X){
                        System.out.pritnln(1);
                      }
                      else{
                        System.out.println(0);
                      }
                   }
                }
             }
          }
       }
    }
  }
}

Compiler output:
Main.java:20: error: cannot find symbol
                        System.out.pritnln(1);
                                  ^
  symbol:   method pritnln(int)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.*;

class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Scanner(System.in);
    int X = sc.nextInt();
    
    for(int i=0; i<1000000; i++){
       for(int j=0; j<100000; j++){
          for(int k=0; k<100000; k++){
             for(int l=0; l<100000; l++){
                for(int m=0; m<100000; m++){
                   for(int n=0; n<100000; n++){

                      if(i*100 + j*101 + k*102 + l*103 + m*104 + n*105 = X){
                        System.out.println(1);
                      }
               
                      else{
                        System.out.println(0);
                      }
                   }
                }
             }
          }
       }
    }
  }
}


Compiler output:
Main.java:17: error: unexpected type
                      if(i*100 + j*101 + k*102 + l*103 + m*104 + n*105 = X){
                                                               ^
  required: variable
  found:    value
1 error
Language: Java

import java.util.*;

class main{
    public static void main(String args[]){
	    FastScanner sc = new Scanner(System.in);
	    int n = sc.nextInt();
	    int m = n/100;
	    int l = n-m*100;
	    int ans
	    if(m > 20){
		    System.out.print("1");
		    return;
	    }
	    if(l > 5*m){
		    ans = 0;
	    }else{
		    ans = 1;
	    }
	    System.out.print(ans);
	    	
    }
    
}

class FastScanner{
    private final InputStream in = System.in;
    private final byte[] buffer = new byte[1024];
    private int ptr = 0;
    private int buflen = 0;
    private boolean hasNexrByte(){
        if(ptr < buflen) {
            return truel
        }else{
	    ptr = 0;
	    try{
	        buflen = in.read(buffer);
	    } catch (IOException w){
	        e.printStackTrace();
	    }
	    if(buflen <= 0){
	        return false;
	    }
        }
        return true;
    }

private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
    private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
    public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
    public String next() {
        if (!hasNext()) throw new NoSuchElementException();
        StringBuilder sb = new StringBuilder();
        int b = readByte();
        while(isPrintableChar(b)) {
            sb.appendCodePoint(b);
            b = readByte();
        }
      return sb.toString();
    }
    public long nextLong() {
        if (!hasNext()) throw new NoSuchElementException();
        long n = 0;
        boolean minus = false;
        int b = readByte();
        if (b == '-') {
            minus = true;
            b = readByte();
        }
        if (b < '0' || '9' < b) {
            throw new NumberFormatException();
        }
        while(true){
            if ('0' <= b && b <= '9') {
                n *= 10;
                n += b - '0';
            }else if(b == -1 || !isPrintableChar(b)){
                return minus ? -n : n;
            }else{
                throw new NumberFormatException();
            }
            b = readByte();
        }
    }
    public int nextInt() {
        long nl = nextLong();
        if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
        return (int) nl;
    }
    public double nextDouble() { return Double.parseDouble(next());}
}

Compiler output:
Main.java:9: error: ';' expected
	    int ans
	           ^
Main.java:32: error: ';' expected
            return truel
                        ^
2 errors
Language: C++

#incluide<bits/stdc++.h>
using namespacestd;
int main() {
    int x;
    cin >> x;
    vector<bool> dp(x + 200, 0);
    dp[0] = true;
    for(int i = 0; i <= x; i++) {
        if(dp[i]) {
            for(int j = 0; j < 6; j++) {
                dp[i + 100 + j] = true;
            }
        }
    }
    cout << dp[x] << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incluide; did you mean #include?
    1 | #incluide<bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc:2:7: error: expected nested-name-specifier before 'namespacestd'
    2 | using namespacestd;
      |       ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> x;
      |     ^~~
a.cc:6:5: error: 'vector' was not declared in this scope
    6 |     vector<bool> dp(x + 200, 0);
      |     ^~~~~~
a.cc:6:12: error: expected primary-expression before 'bool'
    6 |     vector<bool> dp(x + 200, 0);
      |            ^~~~
a.cc:7:5: error: 'dp' was not declared in this scope
    7 |     dp[0] = true;
      |     ^~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout << dp[x] << endl;
      |     ^~~~
a.cc:15:22: error: 'endl' was not declared in this scope
   15 |     cout << dp[x] << endl;
      |                      ^~~~
Language: C++

#include<cstdio>
#include <iostream>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<algorithm>
#include<cmath>
#include<complex>
#include <string>
#include<vector>
#include<list>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<bitset>
#include<numeric>
#include<limits>
#include<climits>
#include<cfloat>
#include<functional>
#include<iterator>
#include <random>
#define mod  1073741824
#pragma GCC optimization ("O3")
using namespace std;
int main()
{
    // freopen("input.txt","r",stdin);
    // freopen("output.txt","w",stdout);
    ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    unsigned long long int ans =-1,b,c,d,n,inf = 1000000000,k = 1,lon = 1,A[] = {1,2,3,4,5,6,7,8,9};
    cin >> n;
   vector <bool> dp(n+200 ,0);
   dp[0] = true;
   for (int i = 0; i < n; ++i)
   {
        if (dp[i])
        {
            for (int j = 0; j < 6; ++j)
            {
                dp[i+100+j] = truee;
            }
        }
   }
   cout << dp[n];
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:42:31: error: 'truee' was not declared in this scope
   42 |                 dp[i+100+j] = truee;
      |                               ^~~~~
Language: C++

#include<cstdio>
#include <iostream>
#include<sstream>
#include<fstream>
#include<iomanip>
#include<algorithm>
#include<cmath>
#include<complex>
#include <string>
#include<vector>
#include<list>
#include<queue>
#include<stack>
#include<set>
#include<map>
#include<bitset>
#include<numeric>
#include<limits>
#include<climits>
#include<cfloat>
#include<functional>
#include<iterator>
#include <random>
#define mod  1073741824
#pragma GCC optimization ("O3")
using namespace std;
int main()
{
    // freopen("input.txt","r",stdin);
    // freopen("output.txt","w",stdout);
    ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
    unsigned long long int ans =-1,b,c,d,n,inf = 1000000000,k = 1,lon = 1,A[] = {1,2,3,4,5,6,7,8,9};
    cin >> n;
   vector <bool >dp(x+200 , 0);
   dp[0] = true;
   for (int i = 0; i < n; ++i)
   {
        if (dp[i])
        {
            for (int j = 0; j < 6; ++j)
            {
                dp[i+100+j] = truee;
            }
        }
   }
   cout << dp[x];
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:21: error: 'x' was not declared in this scope
   34 |    vector <bool >dp(x+200 , 0);
      |                     ^
a.cc:42:31: error: 'truee' was not declared in this scope
   42 |                 dp[i+100+j] = truee;
      |                               ^~~~~
Language: C++

#include<iostream>
#include<fstream>
#include <cmath>
#include <algorithm>
#include <stack>
#include <vector>
#include <random>
#include <unordered_set>
using namespace std;
typedef long long ll;
#define FOR(I,A,B) for(int I = int(A); I < int(B); ++I)

int main(){
    int x;
    cin >> x;
    FOR(i,0,1000){
        int a = x-i*100;
        if(a<0)contiue;
        if(a<=5*i){
            cout << 1 << endl;
            return 0;
        }
    }
    cout << 0 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:16: error: 'contiue' was not declared in this scope; did you mean 'ctime'?
   18 |         if(a<0)contiue;
      |                ^~~~~~~
      |                ctime