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

#include <bits/stdc++.h>
using namespace std;
int main(){
   int k,r;
   cin>>k>>r;
   if(k=>10){
     cout<<r<<'\n';
   }
   if(k<10){
     cout<<r-(100×(10−k))<<'\n';
   }
   return(0);
}


Compiler output:
a.cc:10:15: error: extended character × is not valid in an identifier
   10 |      cout<<r-(100×(10−k))<<'\n';
      |               ^
a.cc:10:20: error: extended character − is not valid in an identifier
   10 |      cout<<r-(100×(10−k))<<'\n';
      |                    ^
a.cc: In function 'int main()':
a.cc:6:9: error: expected primary-expression before '>' token
    6 |    if(k=>10){
      |         ^
a.cc:10:15: error: unable to find numeric literal operator 'operator""\U000000d7'
   10 |      cout<<r-(100×(10−k))<<'\n';
      |               ^~~~
a.cc:10:20: error: unable to find numeric literal operator 'operator""\U00002212k'
   10 |      cout<<r-(100×(10−k))<<'\n';
      |                    ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
   int k,r;
   cin>>k>>r;
   if(k=>10){
     cout<<r<<'\n';
   }
   if(k<10){
     cout<<r-(100×(10−k));
   }
   return(0);
}


Compiler output:
a.cc:10:15: error: extended character × is not valid in an identifier
   10 |      cout<<r-(100×(10−k));
      |               ^
a.cc:10:20: error: extended character − is not valid in an identifier
   10 |      cout<<r-(100×(10−k));
      |                    ^
a.cc: In function 'int main()':
a.cc:6:9: error: expected primary-expression before '>' token
    6 |    if(k=>10){
      |         ^
a.cc:10:15: error: unable to find numeric literal operator 'operator""\U000000d7'
   10 |      cout<<r-(100×(10−k));
      |               ^~~~
a.cc:10:20: error: unable to find numeric literal operator 'operator""\U00002212k'
   10 |      cout<<r-(100×(10−k));
      |                    ^~~~
Language: Java

import java.util.Scanner;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		bigdecimal N = sc.nextInt();
		bigdecimal K = sc.nextInt();
		bigdecimal count = 1;
		while (N >= K) {
			N = N / K;
			count++;
		}
		System.out.println(count);
		return ;
	}
}

Compiler output:
Main.java:6: error: cannot find symbol
		bigdecimal N = sc.nextInt();
		^
  symbol:   class bigdecimal
  location: class Main
Main.java:7: error: cannot find symbol
		bigdecimal K = sc.nextInt();
		^
  symbol:   class bigdecimal
  location: class Main
Main.java:8: error: cannot find symbol
		bigdecimal count = 1;
		^
  symbol:   class bigdecimal
  location: class Main
3 errors
Language: C++

#include <bits/stdc++.h>

using namespace std;
#define w(t) while(t--)

int main() {
	int n,p;
	cin >> n >> p;
	cout << (n>=10 p: 100*(10-p));
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ')' before 'p'
    9 |         cout << (n>=10 p: 100*(10-p));
      |                 ~     ^~
      |                       )
Language: C++

#include <bits/stdc+.h>

using namespace std;
#define w(t) while(t--)

int main() {
	int n,p;
	cin >> n >> p;
	cout << (n>=10 p: 100*(10-p));
	return 0;
}

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

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

