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

int main()
{
	int d, n;
	long int ans;
	std::cin >> d >> n;
	ans = std::pow(100, d) * n;
	std::cout << ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: 'cin' is not a member of 'std'
    5 |         std::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 | int main()
a.cc:6:20: error: 'pow' is not a member of 'std'
    6 |         ans = std::pow(100, d) * n;
      |                    ^~~
a.cc:7:14: error: 'cout' is not a member of 'std'
    7 |         std::cout << ans;
      |              ^~~~
a.cc:7:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <iostream>
#include <string>
#include <cmath>

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

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

#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <map>
#include <cmath>
#include <queue>
#include <numeric>

using namespace std;

typedef long long ll;

long long GCD(long long a, long long b){if(b==0)return a;return GCD(b,a%b);}

int main() {
    int D, N; cin >> D >> N;
    int n = 0;
    int d = (int)pow(100, D);
    for (int i = 1; i < 100000001; ++i) {
        if (i % d == 0 && (i / d) % 100 := 0) ++n;
        if (N == n) {
            cout << i << endl;
            break;
        }
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:40: error: expected ')' before ':' token
   21 |         if (i % d == 0 && (i / d) % 100 := 0) ++n;
      |            ~                           ^~
      |                                        )
Language: C++

#include <iostream>
#include <algorithm>

using namespace std;

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

	int bai = pow(100, d);
	int ans = 0;

	if (d == 0)
	{
		for (int i = 1; i <= n; i++)
		{
			ans = n;
		}
	}
	else
	{
		for (int i = 1; i <= n; i++)
		{
			ans = bai * i;
		}
	}

	cout << ans << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: 'pow' was not declared in this scope
   11 |         int bai = pow(100, d);
      |                   ^~~
Language: C++

#include<iostream>

using namespace std;

int main(){
  int d,N;
  cin >> d >> N;
  
  int counter = 0;
  int ans = -1;
  if(d == 0){
    for(int i = 0; i < N; i++){
      if(counter % 100 = 0) continue;
      counter++;
    }
    ans == counter;
  }else if(d == 1){
    for(int i = 0; i < N; i++){
      if((counter * 100) % 10000 = 0) continue;
      counter++;
    }
    ans == counter * 100;
  }else if(d == 2){
    for(int i = 0; i < N; i++){
      if((counter * 10000) % 1000000 = 0) continue;
      counter++;
    }
    ans == counter * 10000;
  }
  cout << ans;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: lvalue required as left operand of assignment
   13 |       if(counter % 100 = 0) continue;
      |          ~~~~~~~~^~~~~
a.cc:19:26: error: lvalue required as left operand of assignment
   19 |       if((counter * 100) % 10000 = 0) continue;
      |          ~~~~~~~~~~~~~~~~^~~~~~~
a.cc:25:28: error: lvalue required as left operand of assignment
   25 |       if((counter * 10000) % 1000000 = 0) continue;
      |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~
Language: C++

#include<iostream>

using namespace std;

int main(){
  int d,N;
  cin >> d >> N;
  
  int counter = 0;
  int ans = -1;
  if(d == 0){
    for(int i = 0; i < N; i++){
      if(counter % 100 = 0) continue;
      counter++;
    }
    ans = counter;
  }else if(d == 1){
    for(int i = 0; i < N; i++){
      if((counter * 100) % 10000 = 0) continue;
      counter++;
    }
    ans = counter * 100;
  }else if(d == 2){
    for(int i = 0; i < N; i++){
      if((counter * 10000) % 1000000 = 0) continue;
      counter++;
    }
    ans = counter * 10000;
  }
  cout << ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: lvalue required as left operand of assignment
   13 |       if(counter % 100 = 0) continue;
      |          ~~~~~~~~^~~~~
a.cc:19:26: error: lvalue required as left operand of assignment
   19 |       if((counter * 100) % 10000 = 0) continue;
      |          ~~~~~~~~~~~~~~~~^~~~~~~
a.cc:25:28: error: lvalue required as left operand of assignment
   25 |       if((counter * 10000) % 1000000 = 0) continue;
      |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~
Language: Java

import java.util.Scanner;

public class A101 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int time = in.nextInt();
        int num = in.nextInt();
        in.close();
        for (int i = 0; i < time; i++) {
            num *= 100;
        }
        System.out.println(num);
    }
}

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

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int time = in.nextInt();
        int num = in.nextInt();
        in.close();
        ans = Math.pow(100, time) * num;
        
        System.out.println(ans);
    }
}


