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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int d,m;
  cin >> d >> m;
  if(m<100){
    cout << m;
    for(int i=0;i<d;i++){
      cout << 0;
    }
  }
  else{
    cout << 101;
    for(int i=0;i<d;i++){
      cout << 0;
    }
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,m;
  cin >> n >> m;
  if(m<100){
    cout << m;
    for(int i=0;i<d;i++){
      cout << 0;
    }
  }
  else{
    cout << 101;
    for(int i=0;i<d;i++){
      cout << 0;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: 'd' was not declared in this scope
    8 |     for(int i=0;i<d;i++){
      |                   ^
a.cc:14:19: error: 'd' was not declared in this scope
   14 |     for(int i=0;i<d;i++){
      |                   ^
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(){
    int d,n;scanf("%d %d",&d,&n);
    printf("%lld\n",(long long int)pow(100,d)*n);
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int d,n;
	cin>>d>>n;
	while(n1)
	{
		if(n%10!=0)break;
		n=n/10;
	}
	if(d==0)
	{
		cout<<n;
		return 0;
	}
	if(d==1)
	{
		cout<<n*100;
		return 0;
	}
	if(d==2)
	{
		cout<<n*10000;
		return 0;
	}
	return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'n1' was not declared in this scope; did you mean 'n'?
    7 |         while(n1)
      |               ^~
      |               n
Language: C++

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

int calc(int x){
  int ret = 0;
  while(x % 100 == 0){
    x /= 100;
    ret++;
  }
  return ret;
}

int main(){
  int D , N ;
  cin >> D >> N;
  int cnt =0,val =0;
  while(cnt < N){
    ++val;
    if(calc(val)) == D) ++cnt;
  }
  cout << val << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:19: error: expected primary-expression before '==' token
   19 |     if(calc(val)) == D) ++cnt;
      |                   ^~
Language: C++

macro_rules! input {
    (source = $s:expr, $($r:tt)*) => {
        let mut iter = $s.split_whitespace();
        input_inner!{iter, $($r)*}
    };
    ($($r:tt)*) => {
        let s = {
            use std::io::Read;
            let mut s = String::new();
            std::io::stdin().read_to_string(&mut s).unwrap();
            s
        };
        let mut iter = s.split_whitespace();
        input_inner!{iter, $($r)*}
    };
}

macro_rules! input_inner {
    ($iter:expr) => {};
    ($iter:expr, ) => {};

    ($iter:expr, $var:ident : $t:tt $($r:tt)*) => {
        let $var = read_value!($iter, $t);
        input_inner!{$iter $($r)*}
    };
}

macro_rules! read_value {
    ($iter:expr, ( $($t:tt),* )) => {
        ( $(read_value!($iter, $t)),* )
    };

    ($iter:expr, [ $t:tt ; $len:expr ]) => {
        (0..$len).map(|_| read_value!($iter, $t)).collect::<Vec<_>>()
    };

    ($iter:expr, chars) => {
        read_value!($iter, String).chars().collect::<Vec<char>>()
    };

    ($iter:expr, usize1) => {
        read_value!($iter, usize) - 1
    };

    ($iter:expr, $t:ty) => {
        $iter.next().unwrap().parse::<$t>().expect("Parse error")
    };
}

const INF: usize = 1 << 50;

fn main() {
    input! {
    d: usize,
    n: usize,
    }
    println!("{}", 100_i32.pow(d as u32) * n as i32);
}


Compiler output:
a.cc:34:10: error: too many decimal points in number
   34 |         (0..$len).map(|_| read_value!($iter, $t)).collect::<Vec<_>>()
      |          ^~~~~~~
a.cc:1:1: error: 'macro_rules' does not name a type
    1 | macro_rules! input {
      | ^~~~~~~~~~~
a.cc:18:1: error: 'macro_rules' does not name a type
   18 | macro_rules! input_inner {
      | ^~~~~~~~~~~
a.cc:28:1: error: 'macro_rules' does not name a type
   28 | macro_rules! read_value {
      | ^~~~~~~~~~~
a.cc:50:10: error: found ':' in nested-name-specifier, expected '::'
   50 | const INF: usize = 1 << 50;
      |          ^
      |          ::
a.cc:50:7: error: 'INF' does not name a type
   50 | const INF: usize = 1 << 50;
      |       ^~~
a.cc:52:1: error: 'fn' does not name a type
   52 | fn main() {
      | ^~
Language: C++

#include<iostream>
using namespace std;
int main(void){
  long long int d ,n, cnt=0, tmp;
  cin >> d >> n;
  if(d==0) {
    if(n==100) cout << 101 << endl;
    else cout << n << endl;
  }
  if(d==1) {
    if(n==100) cout << 10100 << endl;
    else cout << 100 * n << endl;
  }
  if(d==2) {
    if(n==100_ cout << 10000 * 101;
    else cout << 10000 * n << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:11: error: unable to find numeric literal operator 'operator""_'
   15 |     if(n==100_ cout << 10000 * 101;
      |           ^~~~
a.cc:16:5: error: expected primary-expression before 'else'
   16 |     else cout << 10000 * n << endl;
      |     ^~~~
a.cc:15:36: error: expected ')' before 'else'
   15 |     if(n==100_ cout << 10000 * 101;
      |       ~                            ^
      |                                    )
   16 |     else cout << 10000 * n << endl;
      |     ~~~~
Language: C++

#include<iostream>
#include<vector>
#include<string>


using namespace std;

int main(){
	int d;
	int n;
	cin >> d >> n;
	cout << pow(100, d)*n;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: 'pow' was not declared in this scope
   12 |         cout << pow(100, d)*n;
      |                 ^~~
Language: C++

using namespace std;
long long n,a[100500],ans,d;
int main()
{
  cin>>d>>n;
  ans=1;
  for(i=1;i<=d;i++)
   ans*=100;
  cout<<ans*n;
   
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>d>>n;
      |   ^~~
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:7:7: error: 'i' was not declared in this scope
    7 |   for(i=1;i<=d;i++)
      |       ^
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout<<ans*n;
      |   ^~~~
a.cc:9:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <stdc++.h>
using namespace std;
int main(){
  ll d,n;
  cin >> d >> n;
  ll ans = 1;
  REP(i,d){ans*=100;}
  cout << ans*n << endl;
  return 0;
  
}

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

#include <bits/stdc++.h> 
using namespace std;
#define rep(i,n) for(ll i=0;i<n;i++)
#define all(vec) vec.begin(), vec.end()
#define tmax(x,y,z) max((x),max((y),(z)))
#define tmin(x,y,z) min((x),min((y),(z)))
typedef long long ll;ll MM = 1000000000;ll mod = MM + 7; ll MMM=9223372036854775807;//2^63 -1
typedef vector<ll> lvec;typedef vector<double> dvec;typedef vector<string> svec;
ll GCD(ll x, ll y) {if (y == 0) return x;else return GCD(y, x % y);}
ll LCM(ll x, ll y) { return x / GCD(x, y) * y;}
//cout << fixed << setprecision(10);

int main(){
  ll d, n;
  cin>>d>>n;
  ll ans=pow(100,d)*n;
  if(n==100) ans=pow(100,d)*101
  cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:32: error: expected ';' before 'cout'
   17 |   if(n==100) ans=pow(100,d)*101
      |                                ^
      |                                ;
   18 |   cout<<ans<<endl;
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
	 int d, n;
        in >> d >> n;
        if(d == 0){
            if(n == 100) out << 101 << endl;
            else out << n << endl;
        }else if(d == 1){
            if(n == 100) out << n*100 + 100 << endl;
            else out << n*100 << endl;
        }else if(d == 2){
            if(n == 100) out << n*10000 + 10000 << endl;
            else out << n*10000 << endl;
        }
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'in' was not declared in this scope; did you mean 'n'?
    6 |         in >> d >> n;
      |         ^~
      |         n
a.cc:8:26: error: 'out' was not declared in this scope
    8 |             if(n == 100) out << 101 << endl;
      |                          ^~~
a.cc:9:18: error: 'out' was not declared in this scope
    9 |             else out << n << endl;
      |                  ^~~
a.cc:11:26: error: 'out' was not declared in this scope
   11 |             if(n == 100) out << n*100 + 100 << endl;
      |                          ^~~
a.cc:12:18: error: 'out' was not declared in this scope
   12 |             else out << n*100 << endl;
      |                  ^~~
a.cc:14:26: error: 'out' was not declared in this scope
   14 |             if(n == 100) out << n*10000 + 10000 << endl;
      |                          ^~~
a.cc:15:18: error: 'out' was not declared in this scope
   15 |             else out << n*10000 << endl;
      |                  ^~~
a.cc: At global scope:
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: C++

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

int main(){
  int D,N;
  cin>>D>>N;
  
  if(D==0){
    if(N==100){
      cout<<101<<endl;
    }else{
      cout<N<<endl;
    }
  }else if(D==1){
    if(N==100){
      cout<<10100<<endl;
    }else{
      cout<<100*N<<endl;
    }
  }else{
    if(N==100){
      cout<<1010000<<endl;
    }else{
      cout<<10000*N<<endl;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |       cout<N<<endl;
      |            ~^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
	int d,n;
  cin>>d>>n;
  if(n==100)n++;
  if(d==1)cout<<n<<"00"<<endl;
  else if(d==2)cout<<n<<"0000"<<endl;
  else cout<<n<<endl;}
  return 0;
}

Compiler output:
a.cc:10:3: error: expected unqualified-id before 'return'
   10 |   return 0;
      |   ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

int main(){
  int d,n;cin >> d >> n;
  if (d == 0)c=1;
  else if (d == 1)c=100;
  else c = 10000;
  //int c = pow(100,d);
  cout << c*n << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 'c' was not declared in this scope
    6 |   if (d == 0)c=1;
      |              ^
a.cc:7:19: error: 'c' was not declared in this scope
    7 |   else if (d == 1)c=100;
      |                   ^
a.cc:8:8: error: 'c' was not declared in this scope
    8 |   else c = 10000;
      |        ^
a.cc:10:11: error: 'c' was not declared in this scope
   10 |   cout << c*n << endl;
      |           ^
Language: Java

import java.util.*;

import com.oracle.webservices.internal.api.EnvelopeStyle;

import java.lang.*;
import java.io.*;

class Main{

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

		if(D == 0)
			System.out.println(N);
		else if(D == 1)
			System.out.println(100*N);
		else 
			System.out.println(1000*N);

	}
}

Compiler output:
Main.java:3: error: package com.oracle.webservices.internal.api does not exist
import com.oracle.webservices.internal.api.EnvelopeStyle;
                                          ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {

    int D, N;

    cin >> D >> N;
    int ans;

    if( N < 100 )
    {
        ans = N;
    }
    else
    {
        ans = N+1;
    }
    
    for( i = 0; i < D; i++ )
    {
        ans *= 100;
    }

    cout << ans;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:10: error: 'i' was not declared in this scope
   20 |     for( i = 0; i < D; i++ )
      |          ^
Language: C++

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

int main() {

	int N,M;
	cin>>N>>M;
  if(N==0){cout<<M<<endl;}
  else if(N==!){cout<<100*M<<endl;}
  else{cout<<10000*M<<endl;}
	
	//cout<< <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected primary-expression before ')' token
    9 |   else if(N==!){cout<<100*M<<endl;}
      |               ^
Language: Java

public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String str = scan.nextLine();
    String[] datas = str.split(" ");
    int a_i = Integer.parseInt(datas[0]);
    int b_i = Integer.parseInt(datas[1]);
    int tmp = 100 * a_i; 
    if (tmp == 0) {
      System.out.println(b_i);
    } else {
      System.out.println(b_i * tmp);
    }
  }
}

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

import java.util.Scanner;

public class Main {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String str = scan.nextLine();
    String[] datas = str.split(" ");
    int a_i = Integer.parseInt(datas[0]);
    int b_i = Integer.parseInt(datas[1]);
    int tmp = 100 * a_i; 
    if (tmp == 0) {
      System.out.println(b_i);
    } else {
      System.out.println(b_i * tmp);
    }
  }
}

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

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

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

    switch (D) {
        case 0:
            cout << N;
            break;
        case 1:
            if (N != 100) {
                cout << N*100;
            } else {
                cout << 101*100;
            }
            break;
        case 2:
            if (N != 100) {
                cout << N*10000;
            } else {
                cout << 101*10000
            }
            break;
        default:
            break;
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:26:34: error: expected ';' before '}' token
   26 |                 cout << 101*10000
      |                                  ^
      |                                  ;
   27 |             }
      |             ~
Language: C

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))
#define bit(n,m)(((n)>>(m))&1)
int upll(const void*a, const void*b){return*(ll*)a<*(ll*)b?-1:*(ll*)a>*(ll*)b?1:0;}
int downll(const void*a, const void*b){return*(ll*)a<*(ll*)b?1:*(ll*)a>*(ll*)b?-1:0;}
void sortup(ll*a,int n){qsort(a,n,sizeof(ll),upll);}
void sortdown(ll*a,int n){qsort(a,n,sizeof(ll),downll);}
ll pom(ll a,ll n,int m){ll x=1;for(a%=m;n;n/=2)n&1?x=x*a%m:0,a=a*a%m;return x;}
//#define MOD 998244353
#define MOD 1000000007
#define invp(a,p)pom(a,p-2,p)
 
int main(){
    int d,n;
    scanf("%d %d",&d,&n);
if(d==0){
  printf("%d",n);
  return 0;
}
  else if(d==1){
    printf("%d",n*100);
    return 0;
  }
  else
    printf("%d",n*10000);
return 0;
}

  return 0;
}

Compiler output:
main.c:37:3: error: expected identifier or '(' before 'return'
   37 |   return 0;
      |   ^~~~~~
main.c:38:1: error: expected identifier or '(' before '}' token
   38 | }
      | ^
Language: Java

import java.util.Scanner;

public class Main{
  static int warizan(int p){
    int n = p;
    int c = 0;//カウント
    while(true){
      n = n/100;
      if(n==0){
        break;
      }
      c += 1;
    }
    if(p%Math.pow(100,c)==0){
      return c;
    }else{
      return -1;
    }

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

    i = Math.pow(100,n) * (m+m/100);
    System.out.println(i);
  }
}

Compiler output:
Main.java:27: error: incompatible types: possible lossy conversion from double to int
    i = Math.pow(100,n) * (m+m/100);
                        ^
1 error
Language: Java

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

   int a ;
   if(N = 100) a = 101; 
   else a = N;
   
   if(D==0) System.out.println(a);
   else if(D==1) System.out.println(a*100);
   else if(D==2) System.out.println(a*10000);
 }
}

Compiler output:
Main.java:9: error: incompatible types: int cannot be converted to boolean
   if(N = 100) a = 101; 
        ^
1 error
Language: C++

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<n;++i)
#include<string>
using namespace std;
typedef long long ll;
//max=({});

int main() {
	int d, n;
	cin >> d >> n;
	cout << 100^d * n << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |         cout << 100^d * n << endl;
      |                     ~~~~~~^~~~~~~
Language: C++

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<n;++i)
#include<string>
using namespace std;
typedef long long ll;
//max=({});

int main() {
	int d, n;
	cin >> d >> n;
	else cout << 100^d * n << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'else' without a previous 'if'
   11 |         else cout << 100^d * n << endl;
      |         ^~~~
a.cc:11:32: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |         else cout << 100^d * n << endl;
      |                          ~~~~~~^~~~~~~
Language: C++

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

int main(){
    int D;
    int N;
    cin >> D >> N;

if(N != 100){
    if(D == 0) cout << N << endl;
    else if (D == 1) cout << N * 100 << endl;
    else cout << N * 10000 << endl;
]
else{
    if(D == 0) cout << 101 << endl;
    else if (D == 1) cout << 10100 << endl;
    else cout << 1010000 << endl;    
}
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:1: error: expected primary-expression before ']' token
   13 | ]
      | ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
#include<math.h>
using namespace std;
int main()
{
  long long d,n;
  cin>>d>>n;
  long long a=n*pow(100,d)
  cout<<a<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'cout'
    9 |   cout<<a<<endl;
      |   ^~~~
Language: C++

#include<iostream>
#include<math.h>
using namespace std;
int main()
{
  int d,n;
  cin>>d>>n;
  cout<<n*power(100,d)<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'power' was not declared in this scope
    8 |   cout<<n*power(100,d)<<endl;
      |           ^~~~~
Language: C++

#include<iostream>
#include<math>
using namespace std;
int main()
{
  int d,n;
  cin>>d>>n;
  cout<<n*power(100,d)<<endl;
  return 0;
}

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

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

int main(){
  double count=0;
  int D,N;
  cin>>D>>N;
  if(N==100){
  N++;
  }
  cout<<pow(100,D)*N
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected ';' before '}' token
   12 |   cout<<pow(100,D)*N
      |                     ^
      |                     ;
   13 | }
      | ~
Language: C++

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

int main(){
  double count=0;
  int D,N;
  cin>>D>>N;
  cout<<pow(100,D)*N;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin>>D>>N;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'count'?
    9 |   cout<<pow(100,D)*N;
      |   ^~~~
      |   count
a.cc:9:9: error: 'pow' was not declared in this scope
    9 |   cout<<pow(100,D)*N;
      |         ^~~
Language: C++

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

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

  int ans = pow(100, D) * N

  cout << ((N > 100) ? ans : ans + pow(100, D) << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: expected ',' or ';' before 'cout'
   10 |   cout << ((N > 100) ? ans : ans + pow(100, D) << "\n";
      |   ^~~~
Language: C++

fun next() = readLine()!!
fun nextInt() = next().toInt()
fun nextLong() = next().toLong()
fun nextDouble() = next().toDouble()
fun listOfString() = next().split(" ")
fun listOfInt() =listOfString().map { it.toInt() }
fun listOfLong() =listOfString().map { it.toLong() }
fun listOfDouble() =listOfString().map { it.toDouble() }
fun main(args:Array<String>){
  var (d,n) = listOfInt()
  var v = if(d==0) 1 else if(d==1) 100 else 10000
  println(v*n)
}


Compiler output:
a.cc:1:1: error: 'fun' does not name a type
    1 | fun next() = readLine()!!
      | ^~~
a.cc:7:1: error: 'fun' does not name a type
    7 | fun listOfLong() =listOfString().map { it.toLong() }
      | ^~~
a.cc:8:1: error: 'fun' does not name a type
    8 | fun listOfDouble() =listOfString().map { it.toDouble() }
      | ^~~
a.cc:9:1: error: 'fun' does not name a type
    9 | fun main(args:Array<String>){
      | ^~~
Language: C++

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

int D,N;
int main()
{
    cin>>D>>N;
    cout<<(100**D)*N<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:16: error: invalid type argument of unary '*' (have 'int')
   12 |     cout<<(100**D)*N<<endl;
      |                ^~
Language: Java

import java.util.Scanner;
public class Q2 {

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

			System.out.println(n*Math.pow(10, n));
			scan.close();
		}
}

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

	import java.util.*;
	public class Main { 
		public static void main(String[] args){
			Scanner sc = new Scanner(System.in);
			int d = sc.nextInt();
			int n = sc.nextInt();
			int ans = 0;
			ans = Math.pow(10, d) * n;
			System.out.println(ans);
	     }
	}

Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to int
			ans = Math.pow(10, d) * n;
			                      ^
1 error
Language: Java

import java.util.*;
public class Ringos{
  public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
	int d=(int)Math.pow(100,a);
    int c=b*d;
    System.out.println(c);
	
  }
}

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

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
  int d,n,result;
  cin>>d>>n;
  if(d==0 && n==100){
    result=101;
  }
  if(d==1 && n==100){
    result=10001;
  }
  if(d==2 && n=100){
    result=1000001;
  }
  result=n*pow(100,d);
  cout << result << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:11: error: lvalue required as left operand of assignment
   14 |   if(d==2 && n=100){
      |      ~~~~~^~~~
Language: C++

#include<iostream>
using namespace std;
int main(void) {
	int d, n;
	cin >> d >> n;
	cout << pow(100, d)*n << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: 'pow' was not declared in this scope
    6 |         cout << pow(100, d)*n << endl;
      |                 ^~~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int d,n,ans=0;
  cin>>d>>n;
  if(d==0){
    ans=(n==100?101:n);
  }
  else if(d==1){
    ans=(n==100?100*(n+1):100*n);
  }
  else if(d==2){
    ans=(n==100?10000*(n+1):10000*)n;
  }
  cout<<ans<<endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:35: error: expected primary-expression before ')' token
   14 |     ans=(n==100?10000*(n+1):10000*)n;
      |                                   ^
Language: C++

#include<iostream>
using namespace std;

int main(){
  int d,n,ans=0;
  cin>>d>>n;
  if(d==0){
    ans=(n==100?101:n);
  }
  else if(d==1){
    ans=(n==100?100*(n+1):100*n);
  }
  else if(d==2){
    ans=(n==100?10000*(n+1):10000*n;
  }
  cout<<ans<<endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:36: error: expected ')' before ';' token
   14 |     ans=(n==100?10000*(n+1):10000*n;
      |         ~                          ^
      |                                    )
Language: C++

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

int main(){ 
    int d,n;
    cin>>d>>n;
    if(d==0){
        if(n==100){
            cout<<101;
        }else{
            cout <<n;
        }
    }else if(d==1){
        if(n==100){
            cout<<10100;
        }else{
            cout<<100*n;
        }
    }else{
        if(n==100){
            cout<<1010000;
        }else{
            cout<<10000*n
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:26: error: expected ';' before '}' token
   23 |             cout<<10000*n
      |                          ^
      |                          ;
   24 |         }
      |         ~
Language: C++

#include <bits/stdc++.h>

using namespace std;

typedef long long int ll;

vector <pair <ll,ll> > veca;
int main()
{
    ll n,a,b,b1,c,c1,i,j,k,p,q,sum;
    sum=1;
    p=0;
    cin >> a >> b;
    if (a==0&&b==100)
        cout << 101 << endl;
    else if (a==0&&b!=100)
        cout << b;
    else if (a==1)&&(b!=100)
        cout << b*100 << endl;
    else if (a==1)&&(b==100)
        cout << (b*100)+100 << endl;
    else if (a==2)&&(b!=100)
        cout << b*10000 << endl;
    else if (a==2)&&(b==100)
        cout << (b*10000)+10000 << endl;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:18:21: error: expected identifier before '(' token
   18 |     else if (a==1)&&(b!=100)
      |                     ^
a.cc:20:21: error: expected identifier before '(' token
   20 |     else if (a==1)&&(b==100)
      |                     ^
a.cc:22:21: error: expected identifier before '(' token
   22 |     else if (a==2)&&(b!=100)
      |                     ^
a.cc:24:21: error: expected identifier before '(' token
   24 |     else if (a==2)&&(b==100)
      |                     ^
Language: C++

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


int main(){
  int D, N;
  cin >> D >> N;
  long long ans;
  if(D == 0){
    if(n == 100){
      cout << N << endl;
      return 0;
    }
    ans =N;
    cout << ans << endl;
  }else if(D == 1){
    if(N == 100){
      cout << N << endl;
      return 0;
    }
    ans = N*100;
    cout << ans << endl;
  }else{
    if(N == 100){
      cout << 10000 << endl;
      return 0;
    }
    ans = N*10000;
    cout << ans << endl;
  }

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: 'n' was not declared in this scope
   12 |     if(n == 100){
      |        ^
Language: C++

#include <iostream>
using namespace std;
int main()
{
  int D,N,a=1,cou=0;
  cin>>D>>N;
  if(D==0){
    if(N==100){cout<<"101"<<endl; break;}
      cout<<N<<endl;
    }

  if(D==1){cout<<N<<"00"<<endl;}
  else{cout<<N<<"0000"<<endl;}
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:35: error: break statement not within loop or switch
    8 |     if(N==100){cout<<"101"<<endl; break;}
      |                                   ^~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int d,n;
  cin>>d>>n;
  int hund=1;
  for(int i=0;i<d;i++){
    hund*=100;
  }
  if(n==100)cout<<n*hund+1<<endl;ßå
  else cout<<n*hund<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:34: error: '\U000000df\U000000e5' was not declared in this scope
   10 |   if(n==100)cout<<n*hund+1<<endl;ßå
      |                                  ^~
Language: C++

a=gets.stlip.split.map(&:to_i)
if a[0]==0
  puts a[1]
else
  puts (100**a[0])*a[1]
end

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a=gets.stlip.split.map(&:to_i)
      | ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int N ,D,i=1,j, count = 0;
  cin >> D >> N;

  while(i != N){
    bool flag = false;

    int k = j;

    for(int l = 1; l != D;++l){
      k /= 100
    }

    if(k == 0)
      flag = true;

    if(flag)
      ++i;
    ++j;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:15: error: expected ';' before '}' token
   13 |       k /= 100
      |               ^
      |               ;
   14 |     }
      |     ~
Language: C++

#include<algorithm>//sort(all(変数),greater<型名>())　で降順に
#include<cmath>//切り上げceil(値)
#include<deque>
#include<iomanip>//setprecision(数字)
#include<iostream>
#include<list>
#include<map>
#include<numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd
#include<queue>//priority_queue<型名> 変数：優先度付きキュー　最大値の探索が早い
#include<set>
#include<stack>
#include<string>
#include<vector>
#include<cstdio>
#include<cstdlib>
#include<tuple>
#include<utility>
#define rep0(i,n)  for(ll i=0; i<n; i++)
#define rrep0(i,n) for(ll i=n-1; 0<=i; i--)
#define rep1(i,n)  for(ll i=1; i<=n; i++)
#define rrep1(i,n) for(ll i=n; 1<=i; i--)
#define vll vector<ll>
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define mod 1000000007
using namespace std;

int main(){
  int d,n;  cin >> d >> n;
  set<int> st;
  int count = n;
  rep0(i,100){
    if(i*d == 100){
      count--;
    }
    if(count == 0){
      cout << i;
      return 0;
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:24: error: 'll' was not declared in this scope; did you mean 'vll'?
   18 | #define rep0(i,n)  for(ll i=0; i<n; i++)
      |                        ^~
a.cc:32:3: note: in expansion of macro 'rep0'
   32 |   rep0(i,100){
      |   ^~~~
a.cc:32:8: error: 'i' was not declared in this scope
   32 |   rep0(i,100){
      |        ^
a.cc:18:32: note: in definition of macro 'rep0'
   18 | #define rep0(i,n)  for(ll i=0; i<n; i++)
      |                                ^
Language: C++

#include<algorithm>//sort(all(変数),greater<型名>())　で降順に
#include<cmath>//切り上げceil(値)
#include<deque>
#include<iomanip>//setprecision(数字)
#include<iostream>
#include<list>
#include<map>
#include<numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd
#include<queue>//priority_queue<型名> 変数：優先度付きキュー　最大値の探索が早い
#include<set>
#include<stack>
#include<string>
#include<vector>
#include<cstdio>
#include<cstdlib>
#include<tuple>
#include<utility>
#define rep0(i,n)  for(ll i=0; i<n; i++)
#define rrep0(i,n) for(ll i=n-1; 0<=i; i--)
#define rep1(i,n)  for(ll i=1; i<=n; i++)
#define rrep1(i,n) for(ll i=n; 1<=i; i--)
#define vll vector<ll>
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define mod 1000000007
typedef ll long long
using namespace std;

int main(){
  int d,n;  cin >> d >> n;
  set<int> st;
  int count = n;
  rep0(i,100){
    if(i*d == 100){
      count--;
    }
    if(count == 0){
      cout << i;
      return 0;
    }
  }
}


Compiler output:
a.cc:26:9: error: 'll' does not name a type; did you mean 'vll'?
   26 | typedef ll long long
      |         ^~
      |         vll
a.cc: In function 'int main()':
a.cc:30:13: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   30 |   int d,n;  cin >> d >> n;
      |             ^~~
      |             std::cin
In file included from a.cc:5:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:31:3: error: 'set' was not declared in this scope
   31 |   set<int> st;
      |   ^~~
a.cc:31:3: note: suggested alternatives:
In file included from /usr/include/c++/14/set:63,
                 from a.cc:10:
/usr/include/c++/14/bits/stl_set.h:96:11: note:   'std::set'
   96 |     class set
      |           ^~~
/usr/include/c++/14/set:87:13: note:   'std::pmr::set'
   87 |       using set = std::set<_Key, _Cmp, polymorphic_allocator<_Key>>;
      |             ^~~
a.cc:31:7: error: expected primary-expression before 'int'
   31 |   set<int> st;
      |       ^~~
a.cc:18:24: error: 'll' was not declared in this scope; did you mean 'vll'?
   18 | #define rep0(i,n)  for(ll i=0; i<n; i++)
      |                        ^~
a.cc:33:3: note: in expansion of macro 'rep0'
   33 |   rep0(i,100){
      |   ^~~~
a.cc:33:8: error: 'i' was not declared in this scope
   33 |   rep0(i,100){
      |        ^
a.cc:18:32: note: in definition of macro 'rep0'
   18 | #define rep0(i,n)  for(ll i=0; i<n; i++)
      |                                ^
a.cc:38:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   38 |       cout << i;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
  int D,N,ans = 0;
  cin >> D >> N;
  ans = N;
  int tmp = 1;
  for(int i=0;i<D;i++){
    tmp *= 100;
  }
  if(N == 100) ans = ;
  else ans = tmp * N;
  cout << ans << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: expected primary-expression before ';' token
   12 |   if(N == 100) ans = ;
      |                      ^
Language: C++

#include<algorithm>//sort(all(変数),greater<型名>())　で降順に
#include<cmath>//切り上げceil(値)
#include<deque>
#include<iomanip>//setprecision(数字)
#include<iostream>
#include<list>
#include<map>
#include<numeric> //xとyの最大公約数は__gcd(x,y),xとyの最小公倍数は(x*y)/__gcd
#include<queue>//priority_queue<型名> 変数：優先度付きキュー　最大値の探索が早い
#include<set>
#include<stack>
#include<string>
#include<vector>
#include<bits/stdc++.h>
#include<cstdio>
#include<cstdlib>
#include<tuple>
#include<utility>
#define rep0(i,n)  for(ll i=0; i<n; i++)
#define rrep0(i,n) for(ll i=n-1; 0<=i; i--)
#define rep1(i,n)  for(ll i=1; i<=n; i++)
#define rrep1(i,n) for(ll i=n; 1<=i; i--)
#define vll vector<ll>
#define vi vector<int>
#define all(x) (x).begin(),(x).end()
#define mod 1000000007
using ll = long long;
using namespace std;

int main(){
  int d,n;  cin >> d >> n;
  set<int> st;
  rep0(i,100){
    if(i*d == 100){
      st.insert(i);
    }
  }
  auto *p = st.begin();
  rep0(i,n){
    p++;
  }
  cout << *p;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:38:21: error: unable to deduce 'auto*' from 'st.std::set<int>::begin()'
   38 |   auto *p = st.begin();
      |             ~~~~~~~~^~
a.cc:38:22: note:   mismatched types 'auto*' and 'std::_Rb_tree_const_iterator<int>'
   38 |   auto *p = st.begin();
      |                      ^
Language: C++

#include<iostream>
#include <cmath>
#include<cstdio>
using namespace std;


int main() {
	long long int D, N;
	long long int ans = 0;
	cin >> D >> N;
	if (D == 0) {
		if (N != 100) {
			ans = N;
		}
		else ans = 101;
	}
	else if (D == 1) {
		if (N != 100) {
			ans = 100 * N;
		}
		else ans = 10100
	}
	else if (D == 2) {
		if (N != 100) {
			ans = 10000 * N;
		}
		else ans = 1000100;
	}
	cout << ans << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:33: error: expected ';' before '}' token
   21 |                 else ans = 10100
      |                                 ^
      |                                 ;
   22 |         }
      |         ~
Language: C

##include<stdio.h>
int main(void){
  
  	int d=0;
  	int n=0;
  	
  	scanf("%d %d",&d,&n);
   switch(d){
      case 0:
        printf("%d",n);break;
      case 1:
        printf("%d",n);printf("00");break;
      case 2:
         printf("%d",n);printf("0000");break;
    }
}


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

#include<iostream>
using namespace std;

int main(){
    int d, n;
    cin >> d >> n;
    if(n!=100){
    if(d==0){
        cout << n << endl;
    }
    else if(d==1){
        cout << 100*n << endl;
    }
    else if(d==2){
        cout << 10000*n << endl;
    }
    }

    else{
        if(d==0)cout << "101";
        else if(d==1) cout << "10100";
    }
    }

    return 0;
}


Compiler output:
a.cc:25:5: error: expected unqualified-id before 'return'
   25 |     return 0;
      |     ^~~~~~
a.cc:26:1: error: expected declaration before '}' token
   26 | }
      | ^
Language: C++

#include<stdio.h>
#include<conio.h>
#include<iostream>
#include<cmath>

using namespace std;
int main()
{
	
		int D, N, V;
		cin >> D >> N;
		if (D >= 0 && D <= 2 && N >= 0 && N <= 100) {
			V = N * pow(100, D);
			cout << V;

		
	}
}

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


#include<iostream>

using namespace std;
int main()
{
	int D, N, V;
	cin >> D;
	cout << " ";
	cin >> N;
	if (D >= 0 && D <= 2 && N >= 0 && N <= 1000) {
		V = N * pow(100, D);
		cout << V;

	}
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: 'pow' was not declared in this scope
   12 |                 V = N * pow(100, D);
      |                         ^~~
Language: C++

#include<iostream>

using namespace std;
int main()
{
	int D, N, V;
	cin >> D;
	cout << " ";
	cin >> N;
	if (D == (0 || 1 || 2) && N < 100 && N > 0) {
		for (int i = 0; i <= D; i++) {
			100 * i;

			V = 100 * i;
		}
		for (int x = 1; x <= x + 1; x++) {
			if (V == 0) {
				V = 1;
			}

			if ((x / V) == N) {
				cout << x;
				break;
			}
		}
	}

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

#include<iostream>

using namespace std;
int main()
{
	int D, N, V;
	cin >> D;
	cout << " ";
	cin >> N;
	for (int i = 0; i <= D; i++) {
		100 * i;
		V = !00 * i;
	}
	for(int x = 0; x <= x + 1; x++) {
		if (x / V == N) {
			cout << x;
			break;
		}
	}



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

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

int main(){
  int D, N;
  cin >> D >> N;
  if(N==100) int ans = 101 * pow(100,D);
  else{
     int ans = N * pow(100, D);
  }
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: C++

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

int main(){
  int D, N;
  cin >> D >> N;
  if(N==100) int ans = 101 * pow(100,D);
  else int ans = N * pow(100, D);
  cout << ans << endl;
}
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |   cout << ans << endl;
      |           ^~~
      |           abs
Language: Java

import java.util.Scanner;
 
class Main{
	public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
      	int D = sc.nextInt();
      	int N = sc.nextInt();
      	sc.close();
      	if(N != 100){
        	System.out.println(pow(100,D)*N);
        }
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        	System.out.println(pow(100,D)*N);
        	                   ^
  symbol:   method pow(int,int)
  location: class Main
1 error
Language: Java

import java.util.Scanner;
 
class main{
	public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
      	int D = sc.nextInt();
      	int N = sc.nextInt();
      	sc.close();
      	if(N != 100){
        	System.out.println(pow(100,D)*N);
        }
    }
}


Compiler output:
Main.java:10: error: cannot find symbol
        	System.out.println(pow(100,D)*N);
        	                   ^
  symbol:   method pow(int,int)
  location: class main
1 error
Language: Java

import java.util.Scanner;

class main{
	public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);
      	int D = sc.nextInt();
      	int N = sc.nextInt();
      	if(N != 100){
        	System.out.println(pow(100,D)*N);
        }
    }
}

Compiler output:
Main.java:9: error: cannot find symbol
        	System.out.println(pow(100,D)*N);
        	                   ^
  symbol:   method pow(int,int)
  location: class main
1 error
Language: Java

import java.util.Scanner;

public class b{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        sc.close();
        System.out.println(Math.pow(100, D) * N);
    }
}

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

import java.util.Scanner;

public class b {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        sc.close();
        System.out.println(Math.pow(100, D) * N);
    }
}

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

#include <bits/stdc++.h>
using namespace std;
int main()
{
    int D,N;
    cin >> D >> N;
    if(D == 0){
        cout << N;
    }
    else{
        int answer = 1;
        for(int i;i < D; i++){
            answer = answer * 100;
        }
        cout << answer * N;
    }
    return 0;

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b,c=0,d=0,q=0;
  cin>>a>>b;
  while(ture){
    q++;
    c=q;
    int y=a;
    for(int i=0;i<a;i++){
      if(c%100==0) c/=100,y--;
    }
    if(y==a) d++;
    if(d==b){
      outc<<q<<"\n";
      break;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'ture' was not declared in this scope
    6 |   while(ture){
      |         ^~~~
a.cc:15:7: error: 'outc' was not declared in this scope; did you mean 'putc'?
   15 |       outc<<q<<"\n";
      |       ^~~~
      |       putc
Language: Java

import java.util.*;

class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int d = sc.nextInt();
        int n = sc.nextInt();
        switch(d)
            case 0:
                System.out.println(n);
                break;
            case 1:
                System.out.println(100*n);
                break;
            case 2:
                System.out.println(10000*n);
                break;
    }
}

Compiler output:
Main.java:8: error: '{' expected
        switch(d)
                 ^
Main.java:19: error: reached end of file while parsing
}
 ^
2 errors
Language: C++

int d, n;
 
int main() {
    cin >> d >> n;
    if (n == 100)n++;
    if (d == 0) {
        cout << n << endl;
    }
    if (d == 1) {
        cout << 100 * n << endl;
    }
    if (d == 2) {
        cout << 10000 * n << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> d >> n;
      |     ^~~
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << n << endl;
      |         ^~~~
a.cc:7:22: error: 'endl' was not declared in this scope
    7 |         cout << n << endl;
      |                      ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << 100 * n << endl;
      |         ^~~~
a.cc:10:28: error: 'endl' was not declared in this scope
   10 |         cout << 100 * n << endl;
      |                            ^~~~
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << 10000 * n << endl;
      |         ^~~~
a.cc:13:30: error: 'endl' was not declared in this scope
   13 |         cout << 10000 * n << endl;
      |                              ^~~~
Language: Java

d, n = gets.chop.split.map(&:to_i)
if n == 100 then n = 101 end
  if d == 0
    puts n
  elsif d == 1
    puts n * 100
  else
    puts 100 ** 2 * n
end


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
d, n = gets.chop.split.map(&:to_i)
^
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        
        int powD = 1;
        for(int i = 0; i < D; i++){
            powD *= 100;
        }
        int ans = N * powD;
        if((ans = 100 && powD == 1) && (ans = 10000 && powD == 100) && (ans = 1000000 && powD == 10000){
            System.out.println(ans + 1);
        }else{
            System.out.println(ans);
        }
        
    }
}


Compiler output:
Main.java:14: error: ')' expected
        if((ans = 100 && powD == 1) && (ans = 10000 && powD == 100) && (ans = 1000000 && powD == 10000){
                                                                                                       ^
1 error
Language: Java

import java.util.*;

public class Main {

  private static final int MAX_COUNT = 999;

  public static void main(String[] args) {
    Main m = new Main();
    m.exec();
  }

  private void exec() {
    Scanner scan = new Scanner(System.in);

    int d = scan.nextInt();
    int n = scan.nextInt();
    
    int result = 0;
    switch(d) { 
      case 0:
        result = n;
        if (n = 100) {
          result++;
        }
      case 1:
        result = 100 * n;
        
      case 2:
        result = 10000 * n;
      default:
    }
    System.out.println(result);

    scan.close();
  }

}

Compiler output:
Main.java:22: error: incompatible types: int cannot be converted to boolean
        if (n = 100) {
              ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < (n); i++)
int main() {
  int a,b;
  cin>>a>>b;
  if(n!=100){
    cout<<b*pow(100,a)<<endl;
  }else{
    cout<<b*pow(100,a)+1<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: 'n' was not declared in this scope
    7 |   if(n!=100){
      |      ^
Language: C++

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

int main() {
    int D, N;
    cin >> D >> N;
    int ans = 1;
    for (int i = 0; i < D; i++) {
        ans *= 100;
    }
    if (N != 100) {
        cout << ans * N << endl;
    }
    else {
        cout << ans * N +1 << endl;
    }
    


Compiler output:
a.cc: In function 'int main()':
a.cc:19:6: error: expected '}' at end of input
   19 |     }
      |      ^
a.cc:7:12: note: to match this '{'
    7 | int main() {
      |            ^