int main() {
    int n, r;
    cin >> n >> r;

    int inner = r;
    if (n <= 10) {
        inner = 100 * (10 - k) + r;
    }
    cout << r << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: 'k' was not declared in this scope
   11 |         inner = 100 * (10 - k) + r;
      |                             ^
Language: C++

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


int main() {
    int N, R;
    cin >> N >> R;

    if (N >= 10) cout << R << endl;
    else cout << R - 100 * (10 - K) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:34: error: 'K' was not declared in this scope
   13 |     else cout << R - 100 * (10 - K) << endl;
      |                                  ^
Language: C

#include <stdio.h>

int main()
{
  int n,r;

  scanf("%d%d",&n,&r);
  if(n<10)
    printf("%d",r+100(10-n));
  else
    printf("%d",r );

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:19: error: called object is not a function or function pointer
    9 |     printf("%d",r+100(10-n));
      |                   ^~~
Language: Java

import java.util.Scanner;
public class Main
{
  public static void main(String[] args)
  {
    Scanner sc = new Sacnner(System.in);
    int K = sc.nextInt();
    int R = sc.nextInt();
    if(K < 10)
    {
      int Rating = 100 * (10 - 2);
      int Result = R - Rating;
      System.out.println(Result);
    }
    else
    {
      System.out.println(R);
    }
  }
}

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

#include <bits/stdc++.h>
using namespace std;
using ll =long long;
#define all(v) v.begin(),v.end()
 
int main() {
 ll N,R;
  cin>>N>>R;
  if(N>=10) {
cout<<R<<endl;
  }
else {
  cout<<R+100*(10-K) <<endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: 'K' was not declared in this scope
   13 |   cout<<R+100*(10-K) <<endl;
      |                   ^
Language: C++

#include <iostream>

using namespace std;

int main() {
  int N,K;
  cin >> N >> K;
  if(N>=10)cout << K << endl;
  else cout << R+(100*(10-K)) << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: 'R' was not declared in this scope
    9 |   else cout << R+(100*(10-K)) << endl;
      |                ^
Language: C++

#include <iomanip>
#include <vector>
#include <string>
#include <cmath>
#include <map>
#include <climits>
#include <cassert>
#include <algorithm>
#include <utility>

using namespace std;
using Int = long long int;
using UInt = unsigned long long int;
using VI = vector<long long int>;
using VVI = vector<vector<long long int> >;

int main(void) {
    Int n, r;
    cin >> n >> r;
    if (n < 10) {
        cout << r + 100 * (10 - n) << endl;
    } else {
        cout << r << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:5: error: 'cin' was not declared in this scope
   19 |     cin >> n >> r;
      |     ^~~
a.cc:10:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    9 | #include <utility>
  +++ |+#include <iostream>
   10 | 
a.cc:21:9: error: 'cout' was not declared in this scope
   21 |         cout << r + 100 * (10 - n) << endl;
      |         ^~~~
a.cc:21:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:9: error: 'cout' was not declared in this scope
   23 |         cout << r << endl;
      |         ^~~~
a.cc:23:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i,n) for(int i=0;i<(n);++i)
#define repi(i,a,b) for(int i=int(a);i<int(b);++i)
#define all(x) (x).begin(), (x).end()
#define PI 3.14159265358979323846264338327950L
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
    int n,r;
    cin>>n>>r;
    if(n<=10) cout<<r;
    else cout<<r+100(10-n);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:21: error: expression cannot be used as a function
   14 |     else cout<<r+100(10-n);
      |                  ~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int n,m:
  cin >> n >>m;
  if(n<10){
  cout << m << endl;
  }else{
  cout <<m-100*(10-n)<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: found ':' in nested-name-specifier, expected '::'
    4 | int n,m:
      |        ^
      |        ::
a.cc:4:7: error: 'm' has not been declared
    4 | int n,m:
      |       ^
a.cc:5:7: error: qualified-id in declaration before '>>' token
    5 |   cin >> n >>m;
      |       ^~
a.cc:7:11: error: 'm' was not declared in this scope
    7 |   cout << m << endl;
      |           ^
a.cc:9:10: error: 'm' was not declared in this scope
    9 |   cout <<m-100*(10-n)<<endl;
      |          ^
Language: C++

#include<iostream>
using namespace std;

int main() {
  int N, R;
  cin >> N >> R;
  int R_2;
  
  if (N >= 10) {
    cout << R;
  }
  else {
    R_2 = R - 100 * (10 - K);
    cout << R_2;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:27: error: 'K' was not declared in this scope
   13 |     R_2 = R - 100 * (10 - K);
      |                           ^
Language: Java

import java.util.Scanner;

public class Beginner {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);

		int n = sc.nextInt();
		int r = sc.nextInt();

		if (n >= 10) {
			System.out.println(r);
		} else {
			int k = 100 * (10 - n);
			System.out.println(r + k);
		}
		sc.close();
	}

}


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

#include<iostream>
using namespace std;
int main(){
int n,r;
  cin>>n>>r;
  if(n>=10){
 cout<<r<<endl;
  }else{
   cout<<100*(10-n)+r<<endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: expected '}' at end of input
   10 |   }
      |    ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

// Problem Statement
// There are 
// N
//  people living on a number line.

// The 
// i
// -th person lives at coordinate 
// X
// i
// .

// You are going to hold a meeting that all 
// N
//  people have to attend.

// The meeting can be held at any integer coordinate. If you choose to hold the meeting at coordinate 
// P
// , the 
// i
// -th person will spend 
// (
// X
// i
// −
// P
// )
// 2
//  points of stamina to attend the meeting.

// Find the minimum total points of stamina the 
// N
//  people have to spend.

class Main {

    public static void main(final String[] args) {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        int numberOfPeople;
		try {
			numberOfPeople = Integer.parseInt(br.readLine());
		
        Long numberOfCoordinates[] = new Long[numberOfPeople];
        
        String string[] = br.readLine().split(" ");
        for (int i = 0; i < numberOfPeople; i++){
            numberOfCoordinates[i] = Long.parseLong(string[i]);
        }

        long output = Long.MAX_VALUE;

        for(int i = 0; i <= 100; i++){
            long cost = 0;
            for (int j = 0; j < numberOfPeople; j++){
                cost += Math.pow(numberOfCoordinates[j]-i,2);
            }
            output = Math.min(output,cost);
        }

        System.out.println(output);

    } catch (NumberFormatException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    }


    public static int parseInt(){
        return Integer.parseInt(sc.next());
    }
}

Compiler output:
Main.java:80: error: cannot find symbol
        return Integer.parseInt(sc.next());
                                ^
  symbol:   variable sc
  location: class Main
1 error
Language: C++

//#pragma GCC optimize "trapv"
//-D_GLIBCXX_DEBUG
#include<bits/stdc++.h>
using namespace std;
#define int long long int
#define all(x) x.begin(),x.end()
#define allr(x) x.rbegin(),x.rend()
#define ii pair<int,int>
#define Max 100000+5
#define IO ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define f first
#define s second
#define pb push_back
int mod = 1000000007;
int mod1 = 998244353;
vector<int> g[Max];
bool vis[Max];
int d, x, y;
int gcd(int a,int b){
    if(b==0)return a;
    return gcd(b,a%b);
}
void ex(int A, int B) {
    if(B == 0) {
        d = A;
        x = 1;
        y = 0;
    }
    else {
        ex(B, A%B);
        int temp = x;
        x = y;
        y = temp - (A/B)*y;
    }
}


void dfs(int u){

	vis[u]=1;
	for(int i=0;i<g[u].size();i++){
		int v=g[u][i];
		if(vis[v]!=1)
			dfs(v);
	}
}



int power(int a,int b){
    if(b==1)return a;
    if(a>mod)a%=mod;
    int r=1;
    while(b){
        if(b&1)r=r%mod*a%mod;
        a=a%mod*a%mod;
        b/=2;
    }
    return r;
}
class uf{
    vector<int> v;
    vector<int> sz;
    
    
    public :
    uf(int n){
        v.resize(n+1);
        iota(v.begin()+1,v.end(),1);
        sz.resize(n+1,1);
        //1 to sz
    }
    int root(int b){
        while(v[b]!=b){
            b = v[b];
        }   
        return b;
    }
    void u(int a, int b){
        //combine a and b
        
        int ra=root(a);
        int rb=root(b);
        if(ra==rb)return ;
        if(sz[ra]<sz[rb]){
            v[ra] = v[rb];
            sz[rb]+=sz[ra];
        }else{
            v[rb]=v[ra];
            sz[ra]+=sz[rb];
        }
    }
    bool f(int a,int b){
        //same set
        return (root(a)==root(b));
    }
   
    
};
vector<int> matmul(vector<int> a,vector<int> b){
    vector<int> c(4,0);
    c[0] = (a[0]%mod*b[0]%mod + a[1]%mod*b[2]%mod)%mod;
    c[1] = (a[0]%mod*b[1]%mod + a[1]%mod*b[3]%mod)%mod;
    c[2] = (a[2]%mod*b[0]%mod + a[3]%mod*b[2]%mod)%mod;
    c[3] = (a[2]%mod*b[1]%mod + a[3]%mod*b[3]%mod)%mod;
    return c;
}
vector<int> id={1,0,0,1};

int32_t main(){
	IO
	//freopen("input.txt","r",stdin);
    	//freopen("output.txt","w",stdout);
	int n;
  cin>>n;
  vector<int> v(n);
  for(int i=0;i<n;i++)cin>>v[i];
  int u = sum(v.begin(),v.end())/n;
  int ans=0;
  for(int i=0;i<n;i++)ans+=(v[i]-u)*(v[i]-u);
  cout<<ans;
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:118:11: error: 'sum' was not declared in this scope
  118 |   int u = sum(v.begin(),v.end())/n;
      |           ^~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n) ;i++)

using namespace std;
using p=pair<int,int>;
typedef long long ll;

int main() {
  int n,r;
  cin >> n >> r;
  int ans=0;
  if(n<=9){
    ans=r+100*(10-k);
  }
  else{
    ans=r;
  }
  cout << ans << endl;
  

  return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: 'k' was not declared in this scope
   13 |     ans=r+100*(10-k);
      |                   ^
Language: C

#include<stdio.h>
int main(){
  int N,R;
  scanf("%d %d",&N,&R);
  
  if(N>=10){
    printf("%d",R)
  }
  else{
    printf("%d",R-(100*(10-k)));
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:19: error: expected ';' before '}' token
    7 |     printf("%d",R)
      |                   ^
      |                   ;
    8 |   }
      |   ~                
main.c:10:28: error: 'k' undeclared (first use in this function)
   10 |     printf("%d",R-(100*(10-k)));
      |                            ^
main.c:10:28: note: each undeclared identifier is reported only once for each function it appears in
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
		var x = sc.nextInt();
		var y = sc.nextInt();
        if (x >= 10) {
            var A = y;
        } else {
            var a = 10-x;
            var b = 100*a;
            var A = y + b;
        }
        System.out.println(A);
    }
}


Compiler output:
Main.java:15: error: cannot find symbol
        System.out.println(A);
                           ^
  symbol:   variable A
  location: class Main
1 error
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
		var x = sc.nextInt();
		var y = sc.nextInt();
        if (K >= 10) {
            var A = y;
        } else {
            var a = 10-x;
            var b = 100*a;
            var A = y + b;
        }
        System.out.println(A);
    }
}

Compiler output:
Main.java:8: error: cannot find symbol
        if (K >= 10) {
            ^
  symbol:   variable K
  location: class Main
Main.java:15: error: cannot find symbol
        System.out.println(A);
                           ^
  symbol:   variable A
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
		var x = sc.nextInt();
		var y = sc.nextInt();
        if (K >= 10) {
            var A = y;
        } else {
            var a = 10-x;
            var b = 100*a;
            A = y + b;
        }
        System.out.println(A);
    }
}


Compiler output:
Main.java:8: error: cannot find symbol
        if (K >= 10) {
            ^
  symbol:   variable K
  location: class Main
Main.java:13: error: cannot find symbol
            A = y + b;
            ^
  symbol:   variable A
  location: class Main
Main.java:15: error: cannot find symbol
        System.out.println(A);
                           ^
  symbol:   variable A
  location: class Main
3 errors
Language: Java

class Main {
    public static void main(String[] args) {
      	Scanner sc = new Scanner(System.in);
		var R = sc.nextInt();
		var N = sc.nextInt();
        int H;
        if (N >= 10) {
            H = R;
        } else {
            var x = 10-N;
            H = 100*x;
        }
        System.out.println(H);
    }
}


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

class Main {
    public static void main(String[] args) {
        var N = System.io();
        var R = System.io();
        int H;
        if (N >= 10) {
            H = R;
        } else {
            var x = 10-N;
            H = 100*x;
        }
        System.out.println(H);
    }
}


Compiler output:
Main.java:3: error: cannot find symbol
        var N = System.io();
                      ^
  symbol:   method io()
  location: class System
Main.java:4: error: cannot find symbol
        var R = System.io();
                      ^
  symbol:   method io()
  location: class System
2 errors
Language: Java

class Main {
    public static void main(String[] args) {
        var N = System.io();
        var R = System.io();
        int H;
        if (N >= 10) {
            H = R;
        } else {
            x = 10-N;
            H = 100*x;
        }
        System.out.println(H);
    }
}


Compiler output:
Main.java:3: error: cannot find symbol
        var N = System.io();
                      ^
  symbol:   method io()
  location: class System
Main.java:4: error: cannot find symbol
        var R = System.io();
                      ^
  symbol:   method io()
  location: class System
Main.java:9: error: cannot find symbol
            x = 10-N;
            ^
  symbol:   variable x
  location: class Main
Main.java:10: error: cannot find symbol
            H = 100*x;
                    ^
  symbol:   variable x
  location: class Main
4 errors
Language: Java

class Main {
    public static main(String[] args) {
        var N = System.io();
        var R = System.io();
        int H;
        if (N >= 10) {
            H = R;
        } else {
            x = 10-N;
            H = 100*x;
        }
        System.out.println(H);
    }
}

Compiler output:
Main.java:2: error: invalid method declaration; return type required
    public static main(String[] args) {
                  ^
1 error
Language: Java

class Main {
    public static void main(String[] args) {
        N = System.io();
        R = System.io();
        int H;
        if (N >= 10) {
            H = R;
        } else {
            x = 10-N;
            H = 100*x;
        }
        System.out.println(H);
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        N = System.io();
        ^
  symbol:   variable N
  location: class Main
Main.java:3: error: cannot find symbol
        N = System.io();
                  ^
  symbol:   method io()
  location: class System
Main.java:4: error: cannot find symbol
        R = System.io();
        ^
  symbol:   variable R
  location: class Main
Main.java:4: error: cannot find symbol
        R = System.io();
                  ^
  symbol:   method io()
  location: class System
Main.java:6: error: cannot find symbol
        if (N >= 10) {
            ^
  symbol:   variable N
  location: class Main
Main.java:7: error: cannot find symbol
            H = R;
                ^
  symbol:   variable R
  location: class Main
Main.java:9: error: cannot find symbol
            x = 10-N;
            ^
  symbol:   variable x
  location: class Main
Main.java:9: error: cannot find symbol
            x = 10-N;
                   ^
  symbol:   variable N
  location: class Main
Main.java:10: error: cannot find symbol
            H = 100*x;
                    ^
  symbol:   variable x
  location: class Main
9 errors
Language: Java

class Main {
    public static main(String[] args) {
        N = System.io();
        R = System.io();
        int H;
        if (N >= 10) {
            H = R;
        } else {
            x = 10-N;
            H = 100*x;
        }
        System.out.println(H);
    }
}

Compiler output:
Main.java:2: error: invalid method declaration; return type required
    public static main(String[] args) {
                  ^
1 error
Language: C++

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

int main() {
int N,R;
cin>>N>>R;

  if(N>=10){cout<<R<<endl;}else{cout<<R-100*(10-K)<<endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:49: error: 'K' was not declared in this scope
    8 |   if(N>=10){cout<<R<<endl;}else{cout<<R-100*(10-K)<<endl;}
      |                                                 ^
Language: C++

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

#define fastio 			ios::sync_with_stdio(0);	cin.tie(0); cout.tie(0);  cout<<fixed;  cout<<setprecision(12);
#define randomINT 		mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
#define	newl 			cout<<"\n"
#define DISP(as)		for(auto it : as) cout<<it<<" ";newl;
#define all(x)         	(x).begin(),(x).end()
#define mset(x,val)    	memset(x,val,sizeof(x))
#define newl           	cout<<"\n"
#define pb             	push_back
#define mp             	make_pair
#define f 				first
#define s 				second
#define dline          cerr<<"///REACHED///\n";
#define deb1(x)        cerr<<#x<<" = "<<x<<'\n';
#define deb2(x,y)      cerr<<'['<<#x<<','<<#y<<"] = "<<'['<<x<<','<<y<<']'<<'\n';
#define deb3(x,y,z)    cerr<<'['<<#x<<','<<#y<<','<<#z<<"] = "<<'['<<x<<','<<y<<','<<z<<']'<<'\n';

typedef long long 				ll;
typedef long double 			ld;
typedef vector<ll> 				vll;
typedef pair<ll , ll> 			pll;
typedef pair<ld, ld> 			pld;
typedef unordered_map<ll, ll> 	um;
typedef vector<pll> 			vpll;

const ll 	MAX5 	= 	1e+5 + 7;
const ll 	MAX7 	= 	1e+7 + 7;
const ll 	MAXN 	= 	4 * MAX5;
const ll   	INF   	=  	0x7f7f7f7f7f7f7f7f;
const int  	INFi 	=  	0x7f7f7f7f;
const ll 	MOD		=  	1e+9 + 7;

vll adj[MAXN]; ll visit[MAXN] = {};
int dx8[] = {0, 1, 1, 1, 0, -1, -1, -1}, dy8[] = {1, 1, 0, -1, -1, -1, 0, 1};
int dx4[] = {0, 1, 0, -1}, dy4[] = {1, 0, -1, 0};

// <------------- Declare Variables Here ------------> //

ll t = 1;
ll n, x, k, q, m, y, r;
string s;


// <------------- Implement Functions Here ----------> //




// <------------- Start of main() -------------------> //

void MAIN() {
	cin >> n >> r;
	if (n >= 10) cout<<r;
	else {
		cout<<r+100*(10-n);
	}
}

int main() {
	fastio; randomINT;
	//cin >> t;
	seive();
	while (t--) {
		MAIN();
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:64:9: error: 'seive' was not declared in this scope
   64 |         seive();
      |         ^~~~~
Language: Java

import java.util.Scanner;
//import java.util.Arrays;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int r = sx.nextInt();
		
		System.out.println(n >= 10 ? r : 100 * (10 - n));
	}
}


Compiler output:
Main.java:7: error: cannot find symbol
		int r = sx.nextInt();
		        ^
  symbol:   variable sx
  location: class Main
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int R = sc.nextInt();
        
        int rate;
        
        if(N>=10){
            rate = R;
        } else {
            rate = R + 100 * (10-K);
        }
        
        System.out.println(rate);
    }
}


Compiler output:
Main.java:15: error: cannot find symbol
            rate = R + 100 * (10-K);
                                 ^
  symbol:   variable K
  location: class Main
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        int R = sc.nextInt();
        
        int rate;
        
        if(N>=10){
            rate = R;
        } else {
            rate = K + 100 * (10-K);
        }
        
        System.out.println(rate);
    }
}


Compiler output:
Main.java:15: error: cannot find symbol
            rate = K + 100 * (10-K);
                   ^
  symbol:   variable K
  location: class Main
Main.java:15: error: cannot find symbol
            rate = K + 100 * (10-K);
                                 ^
  symbol:   variable K
  location: class Main
2 errors
Language: C++

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

int main() {
  int n,r;
  cin>>n>>r;
  if(n>=10){
    cout<<r<<endl;
  }
  else{
    cout<<r-1000+100*k<<endl;
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:22: error: 'k' was not declared in this scope
   11 |     cout<<r-1000+100*k<<endl;
      |                      ^
Language: C++

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

int main() {
  int n,r;
  cin>>n>>r;
  if(n>=10){
    cout<<r<<endl;
  }
  else{
    cout<<r-1000+100*k<<endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:22: error: 'k' was not declared in this scope
   11 |     cout<<r-1000+100*k<<endl;
      |                      ^
Language: C

#include<stdio.h>
int main(void)
{
	int N,R,a,B;
	scanf("%d %d",&N,&R);
	if(N<10){
		K=100*(10-N);
		B=a+R;
		printf("%d\n",B);
	}
	if(N>10){
		printf("%d\n",R);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:17: error: 'K' undeclared (first use in this function)
    7 |                 K=100*(10-N);
      |                 ^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#inclde<stdio.h>
int main(void)
{
	int N,R,A;
	scanf("%d %d",&N,&R);
	A=100*(10-N);
	if(N<10){
		printf("%d\n",A);
	}
	else{
		printf("%d\n",R);
	}
	return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |         scanf("%d %d",&N,&R);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclde<stdio.h>
main.c:5:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |         scanf("%d %d",&N,&R);
      |         ^~~~~
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |                 printf("%d\n",A);
      |                 ^~~~~~
main.c:8:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   11 |                 printf("%d\n",R);
      |                 ^~~~~~
main.c:11:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclde<stdio.h>
int main(void)
{
	int N,R,A;
	("%d %d",&N,&R);
	A=100*(10-N);
	if(N<10){
		printf("%d\n",A);
	}
	else{
		printf("%d\n",R);
	}
	return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:8:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |                 printf("%d\n",A);
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #inclde<stdio.h>
main.c:8:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |                 printf("%d\n",A);
      |                 ^~~~~~
main.c:8:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   11 |                 printf("%d\n",R);
      |                 ^~~~~~
main.c:11:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclde<stdio.h>
int main(void)
{
	int N,R,A;
	("%d %d",&N,&R);
	if(N<10){
		A=100*(10-N);
		printf("%d\n",A);
	}
	else{
		printf("%d\n",R);
	}
	return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:8:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |                 printf("%d\n",A);
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #inclde<stdio.h>
main.c:8:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |                 printf("%d\n",A);
      |                 ^~~~~~
main.c:8:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   11 |                 printf("%d\n",R);
      |                 ^~~~~~
main.c:11:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

package atcoder;

import java.util.Scanner;

public class ABC156a {

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

		if(n >= 10) {
			System.out.println(r);
		}
		else {
			r = r + (100 * (10 - n));
			System.out.println(r);
		}

		sc.close();

	}

}


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

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define xrep(i,a,b) for(int i=int(a);i<int(b);++i)
using ll = long long;


int main() {
    int N, R;
    cin >> N >> R;
    if(N<10) {
        cout << R+(100*(10-N)) << endl;
    }
    else {
        cout << R << endl;
    }


    return 0;
}

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

#include <iostream>
using namespace std;

int n, r;

int main(void)
{
    cin >> n >> r;
    if (n<10){
        cout << r + 100*(10-n) << endl;
    }
    else{
        cout << r << 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 n,r;
  cin >> n
  cin >> r
  if (n>=10){
    cout << r;
  }else{
    cout << r+100*(10-n);
  }
  
	return 0;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected ';' before 'cin'
    6 |   cin >> n
      |           ^
      |           ;
    7 |   cin >> r
      |   ~~~      
a.cc:10:4: error: 'else' without a previous 'if'
   10 |   }else{
      |    ^~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
    int n, r;
    cin >> n >> r;
    if (n <= 9){
        r = r - (100 * (10 - n))
    }
    cout << r << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:33: error: expected ';' before '}' token
    7 |         r = r - (100 * (10 - n))
      |                                 ^
      |                                 ;
    8 |     }
      |     ~
Language: C++

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

int main() {
  int N,R;
  cin >> N >> R;
  int ans;
  if(N >= 10) ans = R;
  else ans = R + 100 * (10 - K);
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:30: error: 'K' was not declared in this scope
    9 |   else ans = R + 100 * (10 - K);
      |                              ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n) ; ++i)
using namespace std;
using ll = long long ;
using P = pair<int, int> ;
#define PI 3.14159265358979323846264338327950
int main () {
    ll n, k;
    cin >> n >> k;
    ll keta = 0;
    ll ans = k;
    while ( n >= ans){
        ans = ans * k ;
        keta++ ;
    }        
    cout << keta + 1 << endl;

}#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n) ; ++i)
using namespace std;
using ll = long long ;
using P = pair<int, int> ;
#define PI 3.14159265358979323846264338327950
int main () {
    ll n, k;
    cin >> n >> k;
    ll keta = 0;
    ll ans = k;
    while ( n >= ans){
        ans = ans * k ;
        keta++ ;
    }        
    cout << keta + 1 << endl;

}



Compiler output:
a.cc:18:2: error: stray '#' in program
   18 | }#include <bits/stdc++.h>
      |  ^
a.cc:18:3: error: 'include' does not name a type
   18 | }#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc:24:5: error: redefinition of 'int main()'
   24 | int main () {
      |     ^~~~
a.cc:7:5: note: 'int main()' previously defined here
    7 | int main () {
      |     ^~~~
Language: C++

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

int main(){
  
  int x,y;
  cin >> x >> y;
  
  if( a <= 10 ){
    
    cout << b << endl;
    
  }
  
  
  else{
    
    cout << b - 100*(10-a)<< endl;
    
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: 'a' was not declared in this scope
    9 |   if( a <= 10 ){
      |       ^
a.cc:11:13: error: 'b' was not declared in this scope
   11 |     cout << b << endl;
      |             ^
a.cc:18:13: error: 'b' was not declared in this scope
   18 |     cout << b - 100*(10-a)<< endl;
      |             ^
Language: C++

#include <iostream>
using namespace std;

int main() {
  int n,r;
  cin >> n >> r;
  if(n>=10){
    cout << r << endl;
  }else{
    cout << r + 100 * (10 - r) << endl;

  return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N , R;
  cin >> N >> R;
  if (N>=10){
    cout << R << endl;
  }
  
  else {
    cout << R-100*(10-N) << endl;
  }
 


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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N , R;
  cin N , R;
  if (N>=10){
    cout << R << endl;
  }
  
  else {
    cout << R-100*(10-N) << endl;
  }
 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'N'
    6 |   cin N , R;
      |      ^~
      |      ;
a.cc:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main() {
  int n,r;
  cin >> n >> r;
  
  if(n>=10){
    cout << r << endl;
  }
  else{
    cout << r + 100*(10-n)  endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:27: error: expected ';' before 'endl'
   12 |     cout << r + 100*(10-n)  endl;
      |                           ^ ~~~~
      |                           ;
Language: C++

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

int main() {
	int n, r;
	cin >> n >> r;
	if (n >= 10)cout << n << endl;
	else cout << n-100*(10-k) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:32: error: 'k' was not declared in this scope
    9 |         else cout << n-100*(10-k) << endl;
      |                                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
int n, r;
  cin >> n >> r;
  
  if(n<10){
    cout << r+(100*(10-k)) << endl;
  }
  
  else{
    cout << r << endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: 'k' was not declared in this scope
    9 |     cout << r+(100*(10-k)) << endl;
      |                        ^
Language: C++

#include<iostream>
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <iomanip>//setprecision
#include<math.h>
#include <functional>
#include<climits>
using namespace std;
#define rep(i, n)        for(int i=0; i<(int)(n); ++i)
#define ll  long long 
#define mod 1000000007
  vector<ll>to[1000005];
int main(){
  ll a,b;cin>>a>>b;
  cout<<max(10-a,0)*100+b;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:29:12: error: no matching function for call to 'max(long long int, int)'
   29 |   cout<<max(10-a,0)*100+b;
      |         ~~~^~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:29:12: note:   deduced conflicting types for parameter 'const _Tp' ('long long int' and 'int')
   29 |   cout<<max(10-a,0)*100+b;
      |         ~~~^~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61,
                 from a.cc:4:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:29:12: note:   mismatched types 'std::initializer_list<_Tp>' and 'long long int'
   29 |   cout<<max(10-a,0)*100+b;
      |         ~~~^~~~~~~~
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<bits/stdc++.h>
#include<math.h>
using namespace std;
#define rep(i,n) for(int i = 0; i < (n); i++)
#define rep1(i,n) for(int i = 1; i < (n); i++)

int main(){
    int n, r;
    cin >> n >> r;
    if(n < 10){
        n -= 1000 - 100 * k;
    } else {
        n = k;
    }
    cout << n << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:27: error: 'k' was not declared in this scope
   14 |         n -= 1000 - 100 * k;
      |                           ^
a.cc:16:13: error: 'k' was not declared in this scope
   16 |         n = k;
      |             ^
Language: C

/* ex3_3 "Digits"
   dada__        */
#include<stdio.h>
int main(void){
    int integerN, base, digits;
    digits = 0;
    scanf("%d", &integerN); scanf("%d", &k); //N, Kの入力

    while(integerN){ //nが0になった時点でループ終了
        integerN /= k;  //nにkで割った商を代入
        digits++; //桁数のカウント
    }

    printf("%d\n", digits); //桁数の出力
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:42: error: 'k' undeclared (first use in this function)
    7 |     scanf("%d", &integerN); scanf("%d", &k); //N, Kの入力
      |                                          ^
main.c:7:42: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

int main() {
  int n,r;
  cin >> n >> r;
  
  if(n >= 10) cout << r << endl;
  if(n < 10) cout << r+100*(10-n) << endl;
  
  return0 ;
}


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

#include <algorithm>
#include <bits/stdc++.h>
#include<iostream>
#include<string>
using namespace std;
#define rep(i, n) for (int i = 0; i <(int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define ll long long
int main(){
int n,k;cin>>n>>k;
int ans=0;
if(10>=n)ans=k;
else ans=100*(10-k)+K;
cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:21: error: 'K' was not declared in this scope
   13 | else ans=100*(10-k)+K;
      |                     ^
Language: C++

#include <iostream>
using namespace std;
#include stl
int main()
{ int n, x[100], m;
 cin >> n;
 for(int i=0; i<n; i++)
 { cin >> x[i];  }
 sort(x, x+n);
 if(n%2 == 0)
  m = x[(n-1)/2];
 else
   m = x[n/2];
 cout << m << endl;  
}


Compiler output:
a.cc:3:10: error: #include expects "FILENAME" or <FILENAME>
    3 | #include stl
      |          ^~~
a.cc: In function 'int main()':
a.cc:9:2: error: 'sort' was not declared in this scope; did you mean 'short'?
    9 |  sort(x, x+n);
      |  ^~~~
      |  short
Language: C++

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

int main() {
int N, R;
cin >> N >> R;
if(N>=10) cout << R << endl;
else cout << R+ 100*(10-K) << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: 'K' was not declared in this scope
    8 | else cout << R+ 100*(10-K) << endl;
      |                         ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i <= (int)(n); i++)
typedef int64_t Int;

int main(){ 
  int N, R, I;
  cin >> N >> R;
  
  if (N >= 10) I = R;
  else I = R + 100 * (10 - K);
  
  cout << I << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:28: error: 'K' was not declared in this scope
   12 |   else I = R + 100 * (10 - K);
      |                            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define pii pair<int,int>
const long long MOD=1e9+7;

int main() {
  int n,r;
  cin>>n>>r;
  if(n>=10) cout<<r<<endl;
  else cout<<r-100*(10-k)<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:24: error: 'k' was not declared in this scope
   12 |   else cout<<r-100*(10-k)<<endl;
      |                        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a,b;
  cin >> a >> b;
  a=min(a,10)
  cout << b-100*(10-a) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected ';' before 'cout'
    6 |   a=min(a,10)
      |              ^
      |              ;
    7 |   cout << b-100*(10-a) << endl;
      |   ~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:9:10: error: 'b' undeclared (first use in this function)
    9 |          b=r+s;
      |          ^
main.c:9:10: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:10: error: 's' undeclared (first use in this function)
    8 |          s=100*(10-n);
      |          ^
main.c:8:10: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:10: error: 'b' undeclared (first use in this function)
    9 |          b=r+s;
      |          ^
Language: C++

n,r=map(int,input().split())
if n < 10:
  print(str(r+100*(10-n))+"\n")
else:
  print(str(r)+"\n")


Compiler output:
a.cc:1:1: error: 'n' does not name a type
    1 | n,r=map(int,input().split())
      | ^
Language: C++

#include <iostream>
#include <vector>
 
int main(void) {
  auto N = 0;
  auto K = 0;
  std::cin >> N >> K;
  std::vector<int> vec;
  while (N != 0) {
    vec.push_back(N%K);
    N /= K;
  }
  std::cout << vect.size();
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:16: error: 'vect' was not declared in this scope; did you mean 'vec'?
   13 |   std::cout << vect.size();
      |                ^~~~
      |                vec
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ld long double
#define ll long long
#define pb push_back
#define F first
#define S second
const int mod = 1e9 + 7, A = 2e3 + 2;

int main()
{
    ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
  	itn n, m;
  cin >> n >> m;
  int x = 0;
  if (n < 10) 
    x = 100 * (10 - n);
  cout << m + x;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'itn' was not declared in this scope; did you mean 'int'?
   13 |         itn n, m;
      |         ^~~
      |         int
a.cc:14:10: error: 'n' was not declared in this scope; did you mean 'yn'?
   14 |   cin >> n >> m;
      |          ^
      |          yn
a.cc:14:15: error: 'm' was not declared in this scope; did you mean 'tm'?
   14 |   cin >> n >> m;
      |               ^
      |               tm
Language: C++

#include<stdio.h>
#include<math.h>
#include<string.h>

int main()
{
	int a, b;
	scanf("%d %d", &a, &b);
  if(a<10) printf("%d", b+100*(10-a));
  else printf("%d", b)
 

		return 0;
	
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected ';' before 'return'
   10 |   else printf("%d", b)
      |                       ^
      |                       ;
......
   13 |                 return 0;
      |                 ~~~~~~