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

#include <iostream>
using namespace std;

int main(){
	int D,N,hoge = 1;
	while(D > 0){
		hoge *= 100;
		D --;
	}
	cout << hoge*N
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:23: error: expected ';' before '}' token
   10 |         cout << hoge*N
      |                       ^
      |                       ;
   11 | }
      | ~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
    long long d,n;
    while(cin >> d >> n) {
        if(d == 0) {
            cout << n << endl;-
            continue;
        }
        long long c;
        if(d == 1)
            c = 100;
        else c = 10000;
        if(n == 100) n *= 10;
        cout << n * c << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected primary-expression before 'continue'
   10 |             continue;
      |             ^~~~~~~~
Language: C++

#include<iostream>
using namespace std;

int calc(int x){
  int ret =0;
  while(x % 100 == 0){
    x/=100;
    ret++:
  }
  rturn 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;
 }


Compiler output:
a.cc: In function 'int calc(int)':
a.cc:8:10: error: expected ';' before ':' token
    8 |     ret++:
      |          ^
      |          ;
a.cc:10:3: error: 'rturn' was not declared in this scope
   10 |   rturn ret;
      |   ^~~~~
a.cc:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
a.cc: In function 'int main()':
a.cc:21:3: error: expected '}' at end of input
   21 |  }
      |   ^