Compiler output:
Main.java:9: error: cannot find symbol
        ans = Math.pow(100, time) * num;
        ^
  symbol:   variable ans
  location: class Main
Main.java:11: error: cannot find symbol
        System.out.println(ans);
                           ^
  symbol:   variable ans
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {
    public static void Main(String[] args) {
        Scanner in = new Scanner(System.in);
        int time = in.nextInt();
        int num = in.nextInt();
        in.close();
        ans = Math.pow(100, time) * num;
        
        System.out.println(ans);
    }
}


Compiler output:
Main.java:9: error: cannot find symbol
        ans = Math.pow(100, time) * num;
        ^
  symbol:   variable ans
  location: class Main
Main.java:11: error: cannot find symbol
        System.out.println(ans);
                           ^
  symbol:   variable ans
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main {
    public class void Main(String[] args) {
        Scanner in = new Scanner(System.in);
        int time = in.nextInt();
        int num = in.nextInt();
        in.close();
        ans = Math.pow(100, time) * num;
        
        System.out.println(ans);
    }
}


Compiler output:
Main.java:4: error: <identifier> expected
    public class void Main(String[] args) {
                ^
1 error
Language: C

#include <stdio.h>

int main(void){
  int d,n,data=100,dataCMP=1;
  scanf("%d%d",&d,&n);

  for(int i=0;i < d;i++){
    dataCMP *= data;
  }
  dataCMP *= n

  printf("%d\n",dataCMP);

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:15: error: expected ';' before 'printf'
   10 |   dataCMP *= n
      |               ^
      |               ;
   11 | 
   12 |   printf("%d\n",dataCMP);
      |   ~~~~~~
Language: C

#include <stdio.h>

int main(void){
  int d,n,data=100,dataCMP=1;
  scanf("%d%d",&d,&n);

  for(int i=0;i < d;i++){
    dataCMP *= data;
  }
  dataCMP *= n

  printf("%d\n",data);

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:15: error: expected ';' before 'printf'
   10 |   dataCMP *= n
      |               ^
      |               ;
   11 | 
   12 |   printf("%d\n",data);
      |   ~~~~~~
Language: C

##include <stdio.h>

int main(void){
  int d,n,data=100,dataCMP=1;
  scanf("%d%d",&d,&n);

  for(int i=0;i < d;i++){
    dataCMP *= data;
  }
  dataCMP *= n

  printf("%d\n",data);

  return 0;
}


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

##include <stdio.h>

int main(void){
  int d,n,data=100;
  scanf("%d%d",&d,&n);

  data = (data^d)*n;

  printf("%d\n",data);

  return 0;
}


Compiler output:
main.c:1:1: error: stray '##' in program
    1 | ##include <stdio.h>
      | ^~
main.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | ##include <stdio.h>
      |           ^
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;
  if(d==1){
    if(n==100) cout<<10100<<endl;
    else cout<<100*n<<endl;
  }
  if(d==2){
    if(n==100) cout<<1010000<<endl;
    else cout<<10000*n<<endl;
  } 
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
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:9:3: error: expected '}' before 'else'
    9 |   else if(d==1){
      |   ^~~~
a.cc:6:11: note: to match this '{'
    6 |   if(d==0){
      |           ^
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 result;
result=(int)Math.pow(10,D);
  result=result*N;
System.out.println(result);
}
}


Compiler output:
Main.java:6: error: cannot find symbol
int N=sc.NextInt();
        ^
  symbol:   method NextInt()
  location: variable sc of type Scanner
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 result;
result=N*(int)Math.pow(10,D);
System.out.println(result);
}
}


Compiler output:
Main.java:6: error: cannot find symbol
int N=sc.NextInt();
        ^
  symbol:   method NextInt()
  location: variable sc of type Scanner
1 error
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <iterator>
using namespace std;
typedef long long unsigned int ll;

#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))

int main() {
	int D, N;
	cin >> D >> N;
	if (N < 100) {
		cout << pow(100, D) * N;
	}
	else {
		cout << long long int(pow(100, D)) * (N + 1);
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:25: error: expected primary-expression before 'long'
   31 |                 cout << long long int(pow(100, D)) * (N + 1);
      |                         ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int d.n;
  cin >> d >> n;
  int a = 1;
  int i;
  for(i=0;i<d;i++)
    a *= 100;
  cout << a * n << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected initializer before '.' token
    5 |   int d.n;
      |        ^
a.cc:6:10: error: 'd' was not declared in this scope
    6 |   cin >> d >> n;
      |          ^
a.cc:6:15: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |   cin >> d >> n;
      |               ^
      |               yn
Language: C++

#include <bits/stdc++.h>
#include<algorithm>
#include<math.h>
using namespace std;
 
template <class T> using V = vector<T>;
 
using ll = long long;
using db = double;
using st = string;
using ch = char;
using vll = V<ll>;
using vpll =V<pair<ll,ll>>;
using vst = V<st>;
using vdb = V<db>;
using vch = V<ch>;
 
 
#define FOR(i,a,b) for(ll i=(a);i<(ll)(b);i++)
#define rFOR(i,a,b) for(ll i=(b);i>(ll)(a);i--)
#define oFOR(i,a,b) for(ll i=(a);i<(ll)(b);i+=2)
#define bgn begin()
#define en end()
#define SORT(a) sort((a).bgn,(a).en)
#define REV(a) reverse((a).bgn,(a).en)
#define M(a,b) max(a,b)
#define rM(a,b) min(a,b)
#define fi first
#define se second
#define sz size()
#define gcd(a,b) __gcd(a,b)
#define co(a) cout<<a<<endl;
#define ci(a) cin>>a;
 
 
ll sum(ll n) {
  ll m=0;
  FOR(i,0,20){
    m+=n%10;
    n/=10;
    if(n==0){
      break;
    }
  }
  return m;
}
 
 
ll combi(ll n,ll m) {
  ll ans=1;
  rFOR(i,n,n-m){
    ans*=i;
  }
  FOR(i,1,m+1){
    ans/=i;
  }
  return ans;
}
 
 
ll lcm(ll a,ll b){
  ll n;
  n=a/gcd(a,b)*b;
  return n;
}
 
 
/****************************************\
| Thank you for viewing my code:)        |
| Written by RedSpica a.k.a. RanseMirage |
| Twitter:@asakaakasaka                  | 
\****************************************/
 
 
signed main() {
  ll n,m;
  	ci(n>>m);
  if(n==0&&m==100){
    co(101)
  }
  else if(n==1&&&m==100){
    co(10100)
  }
  else{
  ll a=pow(100,n); 
  co(a*m)
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:81:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   81 |   else if(n==1&&&m==100){
      |                 ~~^~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: expected ';' before 'cout'
    8 |     N++
      |        ^
      |        ;
    9 |     cout << pow(100, D)*N << endl;
      |     ~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected initializer before '==' token
    7 |   if(int N == 100 ) cout << pow(100, D)*N + 1 << endl;
      |            ^~
a.cc:7:11: error: expected ')' before '==' token
    7 |   if(int N == 100 ) cout << pow(100, D)*N + 1 << endl;
      |     ~     ^~~
      |           )
Language: C++

#include <iostream>
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 << '\n';
	return 0;
}

//pdfのサンプルコードそのまんま

Compiler output:
a.cc: In function 'int main()':
a.cc:16:22: error: expected ';' before 'if'
   16 |                 ++val
      |                      ^
      |                      ;
   17 |                 if(calc(val) == D) ++cnt;
      |                 ~~
Language: C++

#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <numeric>
#include <tuple>
#include <stack>

#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(),x.end()
#define print(s) cout << s << endl
typedef long long ll;
using namespace std;

int ctoi(char c) {
	if (c >= '0' && c <= '9') {
		return c - '0';
	}
	return 0;
}

int main() {
    int n,d; cin >> d >> n;
    // int S = 1; for (int i = 0; i < d; i++) S *= 100;
    S = pow(100,d);
    cout << (n<=99 ? S*n: S*101) << endl;
    // int D, N; cin >> D >> N;
 
	// int S = 1; for (int i = 0; i < D; i++) S *= 100;
	// if (N <= 99) {
	// 	cout << S * N << endl;
	// }
	// else {
	// 	cout << S * 101 << endl;
	// }
	// return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:5: error: 'S' was not declared in this scope
   27 |     S = pow(100,d);
      |     ^
Language: C++

#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <numeric>
#include <tuple>
#include <stack>

#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(),x.end()
#define print(s) cout << s << endl
typedef long long ll;
using namespace std;

int ctoi(char c) {
	if (c >= '0' && c <= '9') {
		return c - '0';
	}
	return 0;
}

int main() {
    int n,d; cin >> d >> n;
    // int S = 1; for (int i = 0; i < d; i++) S *= 100;
    S = pow(100,d)
    cout << (n<=99 ? S*n: S*101) << endl;
    // int D, N; cin >> D >> N;
 
	// int S = 1; for (int i = 0; i < D; i++) S *= 100;
	// if (N <= 99) {
	// 	cout << S * N << endl;
	// }
	// else {
	// 	cout << S * 101 << endl;
	// }
	// return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:5: error: 'S' was not declared in this scope
   27 |     S = pow(100,d)
      |     ^
Language: C++

#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <numeric>
#include <tuple>
#include <stack>

#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(),x.end()
#define print(s) cout << s << endl
typedef long long ll;
using namespace std;

int ctoi(char c) {
	if (c >= '0' && c <= '9') {
		return c - '0';
	}
	return 0;
}

int main() {
    int n,d; cin >> d >> n;
    int S = 1; for (int i = 0; i < D; i++) S *= 100;
    cout << (n<=99 ? S*n: S*101) << endl;
    // int D, N; cin >> D >> N;
 
	// int S = 1; for (int i = 0; i < D; i++) S *= 100;
	// if (N <= 99) {
	// 	cout << S * N << endl;
	// }
	// else {
	// 	cout << S * 101 << endl;
	// }
	// return 0;
}

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

#include <iostream>
#include <thread>
#include <chrono>
#include <random>
#include <fstream>
#include <time.h>


int main()
{
    int D,N;
    int ans;

    std::cin >> D >> N;

    if(D == 0){ 
        if(N == 100) ans =101;
        else ans = N;
    else{
        if(N == 100){
            ans = (N+1)*pow(100, D) + ;
        }
        else ans = N*pow(100, D);
    }




    std::cout << ans;


    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:5: error: expected '}' before 'else'
   19 |     else{
      |     ^~~~
a.cc:16:15: note: to match this '{'
   16 |     if(D == 0){
      |               ^
a.cc:21:39: error: expected primary-expression before ';' token
   21 |             ans = (N+1)*pow(100, D) + ;
      |                                       ^
Language: C++

#include<iostream>
#include<vector>
#include <bits/stdc++.h>
using namespace std;
  
int main(){
  int d,n;cin>>d>>n;
  int ans=0;
  if(d==0)
    cout<<n<<endl;
  else
  {
  if(int i=0;i<d;i++)
  {
    ans*=100;
  }
     cout<<ans*n<<endl;
  }
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: expected ')' before ';' token
   13 |   if(int i=0;i<d;i++)
      |     ~           ^
      |                 )
a.cc:13:18: error: 'i' was not declared in this scope
   13 |   if(int i=0;i<d;i++)
      |                  ^
Language: C++

#include <iostream>
using namespace std;

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

    if(D == 0){
        ans = N;
        if(N == 100)
            ans += 1;
    }
    else if(D == 1){
        ans = 100 * N;
        if(N == 100)
            ans += 100;
    }
    else if(D == 2){
        ans = 10000 * N;
        if(N == 100)
            ans += 10000;
    }

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

#include<bits/stdc++.h>
using namespace std;
//define
#define int long long
#define rep(x,y) for(int i=x;i<y;i++)
#define REP(x,y) for(int j=x;j<y;j++)
#define Rep(x,y) for(int k=x;k<y;k++)
#define str string
#define vint vector<int>
#define vvint vector<vector<int>>
#define vc vector<char>
#define vvc vector<vector<char>>
#define vool vector<bool>
#define vtr vector<str>
#define vvtr vector<vector<str>>
#define pb() push_back()
#define elif else if
#define all(x) x.begin(),x.end()
//function
int shizuku(int,int);
//UnionFind
struct UnionFind{
  vint par;
  UnionFind(int N):par(N){
    rep(0,N)par[i]=i;
  }
  int root(int x){
    if(par[x]==x)return x;
    return par[x]=root(par[x]);
  }
  void unite(int x,int y){
    int rx=root(x);
    int ry=root(y);
    if(rx==ry)return;
    par[rx]=ry;
  }
  bool same(int x,int y){
    return root(x)==root(y);
  }
};

signed main(){
    int D,G,N,M,X,count=0,count2=0;
    double d;
    int C='A'-'a';
    char op;
    str S,T;
    cin>>N>>X;
  	if(N==0&&X==100)cout<<X*101<<endl;
    ilif(N==0)cout<<X<<endl;
    elif(N==1&&X==100)cout<<X*100+100<<endl;
    elif(N==2&&X==100)cout<<X*10000+10000<<endl;
  	elif(N==1)cout<<X*100<<endl;
  	elif(N==2)cout<<X*10000<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:50:5: error: 'ilif' was not declared in this scope; did you mean 'elif'?
   50 |     ilif(N==0)cout<<X<<endl;
      |     ^~~~
      |     elif
a.cc:17:14: error: 'else' without a previous 'if'
   17 | #define elif else if
      |              ^~~~
a.cc:51:5: note: in expansion of macro 'elif'
   51 |     elif(N==1&&X==100)cout<<X*100+100<<endl;
      |     ^~~~
Language: C

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

#define MAX(p,q) ((p>q)?(p):(q))
#define MIN(p,q) ((p<q)?(p):(q))

#define REP(i,n) for(i=0;i<n;i++)

int gcd(int a,int b);

int main(void)
{
  double d,n;
  scanf("%lf%lf",&d,&n);
  //pow使うからだめ
  //愚直に場合分けせよ
  if(d==0)
  {
    if(n==100) printf("101\n");
    else printf("%d"n);
  }
  else if(d==1)
  {
    if(n==100) printf("1010\n");
    else printf("%d"n*10);
  }
  else
  {
    if(n==100) printf("10100\n");
    else printf("%d"n*100);
  }
  return 0;
}

int gcd(int a,int b)
{
  int max,min,tmp;
  max = MAX(a,b);
  min = MIN(a,b);
  if(max%min==0) return min;
  else
  {
    tmp = min;
    min = max%min;
    max = tmp;
    return gcd(max,min);
  }
}


Compiler output:
main.c: In function 'main':
main.c:22:21: error: expected ')' before 'n'
   22 |     else printf("%d"n);
      |                ~    ^
      |                     )
main.c:27:21: error: expected ')' before 'n'
   27 |     else printf("%d"n*10);
      |                ~    ^
      |                     )
main.c:32:21: error: expected ')' before 'n'
   32 |     else printf("%d"n*100);
      |                ~    ^
      |                     )
Language: C++

#include <stdio.h>

int divide(int t)
{
	int cnt = 0;
	for(;t%100==0;t/=100) {
		cnt++;
	}
	return cnt;
}


int main()
{
	int d,n;
	scanf("%d %d",&d,&n);

	int mul = 1;
	for(int i=1; i<=d; i++) mul*=100;

	int tmp = 0;
	for(i=1; i<=n; i++) {
		tmp+=mul;
		while(divide(tmp)!=d) tmp+=mul;
	}
	printf("%d\n",tmp);
	
	return 0;
}


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

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

int main() {
  int n,k;
  cin >> n >> k;
  x = 1;
  for(int i=0;i<n;i++){
    x = x*100;
  }
  for(int i=0;i<k-1;i++){
    x += x;
  }
  
  cout << x << endl;
}


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

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

    int d,n;
	cin>>n>>d;
	cout<<d;
	
	for(int i=0;i<n;i++){
		cout<<"00";
	}
	cout<<endl;
    return 0;

}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inc
    1 | #inc..lude<bits/stdc++.h>
      |  ^~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin>>n>>d;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inc..lude<bits/stdc++.h>
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout<<d;
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:15: error: 'endl' was not declared in this scope
   12 |         cout<<endl;
      |               ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inc..lude<bits/stdc++.h>
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 << n * 100 << endl;}

   }
    else if (d == 2){
      if(n == 100){
         cout << 1010000 << endl;}
       else{cout << n *10000 << endl;}
   }

    
   
}
 


Compiler output:
a.cc:16:5: error: expected unqualified-id before 'else'
   16 |     else if (d == 1){
      |     ^~~~
a.cc:23:5: error: expected unqualified-id before 'else'
   23 |     else if (d == 2){
      |     ^~~~
a.cc:31:1: error: expected declaration before '}' token
   31 | }
      | ^
Language: C++

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

typedef long long ll;


int count(ll v){
    int cnt = 0;
    while(v % 100){
        cnt ++;
        v = v / 100;
    }
    return cnt;
}

int main(){

    ll D;
    ll n;
    cin >> D >> n;

    if()

    ll val = 1;
    ll cnt = 0;
    ll div = 0;
    if(D == 0) div = 1;
    if(D == 1) div = 100;
    if(D == 2) div = 10000;
    while(true){
        int d = count(val);
        if(d == D) cnt++;
        if(cnt == n){
            cout << val << endl;
            return 0;
        }
        val ++;
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:8: error: expected primary-expression before ')' token
   25 |     if()
      |        ^
a.cc:34:23: error: 'val' was not declared in this scope
   34 |         int d = count(val);
      |                       ^~~
Language: C++

#include <iostream>
using namespace std;
int main() {
	// your code goes here
	int d,n;
	cin>>d>>n;
	if(d==0 && n<100)
	{
	   cout<<n<<endl;
	}
	else if(d==0 && n==100)
	  cout<<"101"<<endl;
	else if(d==1 && n<100)
	  cout<<n*100<<endl;
	else if(d==1 && n==100)
	  cout<<101*100<<endl;
	else if(d==2 && n<100)
	  cout<<n*100*100<<endl;
	else if(d==2 && n=100)
	cout<<101*100*100<<endl;
	return 0;
}

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

#include<iostream>
using namespace std;

//int max(int a,int b){
//	if(a>b)return a;
//	else return b;}

int main(){
	int a,b;
	cin>>a>>b;
	int c=1;
	
	for(int i=0;i<a;i++){
	
		c*=100;
	
	
	}
	if(a==0&&b<100){cout<<b;}
	else if(a==0&&b==100){cout<<101}
	else if(b==100){cout<<c*b+c;}
	else cout<<c*b;
	
	
//	cout<<max(6,12387);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:40: error: expected ';' before '}' token
   20 |         else if(a==0&&b==100){cout<<101}
      |                                        ^
      |                                        ;
Language: C++


int main(){
	int a,b;
	cin>>a>>b;
	int c=1;
	
	for(int i=0;i<a;i++){
	
		c*=100;
	
	
	}
	if(a==0){cout<<b;}
	else if(b==100){c*b+c;}
	else cout<<c*b;
	
	
//	cout<<max(6,12387);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope
    4 |         cin>>a>>b;
      |         ^~~
a.cc:13:18: error: 'cout' was not declared in this scope
   13 |         if(a==0){cout<<b;}
      |                  ^~~~
a.cc:15:14: error: 'cout' was not declared in this scope
   15 |         else cout<<c*b;
      |              ^~~~
Language: C++

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

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

Compiler output:
a.cc:4:1: error: 'init' does not name a type; did you mean 'int'?
    4 | init main(){
      | ^~~~
      | int
Language: C++

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

int main(){
    int d, n; cin >> d >> n;
    if(d < 1){
        cout << n << endl;
    }
    else{
        int a = 1;
        for(int i=1;i<=d;i++){
            a *= 100;
        }
        cout << n * a << endl;
    }


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

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

int pow(int A, int P){
	int a = A, p = P;
	if(p == 0) return 1;
	if(p == 1) return a;
	int adash = a * a;
	if(p % 2) return pow(adash, p / 2) * a;
	else return pow(adash, p / 2);
}

int main(){
	int D, N;
	cin >> D >> N;
	count;
	
	if(N < 100) cout << pow(100,D) * N << endl;
	else cout << pow(100,D) * (N + 1) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:14: error: statement cannot resolve address of overloaded function
   20 |         count;
      |              ^
Language: C++

#include<bits\stdc++.h>
using namespace std;
int main(){
  int D,N;
  cin >> D >> N; 
  int a=1; 
  int i=0;
  while(i<D){
    a*=100;
    i++;
  }
  cout << a*N << endl;
}
  

Compiler output:
a.cc:1:9: fatal error: bits\stdc++.h: No such file or directory
    1 | #include<bits\stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
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 x1 = Math.pow(100,d);
        System.out.println((int)x1 *(n + n/100));
    }
}


Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from double to int
        int x1 = Math.pow(100,d);
                         ^
1 error
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(ll i = 0; i < (ll)n; i++)
#define FOR(i,a,b) for (ll i=(a);i<(ll)b; i++)
#define ALL(obj) (obj).begin(),(obj).end()
#define INF 1000000000000000
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
using namespace std;
typedef long long ll;
typedef double db;
typedef string str;
typedef pair<ll,ll> p;
constexpr int MOD = 1000000007;

void print(const std::vector<int>& v)
{
  std::for_each(v.begin(), v.end(), [](int x) {
    std::cout << x << " ";
  });
  std::cout << std::endl;
}

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

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

#include <bits/stdc++.h>
#define REP(i,n) for(ll i = 0; i < (ll)n; i++)
#define FOR(i,a,b) for (ll i=(a);i<(ll)b; i++)
#define ALL(obj) (obj).begin(),(obj).end()
#define INF 1000000000000000
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
using namespace std;
typedef long long ll;
typedef double db;
typedef string str;
typedef pair<ll,ll> p;
constexpr int MOD = 1000000007;

void print(const std::vector<int>& v)
{
  std::for_each(v.begin(), v.end(), [](int x) {
    std::cout << x << " ";
  });
  std::cout << std::endl;
}

int main ()
{
    int D,N;cin>>D>>N;
    ll ans = pow(100,D)*N
    cout<<ans<<endl;
    return 0;
}

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

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

int main(void){
  int D,i;
  long N;
  char str[100],*p;
  
  fgets(str,sizeof(str),stdin);
  p=strtok(str," \n");
  D=atoi(p);
  p=strtok(NULL," \n");
  N=atol(p);
  if(N==100){
    N+=1
  }
  
  for(i=0;i<D;i++){
    N*=100;
  }
  
  printf("%ld\n",N);
  
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:9: error: expected ';' before '}' token
   16 |     N+=1
      |         ^
      |         ;
   17 |   }
      |   ~
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <cctype>
#include <queue>
#include <map>
#include <set> 
#include <bitset>
#include <cmath>
using namespace std;
typedef long long ll;
#define REP(i,n) for(int i=0;i<n;i++)

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

    if(n < 100) {
        int ans = pow(100, d) * n;
    } else {
        int ans = pow(100, d) * (n+1);
    } 
    
    cout << ans << endl;   

    return 0;
}



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

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

int main(){

int b,c,d;
cin>>b>>c;
  d=1;
  for(int i=0;i<b;i++){
d*=100;
  }
  if(c!=100){

      cout<<d*c<<endl;
  };
  else{
  cout<<d*(c+1)<<endl;
  }


}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:3: error: 'else' without a previous 'if'
   16 |   else{
      |   ^~~~
Language: C++

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
using namespace std;
int main(){
int d,n;
cin>>d>>n;
int ans;
if(n==100){
ans = (n+1)*pow(100,d);
}
else{
	ans= n*pow(100,d);
}
cout<< ans <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'pow' was not declared in this scope
   11 | ans = (n+1)*pow(100,d);
      |             ^~~
a.cc:14:16: error: 'pow' was not declared in this scope
   14 |         ans= n*pow(100,d);
      |                ^~~
Language: C++

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

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

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

    int i = 0;
    while(true) {
        if(i / )

    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:16: error: expected primary-expression before ')' token
   24 |         if(i / )
      |                ^
a.cc:26:5: error: expected primary-expression before '}' token
   26 |     }
      |     ^
Language: C++

#include<iostream>
#include<algorithm>
using namespace std;
int a,b,c,x,y;
int main() {
	int d, n;
	cin >> d >> n;
	if (n == 100)++n;
	cout << n * (int)pow(100, d) << endl;
}

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

#include<iostream>

int main()
{
	int a,b;
  std::cin >> a >> b;
  for(int i=0;i<a;i++)
  {
    int c = b;
    int cnt = 0;
    while(!(c%100))
    {
      cnt++;
      c/=100;
    }
    if(cnt == a)
      return std::cout << b;
    b *= 10;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:24: error: cannot convert 'std::basic_ostream<char>' to 'int' in return
   17 |       return std::cout << b;
      |              ~~~~~~~~~~^~~~
      |                        |
      |                        std::basic_ostream<char>
Language: C++

#include<iostream>

int main()
{
	int a,b;
  cin >> a >> b;
  for(int i=0;i<a;i++)
	b*=10;
  cout << b;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout << b;
      |   ^~~~
      |   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>
#include <cmath>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: expected primary-expression before '==' token
    8 |         if (n == 100) ==n;
      |                       ^~
Language: Java

import java.util.*;

class Main{

    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
      Solution Main = new Solution();
        int d = sc.nextInt();
        int N = sc.nextInt();
        int i = 1;
      int num = 0;
        int result = 0;
        int term = (int)Math.pow(100, d);
      
      while (N != 0){
        result = term * i++;
          int tmp = result;
        while( (tmp/100) == 0){
            tmp/=100;
            num++;
          }
        if ( num >= d){
          i++;
        }
        N--;
      }
      result = i * term;
        System.out.println(result);

    }
}

Compiler output:
Main.java:7: error: cannot find symbol
      Solution Main = new Solution();
      ^
  symbol:   class Solution
  location: class Main
Main.java:7: error: cannot find symbol
      Solution Main = new Solution();
                          ^
  symbol:   class Solution
  location: class Main
2 errors
Language: C++

#include <cstdio>
int n, a;
int main() {
  scanf("%d %d", &n, &a);
 
  int b = 1;
  for (int i =0 ; i < n; i++) {
    b *= 100;
  }
  printf("%d", d!=0 ? b*a : a);
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: 'd' was not declared in this scope
   10 |   printf("%d", d!=0 ? b*a : a);
      |                ^
Language: C++

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

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:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<pow(100,a)*b<<endl;
      |   ^~~~
a.cc:7:9: error: 'pow' was not declared in this scope
    7 |   cout<<pow(100,a)*b<<endl;
      |         ^~~
a.cc:7:23: error: 'endl' was not declared in this scope
    7 |   cout<<pow(100,a)*b<<endl;
      |                       ^~~~
Language: C++

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

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:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<pow(100,a)*b<<endl;
      |   ^~~~
a.cc:7:9: error: 'pow' was not declared in this scope
    7 |   cout<<pow(100,a)*b<<endl;
      |         ^~~
a.cc:7:23: error: 'endl' was not declared in this scope
    7 |   cout<<pow(100,a)*b<<endl;
      |                       ^~~~
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 << n*100 << endl;
    }
  }
  else{
    if(n == 100){
      cout << 1010000 << endl;
    }
    else{
      cout << n*10000 << endl;
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:5: error: expected '}' before 'else'
   18 |     else{
      |     ^~~~
a.cc:16:17: note: to match this '{'
   16 |     if(n == 100){
      |                 ^
Language: C++

#include<iostream>
#include<cmath>
using namespace std;
 
int main(){
  int N, D;
  cin >> D >> N;
  
  if (N == 100) N++;
  ans = pow(100,D) * N;
  cout << ans << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |   ans = pow(100,D) * N;
      |   ^~~
      |   abs
Language: C++

#include<iostream>
#include<cmath>
using namespace std;
 
int main(){
  int N, D;
  cin >> D >> N;
  
  if (N == 100) N++;
  ans = pos(100,D) * N;
  cout << ans << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |   ans = pos(100,D) * N;
      |   ^~~
      |   abs
a.cc:10:9: error: 'pos' was not declared in this scope; did you mean 'pow'?
   10 |   ans = pos(100,D) * N;
      |         ^~~
      |         pow
Language: C++

#include <bits/stdc++.h>

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 << '\n';
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   13 |         cin >> D >> N;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:19:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |         cout << val << '\n';
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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 << '\n';
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'cin' was not declared in this scope
   11 |         cin >> D >> N;
      |         ^~~
a.cc:17:9: error: 'cout' was not declared in this scope
   17 |         cout << val << '\n';
      |         ^~~~
Language: Java

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

public class B100 {

	public static void main(String[] args) throws IOException{
		String str = new BufferedReader(new InputStreamReader(System.in)).readLine();
		int[] input = Arrays.stream(str.split(" ")).mapToInt(Integer::parseInt).toArray();
		System.out.println((int)(input[1]*1.01 * Math.pow(100, input[0])));
	}

}

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

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

public class B100 {

	public static void main(String[] args) throws IOException{
		String str = new BufferedReader(new InputStreamReader(System.in)).readLine();
		int[] input = Arrays.stream(str.split(" ")).mapToInt(Integer::parseInt).toArray();
		System.out.println((int)(input[1]*1.001 * Math.pow(100, input[0])));
	}

}

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

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<string> vs;
typedef vector<char> vc;
typedef vector<vc> vvc;
typedef pair<int, int> pii;
typedef pair<char, char> pcc;

#define FOR(i, begin, end) for(int i = (begin); i < (end); i++)
#define rep(i, n) FOR(i,0,n)
#define ALL(a) (a).begin(),(a).end()
#define ZP(a, len) cout << setfill('0') << setw(len) << right << a << endl;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const int dx[4] = {0, 1, 0, -1}, dy[4] = {1, 0, -1, 0};

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

    int ans;
    if (D == 0) {
        if (N == 100) {
            ans = 101
        } else {
            ans = N;
        }
    } else if (D == 1) {
        ans = N * 100;
    } else {
        ans = N * 10000;
    }
    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:22: error: expected ';' before '}' token
   29 |             ans = 101
      |                      ^
      |                      ;
   30 |         } else {
      |         ~
Language: C++

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

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


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: redeclaration of 'int ans'
    8 |         int ans=(int)pow(100,D);
      |             ^~~
a.cc:6:17: note: 'int ans' previously declared here
    6 |         int D,N,ans;
      |                 ^~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:12: error: expected ';' before 'N'
   13 |   else cout N*d;
      |            ^~
      |            ;
Language: C

#include <stdio.h>
int main (){
  int a,b,c;
  scanf ("%d%d",&a,&b);
  c=(b-b%100)/100
  if (a==0){
  printf ("%d",b+c);
  }
  else if (a==1){
  printf ("%d",100*(b+c));
  }
  else {
  printf ("%d",10000*(b+c));
  }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:18: error: expected ';' before 'if'
    5 |   c=(b-b%100)/100
      |                  ^
      |                  ;
    6 |   if (a==0){
      |   ~~