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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:15: error: expected ';' before '}' token
   11 |     tmp *= 100
      |               ^
      |               ;
   12 |   }
      |   ~
Language: C++

#include <bits/stdc.h>

using namespace std;

int main ()
{
  int a, b;
  cin >> a >> b;
  
  if(a == 0){
    cout << b;
  }
  else if(a == 1){
    cout << b * 100;
  }
  else 
    cout << b * 10000;
  
  return 0;
}

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

int main()
{
  int d, n;

  cin >> d >> n;

  if(n == 100)
    cout << 101 * pow(100, d) << endl;
  else
    cout << n * pow(100, d) << endl;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> d >> n;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << 101 * pow(100, d) << endl;
      |     ^~~~
a.cc:8:19: error: 'pow' was not declared in this scope
    8 |     cout << 101 * pow(100, d) << endl;
      |                   ^~~
a.cc:8:34: error: 'endl' was not declared in this scope
    8 |     cout << 101 * pow(100, d) << endl;
      |                                  ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << n * pow(100, d) << endl;
      |     ^~~~
a.cc:10:17: error: 'pow' was not declared in this scope
   10 |     cout << n * pow(100, d) << endl;
      |                 ^~~
a.cc:10:32: error: 'endl' was not declared in this scope
   10 |     cout << n * pow(100, d) << endl;
      |                                ^~~~
Language: C

#include<stdio.h>
#include<math.h>
int main(){
  int D,N;
  scanf("%d %d",&D,&N);
  if(N!=100) printf("%d\n",(int)pow(100,D) * N);
  else printf("%d\n",(int)pow(100,D) * 101)
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:44: error: expected ';' before 'return'
    7 |   else printf("%d\n",(int)pow(100,D) * 101)
      |                                            ^
      |                                            ;
    8 |   return 0;
      |   ~~~~~~
Language: C++

#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
vector<int> v[3];

void init()
{
    for(int i=1;;i++)
    {
        if(v[0].size()>=100&&v[1].size()>=100&&v[2].size()>=100) return;
        if(i%100) v[0].push_back(i);
        else if(i/100%100) v[1].push_back(i);
        else if(i/100/100%100) v[2].push_back(i);
    }
}

int main()
{
    init();
    int d,n;
    scanf("%d %d",&d,&n);
    printf("%d\n",v[d][n-1]);
    return 0;
}


Compiler output:
a.cc:5:1: error: 'vector' does not name a type
    5 | vector<int> v[3];
      | ^~~~~~
a.cc: In function 'void init()':
a.cc:11:12: error: 'v' was not declared in this scope
   11 |         if(v[0].size()>=100&&v[1].size()>=100&&v[2].size()>=100) return;
      |            ^
a.cc:12:19: error: 'v' was not declared in this scope
   12 |         if(i%100) v[0].push_back(i);
      |                   ^
a.cc:13:28: error: 'v' was not declared in this scope
   13 |         else if(i/100%100) v[1].push_back(i);
      |                            ^
a.cc:14:32: error: 'v' was not declared in this scope
   14 |         else if(i/100/100%100) v[2].push_back(i);
      |                                ^
a.cc: In function 'int main()':
a.cc:23:19: error: 'v' was not declared in this scope
   23 |     printf("%d\n",v[d][n-1]);
      |                   ^
Language: C

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

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


Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
main.c: In function 'main':
main.c:7:4: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |    scanf("%d%d",&d,&n);
      |    ^~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    2 | #include <math.h>
  +++ |+#include <stdio.h>
    3 | 
main.c:7:4: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |    scanf("%d%d",&d,&n);
      |    ^~~~~
main.c:7:4: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:13: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |    if(d==0) printf("%d",n);
      |             ^~~~~~
main.c:8:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:13: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:18: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    9 |    else if(d==1) printf("%d",100*n);
      |                  ^~~~~~
main.c:9:18: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:18: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   10 |    else if(d==2) printf("%d",10000*n);
      |                  ^~~~~~
main.c:10:18: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

int main(void)
{
   int d,n;
   scanf("%d%d",&d,&n);
   printf("%d",n*power(100,d));
   return 0;
}



Compiler output:
main.c: In function 'main':
main.c:8:18: error: implicit declaration of function 'power' [-Wimplicit-function-declaration]
    8 |    printf("%d",n*power(100,d));
      |                  ^~~~~
Language: Java

class main{
 
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int A = scan.nextInt();
		int B = scan.nextInt();
		if(A == 0){
			System.out.println(B);
		}else{
			int x = 1;
 
			for(int i = 0;i<A;i++){
				x *= 100;
			}
if(B == 100){
System.out.println(x*(B+1));
}else{
		System.out.println(x*B);
		}
}
 
	}
 
 
 
 
 
}

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

#include<stdio.h>

int main(void){
int d,n,divided=1;
scanf("%d",&d);
scanf("%d",&n);
for(int i = 0;i<d;i++)
divided *= 100
printf("%d",n*divided);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected ';' before 'printf'
    8 | divided *= 100
      |               ^
      |               ;
    9 | printf("%d",n*divided);
      | ~~~~~~
Language: C++

#include<stdio.h>

int main(void){
int d,n,divided=1;
scanf("%d",d);
scanf("%d",n);
for(int i = 0;i<d;i++)
divided *= 100
printf("%d",n*divided);
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected ';' before 'printf'
    8 | divided *= 100
      |               ^
      |               ;
    9 | printf("%d",n*divided);
      | ~~~~~~
Language: Java

import java.util.*;

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

        int output = 0;
        switch (d) {
            case 0:
                output = 1;
                break;
            case 1:
                output = 100;
                break;
            case 2:
                output = 10000;
                break;
        }

        System.out.println(output*n);
    }
}

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

#include<stdio.h>

int main() {
	int D, N,i;
	scanf("%d%d",&D,&N);

	for (i = D; i != 0; i--) {
		N = N * 100;
	}
	printf(N);

}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   10 |         printf(N);
      |                ^
      |                |
      |                int
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include "stdafx.h"
#include <iostream>
#include <vector>

using namespace std;

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

	if (d == 0)cout << n << endl;
	else if(d == 1)cout << 100 * n << endl;
	else cout << 10000 * 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<bits/stdc++.h>
using namespace std;
int main(){
    int d,n;
    cin>>d >>n;
    vector<int> v1,v2,v3;
    for(int i = 1; i <= 1e7; i++){
        if( i%100 != 0 && v1.size()<=99 ){
            v1.push_back(i);
        }
        else if( i%10000 != 0 && v2.size()<= 99){
            v2.push_back(i);
        }
        else if( i%1000000 != 0 && v3.size()<= 99{
            v3.push_back(i);
        }
    }
    if( d == 1) cout<<v1[n-1]<<endl;
    else if( d == 2) cout<<v2[n-1]<<endl;
    else if( d == 3) cout<<v3[n-1]<<endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:50: error: expected ')' before '{' token
   14 |         else if( i%1000000 != 0 && v3.size()<= 99{
      |                ~                                 ^
      |                                                  )
a.cc:17:5: error: expected primary-expression before '}' token
   17 |     }
      |     ^
Language: C++

#include<iostream>
using namespace std;

int main() {
	double D;
	int	N; //100でちょうどD回割れる制すの中でN番目に小さいもの
	cin >> D >> N;
	double sp = pow(100,D);
	
	cout << sp * N;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: 'pow' was not declared in this scope
    8 |         double sp = pow(100,D);
      |                     ^~~
Language: C++

#include<iostream>
using namespace std;

int main() {
	double D;
	int	N; //100でちょうどD回割れる制すの中でN番目に小さいもの
	cin >> D >> N;
	int sp = pow(100,D);
	
	cout << sp * N;
}

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

#include<iostream>
using namespace std;

int main() {
	int D,N; //100でちょうどD回割れる制すの中でN番目に小さいもの
	cin >> D >> N;
	int sp = pow(100, D);
	
	cout << sp * N;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: 'pow' was not declared in this scope
    7 |         int sp = pow(100, D);
      |                  ^~~
Language: C

#include<iostream>
using namespace std;

int main() {
	int D,N; //100でちょうどD回割れる制すの中でN番目に小さいもの
	cin >> D >> N;
	int sp = pow(100, D);
	
	cout << sp * N;
}

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


l = map(int, raw_input().split())
# print(d)
# print(n)
d = l[0]
n = l[1]

if d == 0:
	print(n)
elif d == 1:
	print(n*100*d)
elif d == 2:
	print(n*10000)

Compiler output:
a.cc:3:3: error: invalid preprocessing directive #print
    3 | # print(d)
      |   ^~~~~
a.cc:4:3: error: invalid preprocessing directive #print
    4 | # print(n)
      |   ^~~~~
a.cc:2:1: error: 'l' does not name a type
    2 | l = map(int, raw_input().split())
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) repi(i,0,n)
#define repi(i,a,b) for(int i=(int)(a);i<(int)(b);i++)
typedef long long i64;
int main(){
  int D,N;
  cin >> D >> N;
  N = (N==100 ? 101:N)
  cout << ((int)pow(100,D))*N << endl;
  return 0;
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected ';' before 'for'
    7 |     n++
      |        ^
      |        ;
    8 |   for(int i=0;i<d;i++){
      |   ~~~   
a.cc:8:15: error: 'i' was not declared in this scope
    8 |   for(int i=0;i<d;i++){
      |               ^
Language: C++

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

#include <cmath>

using namespace std;

int power(int m){
	int ret = 1;
	for(int i=1;i<=m;i++){
		ret *= i;
	}
	return ret;
}

int main(void){
	int d, n;
	cin >> d >> n;
	if(n!=100){
		cout << n * power(100,d) << endl;
	}else{
		cout << power(100,d) + 101 << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:34: error: too many arguments to function 'int power(int)'
   22 |                 cout << n * power(100,d) << endl;
      |                             ~~~~~^~~~~~~
a.cc:10:5: note: declared here
   10 | int power(int m){
      |     ^~~~~
a.cc:24:30: error: too many arguments to function 'int power(int)'
   24 |                 cout << power(100,d) + 101 << endl;
      |                         ~~~~~^~~~~~~
a.cc:10:5: note: declared here
   10 | int power(int m){
      |     ^~~~~
Language: C++

#include <stdio.h>

int main(void) {

	int D, N,ans,cal,count = 0;
	scanf_s("%d%d", &D, &N);


	if (D == 0) {
		ans = N;
		if (N == 100) {
			ans = 101;
		}

		printf("%d", ans);
	}

	else {
		if (D == 1) {
			cal = 100;
		}

		if (D == 2) {
			cal = 10000;
		}

		for (int i = 1;count < N;i++) {
			if (i % cal == 0) {
				if (i % ((cal+ 1) ) != 0) {

					ans = i;
					count++;



				}
			}
		}

		printf("%d", ans);

	}

	int i;
	scanf_s
	("%d", &i);
	return 0;
}



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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before '<' token
    6 |   for(int i=0,i<d,i++){
      |                ^
      |                ;
a.cc:6:16: error: expected primary-expression before '<' token
a.cc:6:22: error: expected ';' before ')' token
    6 |   for(int i=0,i<d,i++){
      |                      ^
      |                      ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before '<' token
    6 |   for(int i=0,i<d,i++){
      |                ^
      |                ;
a.cc:6:16: error: expected primary-expression before '<' token
a.cc:6:22: error: expected ';' before ')' token
    6 |   for(int i=0,i<d,i++){
      |                      ^
      |                      ;
a.cc:7:14: error: expected ';' before '}' token
    7 |     n=n*10*10
      |              ^
      |              ;
    8 |   }
      |   ~
Language: C++

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

int main()
{
    ios_base::sync_with_stdio(false);
    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 << n * 100 + 1 << endl;
        }
        cout << n * 100 << endll
    }
    if(d == 2) {
        if(n == 100) {
            cout << n * 100 * 100 + 1 << endl;
        }
        else cout << n * 100 * 100 << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:28: error: 'endll' was not declared in this scope
   19 |         cout << n * 100 << endll
      |                            ^~~~~
Language: C++

#include<iostream>
using namespace std;
int a,b;

int main(){
	ios::sync_with_stdio(0);
	cin>>b>>a;
	if(a==100)++a;
	cout<<a;
	for(int i=1;i<=b;++i)cout<<"00"<<(i==b)?'\n':"";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:48: error: operands to '?:' have different types 'char' and 'const char*'
   10 |         for(int i=1;i<=b;++i)cout<<"00"<<(i==b)?'\n':"";
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int a,b;

int main(){
	ios::sync_with_stdio(0);
	cin>>b>>a;
	if(a==100)++a;
	cout<<a;
	for(int i=1;i<=b;++i)cout<<"00"<<(i==n)?'\n':"";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:46: error: 'n' was not declared in this scope
   10 |         for(int i=1;i<=b;++i)cout<<"00"<<(i==n)?'\n':"";
      |                                              ^
Language: Java

ç=import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        long nCount = 0;
        long k = 0;
        long i = 1;
        while (true) {
            if (i % Math.pow(100,D) == 0 && i % Math.pow(100,D + 1) != 0) {
                k = i;
                if (N == nCount++) break;
            }
            i++;
        }
        System.out.println(k);
    }
}


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
?=import java.util.Scanner;
^
1 error
Language: C

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

int main(){
    
    int i,j;
    scanf("%d %d",&i,&j);
    i = pow(100,i);
    if(j==100)
    i=101*i;
    
    i*=j
    
    printf("%d\n",i);
    
    return 0;
}        

Compiler output:
main.c: In function 'main':
main.c:12:9: error: expected ';' before 'printf'
   12 |     i*=j
      |         ^
      |         ;
   13 | 
   14 |     printf("%d\n",i);
      |     ~~~~~~
Language: Java

iimport java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int cnt = 0;
		if(a == 0) {
			if(b >= 100) {
				for(int i = 100;i <= b;i ++) {
				if(b % 100 == 0) cnt ++;
				}
				System.out.println(b+cnt);
			}else {
				System.out.println(b);
			}
		}else{
			int c = 1;
			for(int i = 0;i < a;i ++) {
				c = c * 100;
			}
			System.out.println(c * b);
		}
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
iimport java.util.*;
^
1 error
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cmath>    
#include <cstring>
#include <array>
#include <cctype>
#include <string.h>
#include <vector>
#include <limits.h>
#include <list>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cassert>
#include <algorithm>
#include <functional>
#include <sstream>
#include <iomanip>
#include <cstdlib>
#include <stdio.h>
#include <bitset>
using namespace std;
#define PI 3.14159265359
#define mp make_pair
#define pb push_back
#define FOR(i,a,b) for(int i=a;i<b;i++)
#define REP(i,n) FOR(i,0,n)
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
typedef vector<vi> vvi;
typedef vector<vii> vvii;
const int INF = 1<<29;
typedef long long ll;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

int main(){
	ios_base::sync_with_stdio(false); //Fast I/O
	cin.tie(NULL);
	//freopen("in.txt","r",stdin);
	//freopen("output.txt","w",stdout);	

	cin >> d >> n;

	if(d==0){
		cout << n << endl;
		return 0;
	}

	int cc=1;

	FOR(i,0,d)	cc*=100;

	if(n<100)	cout << cc*n << endl;
	else	cout << cc*101 << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:47:16: error: 'd' was not declared in this scope
   47 |         cin >> d >> n;
      |                ^
a.cc:47:21: error: 'n' was not declared in this scope; did you mean 'yn'?
   47 |         cin >> d >> n;
      |                     ^
      |                     yn
Language: Java

import java.util.Scanner;

public class mygraph {
  public static void main(String[] args) {
	  Scanner sc=new Scanner(System.in);
	  String str="00";
	  String nbefore="1";
	  int N,D,n,ans;
	  D=sc.nextInt();
	  N=sc.nextInt();
	  for(int i=0;i<D;i++) {
		  nbefore=nbefore+str;

	  }
	  n=Integer.parseInt(nbefore);
	  ans=n*N;
	  System.out.println(ans);
  }
}


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

#include<bits/stdc++.h>
using namespace std ;
 
int main() 
{
    long long int  d , n , m = 10000 ;
    cin >> d >> n ;
    if ( d == 0 )
    {
        if ( n < 100)
        cout << n << endl ;
        else cout << 99 << endl ;
    }
    else if ( d == 1 )
    {
        if ( n < 100 )
        {
        cout << (100 * n) << endl ;
        }
        else cout << (99 * n) ;
    }
    else if ( d == 2 )
    {
        if ( n < 100)
        {
        cout << 100*100*n << endl ;
        }
        else
        {
            cout << (1LL*99 * m)<<endl ;
        }
    }
     return 0 ;
}
#include<bits/stdc++.h>
using namespace std ;

int main() 
{
    long long int  d , n , m = 10000 ;
    cin >> d >> n ;
    if ( d == 0 )
    {
        if ( n < 100)
        cout << n << endl ;
        else cout << 99 << endl ;
    }
    else if ( d == 1 )
    {
        if ( n < 100 )
        {
        cout << (100 * n) << endl ;
        }
        else cout << 10001<<endl;
    }
    else if ( d == 2 )
    {
        if ( n < 100)
        {
        cout << 100*100*n << endl ;
        }
        else
        {
            cout << 1000001<<endl;
        }
    }
     return 0 ;
}


Compiler output:
a.cc:38:5: error: redefinition of 'int main()'
   38 | int main()
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main()
      |     ^~~~
Language: Java

import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

public class Main {

		public static void main(String[] args){

			Scanner sc = new Scanner(System.in);
			// 整数の入力
			// スペース区切りの整数の入力
			int D = sc.nextInt();
			int N = sc.nextInt();
			
			if(N==100)|
				N=101;
			}
			
			long kazu = 100;
			
			double warikire = (long) Math.pow(kazu, D);
//			System.out.println(warikire);
			long ans = (long) (warikire * N);

			// 出力
			System.out.println(ans);
			return ;
		}
}


Compiler output:
Main.java:15: error: illegal start of expression
			if(N==100)|
			          ^
Main.java:26: error: <identifier> expected
			System.out.println(ans);
			                  ^
Main.java:26: error: <identifier> expected
			System.out.println(ans);
			                      ^
Main.java:27: error: illegal start of type
			return ;
			^
Main.java:29: error: class, interface, enum, or record expected
}
^
5 errors
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 << 100*101 << endl;
		} else {
		 	cout << n*100 << endl;
		}
	}
	else {
		if( n == 100 ) {
			cout << 10000*101 << endl;
		} else {
			cout << n*10000 << 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:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> d >> n;
      |         ^~~
a.cc:11:25: error: 'cout' was not declared in this scope
   11 |                         cout << 101 << endl;
      |                         ^~~~
a.cc:11:40: error: 'endl' was not declared in this scope
   11 |                         cout << 101 << endl;
      |                                        ^~~~
a.cc:13:25: error: 'cout' was not declared in this scope
   13 |                         cout << n << endl;
      |                         ^~~~
a.cc:13:38: error: 'endl' was not declared in this scope
   13 |                         cout << n << endl;
      |                                      ^~~~
a.cc:18:25: error: 'cout' was not declared in this scope
   18 |                         cout << 100*101 << endl;
      |                         ^~~~
a.cc:18:44: error: 'endl' was not declared in this scope
   18 |                         cout << 100*101 << endl;
      |                                            ^~~~
a.cc:20:25: error: 'cout' was not declared in this scope
   20 |                         cout << n*100 << endl;
      |                         ^~~~
a.cc:20:42: error: 'endl' was not declared in this scope
   20 |                         cout << n*100 << endl;
      |                                          ^~~~
a.cc:25:25: error: 'cout' was not declared in this scope
   25 |                         cout << 10000*101 << endl;
      |                         ^~~~
a.cc:25:46: error: 'endl' was not declared in this scope
   25 |                         cout << 10000*101 << endl;
      |                                              ^~~~
a.cc:27:25: error: 'cout' was not declared in this scope
   27 |                         cout << n*10000 << endl;
      |                         ^~~~
a.cc:27:44: error: 'endl' was not declared in this scope
   27 |                         cout << n*10000 << endl;
      |                                            ^~~~
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#include "stdio.h"


int main()
{
	int N, D,a=1;
	scanf("%d %d", &N, &D);
	for (int i = 0; i <= N-1; i++) {
			a *= 100;
	}
	a = a * D;

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

    return 0;
}
　　

Compiler output:
a.cc:18:1: error: extended character 　 is not valid in an identifier
   18 | 　　
      | ^
a.cc:18:1: error: extended character 　 is not valid in an identifier
a.cc:18:1: error: '\U00003000\U00003000' does not name a type
   18 | 　　
      | ^~~~
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#include "stdio.h"


int main()
{
	int N, D,a=1,i;
	scanf("%d %d", &N, &D);
	
	for (i = 0; i <= N; i++) {
		a *= 100;
	}
	a = a * D;
	printf("%d\n", a);
	
    return 0;
}
 
　　　　　　　　　

Compiler output:
a.cc:19:1: error: extended character 　 is not valid in an identifier
   19 | 　　　　　　　　　
      | ^
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: extended character 　 is not valid in an identifier
a.cc:19:1: error: '\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000\U00003000' does not name a type
   19 | 　　　　　　　　　
      | ^~~~~~~~~~~~~~~~~~
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#include "stdio.h"


int main()
{
	int N, D,a=1,i;
	scanf("%d %d", &N, &D);
	
	for (i = 1; i <= N; i++) {
			a *= 100;
	}
		a = a * D;

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

    return 0;
}
 
　　

Compiler output:
a.cc:20:1: error: extended character 　 is not valid in an identifier
   20 | 　　
      | ^
a.cc:20:1: error: extended character 　 is not valid in an identifier
a.cc:20:1: error: '\U00003000\U00003000' does not name a type
   20 | 　　
      | ^~~~
Language: C++

//Date : 16 - 06 - 18  //Author : Rishabh Paul

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

// int main() {
// 	int a ,b;
// 	cin >> a >> b;
// 	if(max(a ,b) <= 8)	cout << "Yay!";
// 	else cout << ":(";
// 	return 0;
// }

 int main() {
 	int d ,n;
 	cin >> d >> n;
 	int ans;
 	if(d == 0)	ans = 0;
 	else if(d == 1)	ans = 100;
 	else ans = 10000;
 	n--;
 	ans += n;
 	else cout << ans;
 	return 0;
 }

// int main() {
// 	int n ,ans = 0 ,x;
// 	cin >> n;
// 	while(n--) {
// 		cin >> x;
// 		while(x % 2 == 0 && x)	ans++ ,x /= 2;
// 	}
// 	cout << ans;
// 	return 0;
// }

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

// 	return 0;
// }

Compiler output:
a.cc: In function 'int main()':
a.cc:23:9: error: 'else' without a previous 'if'
   23 |         else cout << ans;
      |         ^~~~
Language: C++

#include<iostream>
using namespace std;
 
int main() {
	int D, N;
	cin >> D;
	cin >> N;
	if (0 <= D <= 2 && 1 <= N <= 100) {
		int r = 1;
      	if(D!=100){
			for (int i = 1;i <= D;i++) r *= 100;
        }
      	else{
          	for (int i = 1;i <= D;i++) r *= 101;
        cout << r * N;
	}
  	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
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;
}
#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;
}


Compiler output:
a.cc:24:5: error: redefinition of 'int calc(int)'
   24 | int calc(int x) {
      |     ^~~~
a.cc:3:5: note: 'int calc(int)' previously defined here
    3 | int calc(int x) {
      |     ^~~~
a.cc:32:5: error: redefinition of 'int main()'
   32 | int main() {
      |     ^~~~
a.cc:11:5: note: 'int main()' previously defined here
   11 | int main() {
      |     ^~~~
Language: C

#include <iostream>

int a, b, c[100], d = 1, i = 1;

int main()
{
	std::cin >> a >> b;
	while(i <= b)
	{
		if(a == 0 && d % 100 != 0)
		{
		
			c[i] = d;
			i++;
		}
		if(a == 1 && d % 100 == 0)
		{
			c[i] = d;
			i++;	
		}
		if(a == 2 && d % 100 == 0)
		{
			if(d / 100 % 100 == 0)
			{
				c[i] = d;
				i++;	
			}

		}
		d++;
		
	}
	std::cout << c[b] << std::endl;
}

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

#include <stdio.h>

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

    //system("pause");
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:5: error: expected '}' before 'else'
   11 |     else if(D==0)
      |     ^~~~
main.c: At top level:
main.c:21:5: 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 D, N;
  
    scanf("%d %d", &D, &N);
    
    if(N==100)
        //printf("%n\n");
    else if(D==0)
        printf("%d\n", N);
    else if(D==1)
        printf("%d\n", 100*N);
    else
        printf("%d\n", 10000*N);
        

    //system("pause");
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:5: error: expected expression before 'else'
   11 |     else if(D==0)
      |     ^~~~
Language: Java

import java.util.Scanner;

public class Main{
	public static int divisble(int n) {
		if(n/100==0) {
			return 0;
		}
		return 1+divisble(n/100);
	}
	public static void main(String [] args){
		Scanner input = new Scanner(System.in);
		String temp = input.nextLine();
		int toReturn=0;
		int d=Integer.parseInt(temp.substring(0, temp.indexOf(" ")));
		int num=Integer.parseInt(temp.substring(temp.indexOf(" ")+1));
		int count=0;
		int tempe=1;
		while(count!=d) {
			tempe*=10;
			count=divisble(tempe);
		}
		for(int x=0;x<num;x++) {
			toReturn+=tempe;
		}
		if(n==100) {
			toReturn+=tempe;
		}
		System.out.println(toReturn);
		input.close();
		
	}
	

}


Compiler output:
Main.java:25: error: cannot find symbol
		if(n==100) {
		   ^
  symbol:   variable n
  location: class Main
1 error
Language: C++

#include <iostream>
#include <math.h>
using namespace std;
int main() {
  int d, n;
  int count;
  int ans = 0;
  cin >> d >> n;
  if(n == 100 ) {
    cout << 
  }
  count = pow(100, d);
  for(int i = 0; i < n; i++) {
    ans += count;
  }
  if(n == 100)
   ans += count;
  cout << ans << "\n";
  return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: invalid type argument of unary '*' (have 'int')
    6 |    cout<<n*100**d;
      |                ^~
Language: C++

#include <iostream>
#include <cstdio>
#include <algorithm>
#include <string>
#include <cstring>
#include <cctype>
#include <cmath>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <list>
#include <stdio.h>
#include <string.h>
#include <cstdlib>
#include <math.h>
#include <bitset>
#define INF 2000000000
using namespace std;
int dx[4]={1,0,-1,0},dy[4]={0,1,0,-1};
typedef long long ll;
#define PL pair<long long, long long>
#define P pair<int,int>
#define mk make_pair
#define en endl;
#define WHITE 0
#define BLACK 2
#define GRAY 1
#define RE return 0;
#define HERE cout<<"         here"
#define out(value) cout<<value<<en


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

  int ans=1;
  for(int i=0; i<d; i++){
    ans*=100;
  }

  cout<<n*ans<<en
}

int main(){
  int n;
  cin>>n;
  int ans=0;
  for(int i=0; i<n; i++){
    int a;
    cin>>a;
    while(a%2==0){
      a/=2;
      ans++;
    }
  }

  cout<<ans<<en
}

Compiler output:
a.cc:47:5: error: redefinition of 'int main()'
   47 | int main(){
      |     ^~~~
a.cc:35:5: note: 'int main()' previously defined here
   35 | int main(){
      |     ^~~~
Language: C++

#include<bits/stdc++.h>

using namespace std;

int dx[]={0,1,0,-1};
int dy[]={1,0,-1,0};

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

    for(int i = 0; i < d; i++)
    {
        ans *= 100;
    }



    if (n < 100) {
        cout << n * ans << endl;
    }
    else
    {
        cout << (n+1) * ans << endl;
    }



    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected initializer before 'ans'
    9 |     int d, n ans;
      |              ^~~
a.cc:10:17: error: 'n' was not declared in this scope
   10 |     cin >> d >> n;
      |                 ^
a.cc:14:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |         ans *= 100;
      |         ^~~
      |         abs
a.cc:20:21: error: 'ans' was not declared in this scope; did you mean 'abs'?
   20 |         cout << n * ans << endl;
      |                     ^~~
      |                     abs
a.cc:24:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
   24 |         cout << (n+1) * ans << endl;
      |                         ^~~
      |                         abs
Language: C++

#include<bits/stdc++.h>

using namespace std;

int dx[]={0,1,0,-1};
int dy[]={1,0,-1,0};

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

    for(int i = 0; i < d; i++)
    {
        ans *= 100;
    }



    if (n < 100) {
        cout << n * ans§ << endl;
    }
    else
    {
        cout << (n+1) * ans << endl;
    }



    return 0;
}


Compiler output:
a.cc:20:21: error: extended character § is not valid in an identifier
   20 |         cout << n * ans§ << endl;
      |                     ^
a.cc: In function 'int main()':
a.cc:9:14: error: expected initializer before 'ans'
    9 |     int d, n ans;
      |              ^~~
a.cc:10:17: error: 'n' was not declared in this scope
   10 |     cin >> d >> n;
      |                 ^
a.cc:14:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |         ans *= 100;
      |         ^~~
      |         abs
a.cc:20:21: error: 'ans\U000000a7' was not declared in this scope
   20 |         cout << n * ans§ << endl;
      |                     ^~~~
a.cc:24:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
   24 |         cout << (n+1) * ans << endl;
      |                         ^~~
      |                         abs
Language: C++

#include"bits/stdc++.h"
using namespace std;
int main(){
	long long d,n;
	cin>>d>>n;
	if(d==0){
		if(n!=100)
			cout<<n;
		else
			cout<<101;
	}
	else if(d==1){
		if(n!=100)
			cout<<100*n;
		else
			cout<<10001;
	}
	else{
		if(n!=100)
			cout<<10000*n;
		else
			cout<<1000001;
}

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

import java.util.*;
public class B {
    public static void Main(String[] args){
    	Scanner sc = new Scanner(System.in);
    	int d = sc.nextInt();
    	int n = sc.nextInt();
    	int reg =1;
    	for(int i=0;i<d;i++){
    		reg*=100;
    	}
    	System.out.println(reg*n);
    }
}


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected ';' before '}' token
    9 |   return 0
      |           ^
      |           ;
   10 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  cin >> a >> b;
  if (a == 0 && b == 100) cout << 101 << endl;
  else if (a == 0) cout << b << endl;
  else if (a == 1 && b == 100) cout << 10001 << endl;
  else if (a == 2 && b == 100) cout << 1000001
  else cout << pow(100, a) * b << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:47: error: expected ';' before 'else'
    9 |   else if (a == 2 && b == 100) cout << 1000001
      |                                               ^
      |                                               ;
   10 |   else cout << pow(100, a) * b << endl;
      |   ~~~~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    int d,n;
    cin>>d>>n;
    if(d==0)cout<<n<<endl;
    else if(d==1)cout<<n*100<<endl;
    else cout<<n*10000<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:8:30: error: expected '}' at end of input
    8 |     else cout<<n*10000<<endl;
      |                              ^
a.cc:3:15: note: to match this '{'
    3 | int main(void){
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: expected primary-expression before '*=' token
   10 |                 100**=a;
      |                     ^~
Language: C++

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

Compiler output:
a.cc:3:9: warning: built-in function 'pow' declared as non-function [-Wbuiltin-declaration-mismatch]
    3 | int a,b,pow;
      |         ^~~
a.cc: In function 'int main()':
a.cc:8:12: error: expected ';' before 'for'
    8 |         a=0
      |            ^
      |            ;
    9 |         for(i=0;i<a;i++){
      |         ~~~ 
a.cc:9:17: error: 'i' was not declared in this scope
    9 |         for(i=0;i<a;i++){
      |                 ^
a.cc:12:16: error: expected ';' before 'cout'
   12 |         ans=a*b
      |                ^
      |                ;
   13 |         cout<<ans<<endl;
      |         ~~~~
Language: C++

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main() {
	int D,N;
	cin>>D>>N;

	N%=100;
	cout<<(long)pow(100, D)*N<<endl;
	return 0;
}


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

#include <iostream>
using namespace std;
int a,b,pow;
int main()
{
	cin>>a>>b;
	int ans;
	ans=b*pow(100*a);	
	cout<<ans<<endl;
}

Compiler output:
a.cc:3:9: warning: built-in function 'pow' declared as non-function [-Wbuiltin-declaration-mismatch]
    3 | int a,b,pow;
      |         ^~~
a.cc: In function 'int main()':
a.cc:8:18: error: 'pow' cannot be used as a function
    8 |         ans=b*pow(100*a);
      |               ~~~^~~~~~~
Language: C++

#include <iostream>
#include <cmath>

int main()
{
        long long int a, b, c, ans;
        std::cin >> a >> b;

        c = std::pow(100, a);
        ans = c;

        if(b == 100){
                std::cout << c << std::endl;
                return 0;
        }
        
        std::cout << b * c std::endl;
        return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:27: error: expected ';' before 'std'
   17 |         std::cout << b * c std::endl;
      |                           ^~~~
      |                           ;
Language: C++

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

typedef long long int int64;

#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a,b) ((a)>(0)?(a):-(a))

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

typedef long long int int64;

#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define ABS(a,b) ((a)>(0)?(a):-(a))

int main(void){
int D, N ;
scanf("%d",&D);
scanf("%d",&N);
if(D == 0 ){
printf("%d",N+N/100);
}else if(D == 1){
printf("%d",100*ℕ+N/10000*100);
}else{
printf("%d",10000*N+ N/1000000 *10000);
}return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:28:17: error: '\U00002115' was not declared in this scope
   28 | printf("%d",100*ℕ+N/10000*100);
      |                 ^
Language: C++

#include <iostream>
using namespace std;
int a,b,pow;
int main()
{
	cin>>a>>b;
	int ans;
	ans=pow(100*a) *b;	
	cout<<ans<<endl;
}

Compiler output:
a.cc:3:9: warning: built-in function 'pow' declared as non-function [-Wbuiltin-declaration-mismatch]
    3 | int a,b,pow;
      |         ^~~
a.cc: In function 'int main()':
a.cc:8:16: error: 'pow' cannot be used as a function
    8 |         ans=pow(100*a) *b;
      |             ~~~^~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:10: error: expected '(' before '{' token
    7 | } else if{
      |          ^
      |          (
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int D,N;
cin>>D>>N;
int pp[99];
int a;
int g;
for(a=0;a<100;a++)cin>>pp[a];
g=pp[a];
g=a+1;
int oo[99];
int b;
int f;
for(b=0;b<100;b++)cin>>oo[b];
f=oo[b];
f=100*(b+1);
long long c;
long long qq[99];
long long e;
for(c=0;c<100;c++)cin>>qq[c];
e=qq[c];
e=10000*(c+1);
if(
if(D==0){
cout<<pp[N-1]<<endl;
}if(D==1){
cout<<oo[N-1]<<endl;
}if(D==2){
cout<<qq[N-1]<<endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:1: error: expected primary-expression before 'if'
   25 | if(D==0){
      | ^~
a.cc:24:4: error: expected ')' before 'if'
   24 | if(
      |   ~^
      |    )
   25 | if(D==0){
      | ~~  
a.cc:32:1: error: expected primary-expression before '}' token
   32 | }
      | ^
Language: C++

#include <iostream>
#include <cmath>

int main()
{
        long long int a, b, c, ans;
        std::cin >> a >> b;

        c = std::pow(100, a);
        ans = c;
        
        std::cout << b * c std::endl;
        return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:27: error: expected ';' before 'std'
   12 |         std::cout << b * c std::endl;
      |                           ^~~~
      |                           ;
Language: C

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


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


#include <iostream>
#include <string>



int main()
{
	int a, b;
	int result = 1;
	

	std::cin >> a >> b;
	
	switch (a)
	{
	case 0:
	{
		for (int i = 2; i <= b; i++)
		{
			if (i % 100 == 0)
			{
				result++;
			}
			result++;
		}
	}
	default:
	{
		result = std::pow(100, double(a)) * b;
	}

	}

	std::cout << result << std::endl;

	return 0;

}







Compiler output:
a.cc: In function 'int main()':
a.cc:30:31: error: 'pow' is not a member of 'std'
   30 |                 result = std::pow(100, double(a)) * b;
      |                               ^~~
Language: C

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


Compiler output:
main.c:1:10: 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 scan = new Scanner(System.in);
	    int numD = scan.nextInt();
	    int numN = scan.nextInt();
	    if(numN==100){
		if(numD==0)
		System.out.println((numN-1));
		else if(numD == 1)
		    System.out.printn((numN*100-100));
		else if(numD==2)
		    System.out.println((numN*10000-10000));
	    }
	    if(numD == 0 && numN <100){
		System.out.println(numN);
	    
	    }else if(numD == 1 && numN < 100){
		System.out.println(numN*100);
	    }else if(numD == 2 && numN < 100){
		System.out.println(numN*10000);
	    }
		
	}

	
    }

Compiler output:
Main.java:11: error: cannot find symbol
		    System.out.printn((numN*100-100));
		              ^
  symbol:   method printn(int)
  location: variable out of type PrintStream
1 error
Language: C++

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

#include <cmath>

using namespace std;

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

	//if(n!=100){
		cout << (n%pow(100,d)) * pow(100,d) << endl;
	/*}else{
		cout << endl;
	}*/
	/*
	switch(d){
		case 0:
			if(n<100){
				cout << n << endl;
			}else{
				cout << n+1 << endl;
			}
			break;
		case 1:
			if(n<100){
				cout << (n*100) << endl;
			}else{
				cout << ((n+1)*100) << endl;
			}			
			break;
		case 2:
			if(n<100){
				cout << (n*pow(100,2)) << endl;
			}else{
				cout << ((n+1)*pow(100,2)) << endl;
			}
			
			break;
	}*/
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: invalid operands of types 'int' and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
   15 |                 cout << (n%pow(100,d)) * pow(100,d) << endl;
      |                          ~^~~~~~~~~~~
      |                          |    |
      |                          int  __gnu_cxx::__promote<double>::__type {aka double}
Language: C++

#include<iostream>
using namespace std;

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

  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:9:14: error: expected ';' before 'ans'
    9 |   else (D==2) ans=N*10000;
      |              ^~~~
      |              ;