a.cc:13:11: note: to match this '{'
   13 | int main(){
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:12: error: expected ';' before numeric constant
   13 |   else cout 101 * a << endl;
      |            ^~~~
      |            ;
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (int)'
   13 |   else cout (D + 1) * a << endl;
      |        ~~~~~^~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: 'a' was not declared in this scope
    9 |   cout << a * D << endl;
      |           ^
Language: C++

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

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

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

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<numeric>

using namespace std;

int main() {
	int a, b;
	cin >> a >> b;
	cout << b * pow(100, a) << endl;
}

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

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<numeric>

using namespace std;

int main() {
	int a, b;
	cin >> a >> b;
	cout << b * powf(10, a) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: 'powf' was not declared in this scope
   12 |         cout << b * powf(10, a) << endl;
      |                     ^~~~
Language: C++

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#include<numeric>

using namespace std;

int main() {
	int a, b;
	cin >> a >> b;
	cout << b * pow(10, a) <<endl;
}

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

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

int main() {
	int D, N;
	cin >> D >> N;
	int ans = pow(100, D) * (N + (N == 100))

	cout << ans << "\n";
}


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

#include<iostream>
using namespace std;
int main()
{
    int a,b,i;
    cin >> a >> b;
    for(i=0;i<a;i++)
    {
        b*=100;
    }
    if(b==100)
        b=b+pow(100,a);
    cout << b << endl;
    return 0;
}


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:22:22: error: expected ';' before 'return'
   22 |       cout << 1010000
      |                      ^
      |                      ;
   23 |   return 0;
      |   ~~~~~~              
a.cc:24:2: error: expected '}' at end of input
   24 | }
      |  ^
a.cc:4:8: note: to match this '{'
    4 | main() {
      |        ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:4:8: note: to match this '{'
    4 | main() {
      |        ^
Language: C++

#include <iostream>
#include <string>
 
using namespace std;
 
int main(){
	int x,y;
	cin >> x >> y;
  	x = std::pow(100,x);
	cout << x * y << endl;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: 'pow' is not a member of 'std'
    9 |         x = std::pow(100,x);
      |                  ^~~
Language: C++

#include <iostream>
#include <string>

using namespace std;

int main(){
	int x,y;
	cin >> x >> y;
  	x = pow(100,x);
	cout << x * y << endl;

}

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

#include <iostream>
#include <string>

using namespace std;

int main(){
	int x,y;
	cin >> x >> y;
	cout << std::pow(100, x) * y << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: 'pow' is not a member of 'std'
    9 |         cout << std::pow(100, x) * y << endl;
      |                      ^~~
Language: C

#include <stdio.h>
 
int main(){
  
  int D,N,ans;
  scanf("%d%d",&D,&N);
  
  if(D == 0)
    if(N == 100)
      ans = 101;
    ans = N;
  else if(D == 1)
    if(N == 100)
      ans = 10100;
    ans = 100 * N;
  else
    if(N == 100)
      ans = 1010000;
    ans = 100 * 100 * N;
  
  printf("%d",ans);
  
  return 0;
 
}

Compiler output:
main.c: In function 'main':
main.c:12:3: error: 'else' without a previous 'if'
   12 |   else if(D == 1)
      |   ^~~~
main.c:16:3: error: 'else' without a previous 'if'
   16 |   else
      |   ^~~~
Language: C

#include <stdio.h>
 
int main(){
  
  int D,N,ans;
  scanf("%d%d",&D,&N);
  
  if(D == 0)
    if(N == 100)
      ans = 101;
    ans = N;
  else if(D == 1)
    if(N == 100)
      ans = 10100;
    ans = 100 * N;
  else
    if(N == 100)
      ans == 1010000;
    ans = 100 * 100 * N;
  
  printf("%d",ans);
  
  return 0;
 
}

Compiler output:
main.c: In function 'main':
main.c:12:3: error: 'else' without a previous 'if'
   12 |   else if(D == 1)
      |   ^~~~
main.c:16:3: error: 'else' without a previous 'if'
   16 |   else
      |   ^~~~
Language: C++

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

#define Max(a,b) max({a,b})
#define Min(a,b) min({a,b})
#define rep(i,n) for(long long int (i)=0;(i)<(int)(n);(i)++)
#define len(n) n.size()
#define print(n); cout << n << endl;

// s.substr(i,n)

using namespace std;

//char a = 65;

int n,m,a,b,c,cou,co;
double d,k;
char num = 65;
string s,t;


int main(){
    
    cin >> n >> m;

    int ans;

    if(m != 100){
        ans = m * pow(10,n);
    }
    else{
        ans = (m +1) * pow(10,n);
    }

    print(ans)
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:19: error: 'pow' was not declared in this scope
   31 |         ans = m * pow(10,n);
      |                   ^~~
a.cc:34:24: error: 'pow' was not declared in this scope
   34 |         ans = (m +1) * pow(10,n);
      |                        ^~~
Language: C++

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

#define Max(a,b) max({a,b})
#define Min(a,b) min({a,b})
#define rep(i,n) for(long long int (i)=0;(i)<(int)(n);(i)++)
#define len(n) n.size()
#define print(n); cout << n << endl;

// s.substr(i,n)

using namespace std;

//char a = 65;

int n,m,a,b,c,cou,co;
double d,k;
char num = 65;
string s,t;


int main(){
    
    cin >> n >> m;

    int ans;

    if(m != 100){
        ans = m * pow(10,n);
    }
    else{
        ans = (m +1) * pow(10,n;
    }

    print(ans)
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:19: error: 'pow' was not declared in this scope
   31 |         ans = m * pow(10,n);
      |                   ^~~
a.cc:34:32: error: expected ')' before ';' token
   34 |         ans = (m +1) * pow(10,n;
      |                           ~    ^
      |                                )
Language: C++

#include <cstdio>
#include <vector>
#include <map>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <set>

#define rep(i,N) for(int (i)=0;(i)<(N);(i)++)
#define MOD 1000000007

using namespace std;

int pow_mod(int a, int b, int p) {
	if (b == 0)return 1;
	else if (b % 2 == 0)return (pow_mod(a*a, b / 2, p) % p);
	else return (pow_mod(a, b - 1, p)*a%p);
}

int factorial_mod(int a, int p) {
	if (!a)return 1;
	else return a * factorial_mod(a - 1, p) % p;
}

int sum_digit(int N) {
	int ans = 0;
	for (; N != 0;) {
		ans += N % 10;
		N /= 10;
	}
	return ans;
}

int D,N;

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


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

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

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

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

	cout << base << endl;
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:15:30: error: 'base' was not declared in this scope
   15 |         for(int i=0;i<D;i++) base*=100;
      |                              ^~~~
a.cc:17:17: error: 'base' was not declared in this scope
   17 |         cout << base << endl;
      |                 ^~~~
Language: C++

if(D == 0){

        cout << N << endl;

      }else{

        for(int i = 0; i < D ; ++i){

          A *= 100;

        }

        cout << A*N << endl;

      }

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'if'
    1 | if(D == 0){
      | ^~
a.cc:5:8: error: expected unqualified-id before 'else'
    5 |       }else{
      |        ^~~~
Language: C++

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

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

    cout<<pow(100,D)*N<<endl;

    return 0;
}

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

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>

using namespace std;


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

	a = (int)pow(100, d)*n;
	printf("%d\n", a);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
   13 |         scanf_s("%d %d", &d, &n);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <algorithm>
#include <array>
#include <vector>
#include <iostream>
#include <string>
#include <cmath>
#include <functional>

using namespace std;


int main() {
	int D, N;
	cin >> D >> N;
	string Answer = (N != 100) ? to_string(N) : to_string(N + 1);
	for (int i = 0; i < D; i++) {
		Answer += "00";
	}
	cout << Answer << endl;
	return 0;


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

#include <stdafx.h>
#include <algorithm>
#include <array>
#include <vector>
#include <iostream>
#include <string>
#include <functional>

using namespace std;


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

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

#include <algorithm>
#include <array>
#include <vector>
#include <iostream>
#include <string>
#include <functional>

using namespace std;


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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:22: error: 'pow' was not declared in this scope
   14 |         cout << (int)pow(100, D)*N << endl;
      |                      ^~~
Language: C

#include<stdio.h>

int main(void)
{
   int a,b,c,i;

   scanf("%d%d",&a,&b);

   if(a==0)
      c=1;

   if(a==1)
      c=100;

   if(a==2)
      c=10000;
   
   if(n==100)
      printf("%d\n",c*(b+1));
   else
      printf("%d\n",c*b);
   return 0;
}


Compiler output:
main.c: In function 'main':
main.c:18:7: error: 'n' undeclared (first use in this function)
   18 |    if(n==100)
      |       ^
main.c:18:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(){
  int d,n,i,j;
  scanf("%d",&d);
  scanf("%d",&n);
  if(n = =100) n++;
  j = 1;
  for(i = 0;i < d;i++){
    j *= 100;
  }
  n *= j;
  printf("%d\n",n);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '=' token
    6 |   if(n = =100) n++;
      |          ^
Language: C++

#include <bits/stdc++.h>
#include <math.h> /*x^yを表すpow(int x, int y)を使うのでライブラリ追加*/
using namespace std;

int main(){
  int D, N;
  cin >> D >> N;
  //int favoNumber = pow(100, D) * N;
  /*既にDはintで定義しているのでpow内でpow(100, int D)とする必要はない。やるとコンパイル
  エラーを吐かれる。*/
  int fovnumber = 1; 
  for(int i = 0; i < D; i++){
    fovnumber *= 100; //べき乗
  }
  if(N < 100){
  cout << favnumber * N << endl;
}
  else{
    cout << pow(100, D) * 101 << endl;
  }
}




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

#include <bits/stdc++.h>
#include <math.h> /*x^yを表すpow(int x, int y)を使うのでライブラリ追加*/
using namespace std;

int main(){
  int D, N;
  cin >> D >> N;
  //int favoNumber = pow(100, D) * N;
  /*既にDはintで定義しているのでpow内でpow(100, int D)とする必要はない。やるとコンパイル
  エラーを吐かれる。*/
  int fovnumber = 1; 
  for(int i = 0; i < D; i++){
    fovnumber *= 100; //べき乗
  
  if(N < 100){
  cout << favnumber * N << endl;
}
  else{
    cout << pow(100, D) * 101 << endl;
  }
}
}

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

#include <bits/stdc++.h>
#include <math.h> /*x^yを表すpow(int x, int y)を使うのでライブラリ追加*/
using namespace std;

int main(){
  int D, N;
  cin >> D >> N;
  //int favoNumber = pow(100, D) * N;
  /*既にDはintで定義しているのでpow内でpow(100, int D)とする必要はない。やるとコンパイル
  エラーを吐かれる。*/
  int fovnumber = 1; 
  for(int i = 0; i < D; i++){
    fovnumber *= 100; //べき乗
  
  if(N < 100){
  cout << favnumber << endl;
}
  else{
    cout << pow(100, D) * 101 << endl;
  }
}
}

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

#include <bits/stdc++.h>
#include <math.h> /*x^yを表すpow(int x, int y)を使うのでライブラリ追加*/
using namespace std;

int main(){
  int D, N;
  cin >> D >> N;
  //int favoNumber = pow(100, D) * N;
  /*既にDはintで定義しているのでpow内でpow(100, int D)とする必要はない。やるとコンパイル
  エラーを吐かれる。*/
  int fovnumber = 1; 
  for(int i = 0; i < D; i++){
    fovnumber *= 100; //べき乗
  
  if(N < 100){
  cout << favNumber << endl;
}
  else{
    cout << pow(100, D) * 101 << endl;
  }
}
}



#include <iostream>
using namespace std;

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

	int S = 1; for (int i = 0; i < D; i++) S *= 100; //べき乗10^d
	if (N <= 99) {
		cout << S * N << endl;
	}
	else {
		cout << S * 101 << endl;
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:11: error: 'favNumber' was not declared in this scope; did you mean 'fovnumber'?
   16 |   cout << favNumber << endl;
      |           ^~~~~~~~~
      |           fovnumber
a.cc: At global scope:
a.cc:29:5: error: redefinition of 'int main()'
   29 | int main() {
      |     ^~~~
a.cc:5:5: note: 'int main()' previously defined here
    5 | int main(){
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
#include <math.h> /*x^yを表すpow(int x, int y)を使うのでライブラリ追加*/
using namespace std;

int main(){
  int D, N;
  cin >> D >> N;
  int favoNumber = pow(100, D) * N;
  /*既にDはintで定義しているのでpow内でpow(100, int D)とする必要はない。やるとコンパイル
  エラーを吐かれる。*/
  if(N < 100){
  cout << favoNumber << endl;
}
  else{
    cout << favoNumber + 1 << endl;
  }


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected primary-expression before 'int'
    8 |   int favoNumber = pow(int 100, int D) * N;
      |                        ^~~
a.cc:8:33: error: expected primary-expression before 'int'
    8 |   int favoNumber = pow(int 100, int D) * N;
      |                                 ^~~
Language: C

#include<stdio.h>

int main(){
double D;
int N;
scanf("%d %d",&D,&N);
if(N<=99){printf("%d"pow(100,D)*N);
}else{printf("%d"pow(100,D)*101);}
}


Compiler output:
main.c: In function 'main':
main.c:7:22: error: expected ')' before 'pow'
    7 | if(N<=99){printf("%d"pow(100,D)*N);
      |                 ~    ^~~
      |                      )
main.c:8:18: error: expected ')' before 'pow'
    8 | }else{printf("%d"pow(100,D)*101);}
      |             ~    ^~~
      |                  )
Language: C

#include<stdio.h>

int main(){
int D;
int N;
scanf("%d %d",&D,&N);
if(D==0 && N<=99){
printf("%d",N*1);
if(N==100){
printf("%d",(N+1)*1);
}
}if(D==1 && N<=99){
printf("%d",N*100);
if(N==100){
printf("%d",(N+1)*100);
}if(D==2 && N<=99){
printf("%d",N*10000);
if(N==100){
printf("%d",(N+1)*10000);
}
}
}

Compiler output:
main.c: In function 'main':
main.c:22:1: error: expected declaration or statement at end of input
   22 | }
      | ^
Language: C

#include<stdio.h>

int main(){
int D;
int N;
scanf("%d %d",&D,&N);
if(D==0 && N<=99){
printf("%d",N*1);
if(N==100){
printf(101);
}
}if(D==1 && N<=99){
printf("%d",N*100);
if(N==100){
printf(10100)
}
}if(D==2 && N<=99){
printf("%d",N*10000);
if(N==100){
printf(1010000)
}
}
}

Compiler output:
main.c: In function 'main':
main.c:10:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 | printf(101);
      |        ^~~
      |        |
      |        int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:15:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   15 | printf(10100)
      |        ^~~~~
      |        |
      |        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:15:14: error: expected ';' before '}' token
   15 | printf(10100)
      |              ^
      |              ;
   16 | }
      | ~             
main.c:20:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   20 | printf(1010000)
      |        ^~~~~~~
      |        |
      |        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:20:16: error: expected ';' before '}' token
   20 | printf(1010000)
      |                ^
      |                ;
   21 | }
      | ~
Language: C

#include<stdio.h>

int main(){
int D;
int N;
scanf("%d %d",&D,&N);
if(D==0 && N<=99){
printf("%d",N*1);
if(N==100){
printf(101);
}
}if(D==1 && N<=99){
printf("%d",N*100);
if(N==100){
printf(10100)
}if(D==2 && N<=99){
printf("%d",N*10000);
if(N==100){
printf(1010000)
}
}
}

Compiler output:
main.c: In function 'main':
main.c:10:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 | printf(101);
      |        ^~~
      |        |
      |        int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:15:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   15 | printf(10100)
      |        ^~~~~
      |        |
      |        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:15:14: error: expected ';' before '}' token
   15 | printf(10100)
      |              ^
      |              ;
   16 | }if(D==2 && N<=99){
      | ~             
main.c:19:8: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   19 | printf(1010000)
      |        ^~~~~~~
      |        |
      |        int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:19:16: error: expected ';' before '}' token
   19 | printf(1010000)
      |                ^
      |                ;
   20 | }
      | ~               
main.c:22:1: error: expected declaration or statement at end of input
   22 | }
      | ^
Language: C

#include <stdio.h>
int main(void) {
    int d;
    int n;
    scanf("%d %d", &d, &n);
    int a = 1;
    for(int f=0; f<d; f++) {
        a = a * 100;
    }
    if(n <= 99) {
        printf("%d\n", n*a);
    }
    else{
        printf("%d\n" n*101);
    }
}


Compiler output:
main.c: In function 'main':
main.c:14:22: error: expected ')' before 'n'
   14 |         printf("%d\n" n*101);
      |               ~      ^~
      |                      )
Language: C++

#include<iostream>
#include<vector>
#define rep(i,n) for(int i=0;i<n;i++)

using namespace std;

int main() {
	int d, n, ans;

	cin >> d >> n;
	if (n != 100) {
		ans = pow(100, d)*n;
	}
	else if (n == 100) {
		ans = pow(100, d) * 101;
	}
	cout << ans << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:23: error: 'pow' was not declared in this scope
   12 |                 ans = pow(100, d)*n;
      |                       ^~~
a.cc:15:23: error: 'pow' was not declared in this scope
   15 |                 ans = pow(100, d) * 101;
      |                       ^~~
Language: C

include <stdio.h>
int main(void){
    int n,d,i,r;
    r = 1;
    scanf("%d",&d);
    scanf("%d",&n);
    for(i = 0;i < d;i++){
        r *= 100;
    }
    if(n == 100){
        printf("%d",r*(n+1));
        return 0;
    }
    printf("%d",r*n);
    return 0;
}

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

#include <iostream>
using namespace std;

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


Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:10:33: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   10 |                 cout << 100^d*n << endl;
      |                             ~~~~^~~~~~~
Language: C++

#include <stdio.h>
#include <math.h>
double pow(double);

int main()
{
	int n,d;
	printf("D N\n");
	scanf_s("%d %d", &d, &n);
	if ((d >= 0 && d <= 2) && (n >= 1 && n <= 100))
	{	
		double e=d;
		int h=(n+n/100)*pow(100, e);
		printf("%d\n", h);
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    9 |         scanf_s("%d %d", &d, &n);
      |         ^~~~~~~
      |         scanf
Language: Java

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){
            if(n==100){
                System.out.println(n+1);
            }else{
                System.out.println(n);
            }
        }
        if(d==1){
            if(n==100){
                System.out.println(n*100+100);
            }else{
                System.out.println(n*100);
            }
        }
        if(d==2){
            if(n==100){
                System.out.println(n*10000+10000);
            }else{
                System.out.println(n*10000);
            }
        }
        
    }
}

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

#include <iostream>
using namespace std ;


int pow(int a, int b) {
	int q = 1 ;
	if (b == 0)
		return q ;
	else {
		for (int i = 0; i < b; i++)
			q *= a ;
		return q ;
	}
}

int main(void) {
	ind D, N ;

	cin >> D >> N ;

	int q = pow(100, D) * N ;

	cout << q << endl ;

	return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:9: error: 'ind' was not declared in this scope; did you mean 'int'?
   17 |         ind D, N ;
      |         ^~~
      |         int
a.cc:19:16: error: 'D' was not declared in this scope
   19 |         cin >> D >> N ;
      |                ^
a.cc:19:21: error: 'N' was not declared in this scope
   19 |         cin >> D >> N ;
      |                     ^
Language: C++

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

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

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

int main()
{
	double a, b;
	int d, n;
	printf("D N \n");
	scanf("%d %d", &d, &n);
	if ((d >= 0 && d <= 2) && (n >= 1 && n <= 100))
	{
		if (d == 1)
		{
			a = (n - 1) / 9;
			printf("%f\n", (n - 9 * a)*pow(10, 2 + a));
		}
		else
		{
			if (d == 2)
			{
				b = (n - 1) / 81;
				printf("%f\n", (n-81*(n/81) + 10 + (n-81*(n/81) - 1) / 9)*pow(10,2+b));
			}
			else
			{
				if (n != 100)
				{
					printf("%d\n", n);
				}
				else
					printf("%d\n", n + 1);
			}
		}
	}
	else
		printf("No\n");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'printf' was not declared in this scope
    5 |         printf("D N \n");
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main()
a.cc:6:9: error: 'scanf' was not declared in this scope
    6 |         scanf("%d %d", &d, &n);
      |         ^~~~~
a.cc:12:52: error: 'pow' was not declared in this scope
   12 |                         printf("%f\n", (n - 9 * a)*pow(10, 2 + a));
      |                                                    ^~~
a.cc:19:91: error: 'pow' was not declared in this scope
   19 |                                 printf("%f\n", (n-81*(n/81) + 10 + (n-81*(n/81) - 1) / 9)*pow(10,2+b));
      |                                                                                           ^~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'elseif' was not declared in this scope
    9 |     elseif(D==1) cout << 10100 << endl;
      |     ^~~~~~
a.cc:10:5: error: expected '}' before 'else'
   10 |     else cout << 1010000 << endl;
      |     ^~~~
a.cc:7:13: note: to match this '{'
    7 |   if(N==100){
      |             ^
a.cc: At global scope:
a.cc:12:3: error: expected unqualified-id before 'else'
   12 |   else{
      |   ^~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

#include<iostream>
#include<cmath>
using namespace std;
int main() {
    int d, n;
    cin >> d >> n;
    if (n == 100) {
        cout << "101" << endl;
        for (int i = 0; i < ) cout << "00" << endl;
    } else if (d == 0) {
        cout << n << endl;
    } else if (d == 1) {
        cout << n * 100 << endl;
    } else if (d == 2) {
        cout << n * 10000 << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:29: error: expected primary-expression before ')' token
    9 |         for (int i = 0; i < ) cout << "00" << endl;
      |                             ^
a.cc:9:28: error: expected ';' before ')' token
    9 |         for (int i = 0; i < ) cout << "00" << endl;
      |                            ^~
      |                            ;
Language: C++

#include<iostream>
#include<math>

using namespace std;

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

  cout << N * pow(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 <iostream>
using namespace std;
 
int main(){
  int D,N;
  cin >> D >> N;
  if(D==0){
    cout << N << endl;}
  if(D==1){
    if(N==100){
      cout << 10100 << endl;}
    else{
      cout << N*100 << endl;}
  if(D==2){
    if(N==100){
      cout << 1010000 << endl;}
    else{
    cout << N*10000 << endl;}
}

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

#include<stdio.h>
int main(void){
	int i,j,z;
	scanf("%d %d",&i,&j);
	int dat[j-1];
	if(i==0){
		for(z=0;z<j;z++){
			dat[z]=z+1;
		}
	}
	if(i==1){
		for(z=1;z<j+1;z++){
			dat[z]=z*100
		}
	}
	if(i==2){
		for(z=1;z<j+1;z++){
			dat[z]=z*10000
		}
	}
	printf("%d",dat[j-1]);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:37: error: expected ';' before '}' token
   13 |                         dat[z]=z*100
      |                                     ^
      |                                     ;
   14 |                 }
      |                 ~                    
main.c:18:39: error: expected ';' before '}' token
   18 |                         dat[z]=z*10000
      |                                       ^
      |                                       ;
   19 |                 }
      |                 ~
Language: C

#include<stdio.h>
int main(void){
	int i,j,z;
	scanf("%d %d",&i,&j);
	int dat[j-1];
	if(i==0){
		for(z=0;z<j;z++){
			dat[z]=z+1;
		}
	}else if(i==1){
		for(z=1;z<j+1;z++){
			dat[z]=z*100
		}
	}
	}else{
		for(z=1;z<j+1;z++){
			dat[z]=z*10000
		}
	}
	printf("%d",dat[j-1]);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:37: error: expected ';' before '}' token
   12 |                         dat[z]=z*100
      |                                     ^
      |                                     ;
   13 |                 }
      |                 ~                    
main.c: At top level:
main.c:15:10: error: expected identifier or '(' before 'else'
   15 |         }else{
      |          ^~~~
main.c:20:16: error: expected declaration specifiers or '...' before string constant
   20 |         printf("%d",dat[j-1]);
      |                ^~~~
main.c:20:21: error: unknown type name 'dat'
   20 |         printf("%d",dat[j-1]);
      |                     ^~~
main.c:21:9: error: expected identifier or '(' before 'return'
   21 |         return 0;
      |         ^~~~~~
main.c:22:1: error: expected identifier or '(' before '}' token
   22 | }
      | ^
Language: C

#include<stdio.h>
int main(void){
	int i,j,z,dat[];
	scanf("%d %d",&i,&j);
	if(i==0){
		for(z=0;z<j;z++){
			dat[z]=z+1;
		}
	}else if(i==1){
		for(z=1;z<j+1;z++){
			dat[z]=z*100
		}
	}else{
		for(z=1;z<j+1;z++){
			dat[z]=z*10000
		}
	}
	printf("%d",dat[j-1]);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:19: error: array size missing in 'dat'
    3 |         int i,j,z,dat[];
      |                   ^~~
main.c:11:37: error: expected ';' before '}' token
   11 |                         dat[z]=z*100
      |                                     ^
      |                                     ;
   12 |                 }
      |                 ~                    
main.c:15:39: error: expected ';' before '}' token
   15 |                         dat[z]=z*10000
      |                                       ^
      |                                       ;
   16 |                 }
      |                 ~
Language: C++

#include <iostream>
using namespace std;

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

int D, N;#include <iostream>
using namespace std;

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

int D, N;

int main() {

	cin >> D >> N;

	long a = 1;

	for (int i = 0; i < D; i++) {
		a *= 100;
	}

	cout << (N == 100 ? (a * (N+1)) : (a * N)) << endl;

	return 0;
}

int main() {

	cin >> D >> N;

	long a = 1;

	for (int i = 0; i < D; i++) {
		a *= 100;
	}

	cout << (N == 100 ? (a * N+1) : (a * N)) << endl;

	return 0;
}

Compiler output:
a.cc:6:10: error: stray '#' in program
    6 | int D, N;#include <iostream>
      |          ^
a.cc:6:11: error: 'include' does not name a type
    6 | int D, N;#include <iostream>
      |           ^~~~~~~
a.cc:11:5: error: redefinition of 'int D'
   11 | int D, N;
      |     ^
a.cc:6:5: note: 'int D' previously declared here
    6 | int D, N;#include <iostream>
      |     ^
a.cc:11:8: error: redefinition of 'int N'
   11 | int D, N;
      |        ^
a.cc:6:8: note: 'int N' previously declared here
    6 | int D, N;#include <iostream>
      |        ^
a.cc:28:5: error: redefinition of 'int main()'
   28 | int main() {
      |     ^~~~
a.cc:13:5: note: 'int main()' previously defined here
   13 | int main() {
      |     ^~~~
Language: C++

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

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

int D, N;

int main() {

	cin >> D >> N;

	cout << pow(100, D) * N << endl;

	return 0;
}

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

#include<stdio.h>


int main(void)
{
    long int i,n;

    scanf("%ld%ld",&i,&n);

    if(n<100){
        if(i==0)
            printf("%ld",n);
        else if(i==1)
            printf("%ld",100*n);
        else
            printf("%ld",(long int)10000*n);
    }
    else if(n==100){
        if(i==0)
            printf("%d",n+1);
        else if(i==1)
            printf("%d",'100*(n+1));
        else
            printf("%d",10000*(n+1));
    }
    return 0;
}



Compiler output:
a.cc:22:25: warning: missing terminating ' character
   22 |             printf("%d",'100*(n+1));
      |                         ^
a.cc:22:25: error: missing terminating ' character
   22 |             printf("%d",'100*(n+1));
      |                         ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:23:9: error: expected primary-expression before 'else'
   23 |         else
      |         ^~~~
Language: C++

#include<stdio.h>


int main(void)
{
    long int i,n;

    scanf("%ld%ld",&i,&n);

    if((i==0)&&(n<100))
        printf("%ld",n);
    else if(i==1)&&(n<100)
        printf("%ld",100*n);
    else
        printf("%ld",(long int)10000*n);

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:12:20: error: expected identifier before '(' token
   12 |     else if(i==1)&&(n<100)
      |                    ^
Language: C++

int main(void)
{   
    int d,n;
    scanf("%d%d",&d,&n);
    
    if(d==0) printf("%d\n",n);
    else if(d==1) printf("%d\n",n*100);
    else printf("%ld\n",n*10000);
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d%d",&d,&n);
      |     ^~~~~
a.cc:6:14: error: 'printf' was not declared in this scope
    6 |     if(d==0) printf("%d\n",n);
      |              ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:7:19: error: 'printf' was not declared in this scope
    7 |     else if(d==1) printf("%d\n",n*100);
      |                   ^~~~~~
a.cc:7:19: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:10: error: 'printf' was not declared in this scope
    8 |     else printf("%ld\n",n*10000);
      |          ^~~~~~
a.cc:8:10: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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

    if(d==0) i=n;
    else if(d==1) i=n*100;
    else i=10000*n;

    printf("%d\n",i);
        
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d%d",&d,&n);
      |     ^~~~~
a.cc:10:5: error: 'printf' was not declared in this scope
   10 |     printf("%d\n",i);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
Language: C++

#include<stdio.h>


int main(void)
{
    int i,n;

    scnaf("%d%d",&i,&n);

    if(i==0)
        printf("%d",n);
    else if(i==1)
        printf("%d",100*n);
    else 
        printf("%d",10000*n);

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'scnaf' was not declared in this scope; did you mean 'scanf'?
    8 |     scnaf("%d%d",&i,&n);
      |     ^~~~~
      |     scanf
Language: C++

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

    if(d==0) i=n*1.0;
    else if(d==1) i=n*100.0;
    else i=10000.0*n;

    printf("%lf\n",i);
        
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'scanf' was not declared in this scope
    5 |     scanf("%d%d",&d,&n);
      |     ^~~~~
a.cc:11:5: error: 'printf' was not declared in this scope
   11 |     printf("%lf\n",i);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
Language: C++

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

    if(d==0) i=n*1.0;
    else if(d==1) i=n*100.0;
    else i=10000.0*n;

    printf("%lf",i);
        
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'scanf' was not declared in this scope
    5 |     scanf("%d%d",&d,&n);
      |     ^~~~~
a.cc:11:5: error: 'printf' was not declared in this scope
   11 |     printf("%lf",i);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
Language: C++

int main(void)
{   
    int d,n,i;
    scanf("%d%d",&d,&n);
    if(d==0) printf("%d\n",n);
    else if(d==1)   printf("%d\n",100*n);
    else printf("%lf\n",10000*n(double));

    
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d%d",&d,&n);
      |     ^~~~~
a.cc:5:14: error: 'printf' was not declared in this scope
    5 |     if(d==0) printf("%d\n",n);
      |              ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:6:21: error: 'printf' was not declared in this scope
    6 |     else if(d==1)   printf("%d\n",100*n);
      |                     ^~~~~~
a.cc:6:21: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:7:33: error: expected primary-expression before 'double'
    7 |     else printf("%lf\n",10000*n(double));
      |                                 ^~~~~~
a.cc:7:39: error: 'n' cannot be used as a function
    7 |     else printf("%lf\n",10000*n(double));
      |                                       ^
a.cc:7:10: error: 'printf' was not declared in this scope
    7 |     else printf("%lf\n",10000*n(double));
      |          ^~~~~~
a.cc:7:10: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++


int main(void)
{   
    int d,n,i;
    scanf("%d%d",&d,&n);
    if(d==0) printf("%d\n",n);
    else if(d==1)   printf("%d\n",100*n);
    else printf("%lf\n",10000*n);

    
    
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'scanf' was not declared in this scope
    5 |     scanf("%d%d",&d,&n);
      |     ^~~~~
a.cc:6:14: error: 'printf' was not declared in this scope
    6 |     if(d==0) printf("%d\n",n);
      |              ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | 
a.cc:7:21: error: 'printf' was not declared in this scope
    7 |     else if(d==1)   printf("%d\n",100*n);
      |                     ^~~~~~
a.cc:7:21: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:10: error: 'printf' was not declared in this scope
    8 |     else printf("%lf\n",10000*n);
      |          ^~~~~~
a.cc:8:10: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main()
{

    int a, b;
    cin >> a >> b;

    if (b % 100 == 0)
    {
        b++;
    }
    long long int ans = b;
    for (int i = 0; i < a; i++)
    {
        ans *= 100;
    }
    cout << ans;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout << ans;
      |     ^~~~
Language: Java

public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		double d = sc.nextDouble();
		int n = sc.nextInt();
		
		int first = (int) Math.pow(100, d);
		
		if(n == 100) {
			System.out.println(first * n + 1);
		}else {
			System.out.println(first * n);
		}
	}
}

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

#include<iostream>
#include<algorithm>

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

	std::cin >> D >> N;

	int count = 1;
	int i = 1;
	while (true)
	{
		if (i % 100 == 0) {
			i++;
			continue;
		}
		if (count == N) {
			answer = static_cast<int>(std::pow(100, D))*i;
			break;
		}

		i++;
		count++;
	}

	std::cout << answer << std::endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:56: error: 'pow' is not a member of 'std'
   19 |                         answer = static_cast<int>(std::pow(100, D))*i;
      |                                                        ^~~
Language: C++

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

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

    int ans = 0;

    for(int i = 1; i < 100000; i++){
        if(i % 100 == 0 && i / 100 = D){
            ans++;
        }
        if(ans == N) break;
    }
    
    cout << ans << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:11:25: error: lvalue required as left operand of assignment
   11 |         if(i % 100 == 0 && i / 100 = D){
      |            ~~~~~~~~~~~~~^~~~~~~~~~
Language: C++

#include <iostream>
#include <fstream>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <string>
#include <cstdio>
#include <stack>

using namespace std;

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

	if (D == 0) ans = N;
	if (D == 1) ans = 100 * N;
	if (D == 2) ans = 10000 * N;

	//Nは100までなので、100のときは101をかけてあげる（99までは答えは上記）
	if (N == 100) {
		if (D == 0) ans = N+1;
		if (D == 1) ans = 100*(N+1);
		if (D == 2) ans = 10000*(N+1);
	}	
	cout << ans << endl;

	return 0;

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