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

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

int main(){
    int D, N; 
    while (cin >> D >> N){
        int dv = 1
        for(int i = 0; i < D; i++){
            dv *= 100;
        }
        cout << dv*N << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected ',' or ';' before 'for'
   10 |         for(int i = 0; i < D; i++){
      |         ^~~
a.cc:10:24: error: 'i' was not declared in this scope
   10 |         for(int i = 0; i < D; i++){
      |                        ^
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class RingoFavoriteNumbers {

	public static void main(String args[]) throws Exception{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] line = br.readLine().split(" ");

		int d = Integer.parseInt(line[0]);
		int n = Integer.parseInt(line[1]);

		int n1 = 0;
		int n2 = 0;

		if(n>(100^2)){
			n2 = n/(100^2);
		}
		if(n>100){
			n1 = n/100 - n2;
		}
		n = n+n1+n2;


		System.out.println((int)Math.pow(100,d)*n);

	}
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:20:34: error: expected ';' before '}' token
   20 |                         n=1010000
      |                                  ^
      |                                  ;
   21 |         }
      |         ~
Language: Java

import java.util.Scanner;

public class Solution{
	  public static void main(String[] args) {
	      int a = 0,b=0;
	      Scanner sc = new Scanner(System.in);  
          
			a = sc.nextInt(); 
		    b = sc.nextInt();  
		  System.out.print(b);
		  for(int i=0;i<a;i++) {
			  System.out.print("00");
		  }
		  System.out.println("");
	  }
	}

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

#include <iostream>
#include <cstdio>
#include <sstream>
#include <cstring>
#include <map>
#include <set>
#include <vector>
#include <stack>
#include <queue>
#include <algorithm>
#include <cmath>
#define MOD 2018
#define LL long long
#define ULL unsigned long long
#define maxn 100009
#define Pair pair<int, int>
#define mem(a, b) memset(a, b, sizeof(a))
#define _  ios_base::sync_with_stdio(0),cin.tie(0)
//freopen("1.txt", "r", stdin);
using namespace std;
//const int LL_INF = 0x7fffffffffffffff,INF = 0x3f3f3f3f;

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



	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:38:25: error: expected ';' before '}' token
   38 |         cout<< "1000000"
      |                         ^
      |                         ;
   39 | 
   40 |     }
      |     ~
Language: Java

public class Main {

	public static void main(String[] args) throws IOException {
		final Scanner in = new Scanner(System.in);
		final int a = in.nextInt(), b = in.nextInt();
		System.out.println((Math.pow(100, a) * b));
	}

}


Compiler output:
Main.java:3: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:4: error: cannot find symbol
		final Scanner in = new Scanner(System.in);
		      ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		final Scanner in = new Scanner(System.in);
		                       ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: C++

#include<iostream>
#include<math.h>
#include<algorithm>

typedef long long ll;

#define FOR(i,a,b) for(ll i = (a);i < (b);++i)
#define REP(i,n) FOR(i,0,n)

#define debug(x) cout << #x << "=" << x << endl;

using namespace std;

int main(void){

    int A, B;
    cin >> A  >> B;

    if(A == 0){cout << B << endl;}
    else if (A == 1){
         if(B != 100){cout << 100 * B << endl; return 0;}
         cout << 10100 << endl;
    else{cout << 10000 * B << endl;}
  
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:5: error: expected '}' before 'else'
   23 |     else{cout << 10000 * B << endl;}
      |     ^~~~
a.cc:20:21: note: to match this '{'
   20 |     else if (A == 1){
      |                     ^
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <complex>
#include <stack>
#include <queue>
#include <iomanip>
using namespace std;
#define INF 1e9
#define PI acos(-1)
typedef long long ll;



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

	if (d == 0) {
		ans = n;
	}
	else if (d == 1) {
		ans = n * 100;
	}
	else {
		ans = n * 10000;
	}

	cout << ans << endl;

	retu

Compiler output:
a.cc: In function 'int main()':
a.cc:45:9: error: 'retu' was not declared in this scope
   45 |         retu
      |         ^~~~
a.cc:45:13: error: expected '}' at end of input
   45 |         retu
      |             ^
a.cc:27:12: note: to match this '{'
   27 | int main() {
      |            ^
Language: C++

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

typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<string> vs;
typedef pair<int, int> pi;
typedef long long ll;
typedef unsigned long long ull;
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define MKP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())
typedef vector<ll> vll;

int D,N;

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);

	cin >> D >> N;
	if ( ((int)(pow(100, D) * N) % (int)(pow(100, D)) ) != 0) {
		cout << "0" << endl;
		return;
	}
	cout << pow(100, D) * N << endl;


	
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:17: error: return-statement with no value, in function returning 'int' [-fpermissive]
   31 |                 return;
      |                 ^~~~~~
Language: C++

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

using ll=long long;
#define int ll

#define FOR(i,a,b) for(int i=int(a);i<int(b);i++)
#define REP(i,b) FOR(i,0,b)

int read(){
	int i;
	scanf("%lld",&i);
	return i;
}

signed main(){
	int d,n;
	cin >> d >> n;
	int i=1;
	int cnt = 0;
	int l = pow(100,d);
	while(cnt != n){
		i++;
		if(i%l == 0 && i/l != 100) cnt++;2
	}
	cout << i << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:51: error: expected ';' before '}' token
   24 |                 if(i%l == 0 && i/l != 100) cnt++;2
      |                                                   ^
      |                                                   ;
   25 |         }
      |         ~
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
using namespace std;
int main(){
    long int d,n,ans;
    cin>>d>>n;
    if(d==0)ans=n;
    else if(d==1)ans=100*n;
    else if(d==2)ans=10000*n;
    if(d==0&&n==100)ans+=1;
    if(d==1&&n==100)ans+=100;
    if(d==2&&n==100)ans+=10000
    cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:31: error: expected ';' before 'cout'
   12 |     if(d==2&&n==100)ans+=10000
      |                               ^
      |                               ;
   13 |     cout<<ans<<endl;
      |     ~~~~
Language: C++

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

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

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

	return 0;
}


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

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

typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<string> vs;
typedef pair<int, int> pi;
typedef long long ll;
typedef unsigned long long ull;
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define MKP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())
typedef vector<ll> vll;

int D,N;

ll fib(ull n) {
	if (n <= 1) return n;
	if (memo[n] != 0) return memo[n];
	return memo[n] = fib(n - 1) + fib(n - 2);
}

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);

	cin >> D >> N;
	if ( ((int)(pow(100, D) * N) % (int)(pow(100, D)) ) != 0) {
		cout << "0" << endl;
		return;
	}
	cout << pow(100, D) * N << endl;


	
	return 0;
}


Compiler output:
a.cc: In function 'll fib(ull)':
a.cc:25:13: error: 'memo' was not declared in this scope
   25 |         if (memo[n] != 0) return memo[n];
      |             ^~~~
a.cc:26:16: error: 'memo' was not declared in this scope
   26 |         return memo[n] = fib(n - 1) + fib(n - 2);
      |                ^~~~
a.cc: In function 'int main()':
a.cc:37:17: error: return-statement with no value, in function returning 'int' [-fpermissive]
   37 |                 return;
      |                 ^~~~~~
Language: Java

import java.util.*;
    public class Main2{
	public static void main(String[] args){
	    Scanner scan = new Scanner(System.in);
	    int numD = scan.nextInt();
	    int numN = scan.nextInt();
	    if(numD == 0 ){
		System.out.println(numN);
	    
	    }else if(numD == 1){
		System.out.println(numN*100);
	    }else if(numD == 2){
		System.out.println(numN*10000);
	    }
		
	}

	
    }


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

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

long long main() {
	long long d, n, num;
	cin >> d >> n ;
	if (d == 0) {
		num = n;
	}
	else {
		num = n * pow(100, d);
	}
	
//	printf("%lld\n", num);
	cout << num << endl;
}

Compiler output:
cc1plus: error: '::main' must return 'int'
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'sin'?
    6 |         cin >> d >> n ;
      |         ^~~
      |         sin
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << num << endl;
      |         ^~~~
a.cc:15:24: error: 'endl' was not declared in this scope
   15 |         cout << num << endl;
      |                        ^~~~
Language: C

#include <stdio.h>
#include <math.h>
int main() {
		int A, B;
		double shou = 0;
		double ret;
		scanf_s("%d %d", &A, &B);
		if (A == 0) {
			shou = B / 100;
		}
		ret = pow(100, A) * B + shou;
		printf("%.lf\n", ret);
		return 0;
}




Compiler output:
main.c: In function 'main':
main.c:7:17: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |                 scanf_s("%d %d", &A, &B);
      |                 ^~~~~~~
      |                 scanf
Language: C++

clude <iostream>

using namespace std;
int main() {
	int d, n;
	cin >> d;
	cin >> n;
	switch (d) {
	case 0:
		cout << n;
		break;
	case 1:
		cout << n * 100;
		break;
	case 2:
		cout << n * 10000;
		break;
	}
	

	return 0;
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <iostream>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin >> d;
      |         ^~~
a.cc:10:17: error: 'cout' was not declared in this scope
   10 |                 cout << n;
      |                 ^~~~
Language: C++

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


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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: expected ')' before '!' token
   12 |     if(n ! = 100){
      |       ~ ^~
      |         )
Language: C++

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

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

	if(d==0){
		if(n==100)
			cout<<"101"
		else
		cout<<n<<endl;
	}else if(d==1){
		if(n==100)
			cout<<10100<<endl;
		else
			cout<<n*100<<endl;
	}else if(d==2){
		if(n==100)
			cout<<1010000<<endl;
		else
			cout<<n*10000<<endl;
	}else{
		return 0;
	}
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:10:36: error: expected ';' before 'else'
   10 |                         cout<<"101"
      |                                    ^
      |                                    ;
   11 |                 else
      |                 ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
long long quickpow(int x,int y)
{
	if(y==0) 
		return 1;
	long long t=quickpow(x,y/2);
	long long ret=t*t;
	if(y%2==1) 
		ret=ret*x;
	return ret;
}
int main()
{
	long long n,e;
	scanf("%lld%lld",&n,&e);
	if(e==100)
		e++;
	printf("%lld\n",quickpow(100,n)*e)
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:43: error: expected ';' before 'return'
   19 |         printf("%lld\n",quickpow(100,n)*e)
      |                                           ^
      |                                           ;
   20 |         return 0;
      |         ~~~~~~
Language: C++

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:22:34: error: expected ';' before '}' token
   22 |             cout << (100 * N) + 1
      |                                  ^
      |                                  ;
   23 |         }
      |         ~                         
a.cc:31:36: error: expected ';' before '}' token
   31 |             cout << (10000 * N) + 1
      |                                    ^
      |                                    ;
   32 |         }
      |         ~
Language: C++

	int d, n;
	cin >> d >> n;
	int ans = n;
	if (n == 100) {
		ans = 101;
		
	}
	for (int i = 0; i < d; i++) {
		ans *= 100;
	}
	cout << ans;
	return 0;
}

Compiler output:
a.cc:2:9: error: 'cin' does not name a type
    2 |         cin >> d >> n;
      |         ^~~
a.cc:4:9: error: expected unqualified-id before 'if'
    4 |         if (n == 100) {
      |         ^~
a.cc:8:9: error: expected unqualified-id before 'for'
    8 |         for (int i = 0; i < d; i++) {
      |         ^~~
a.cc:8:25: error: 'i' does not name a type
    8 |         for (int i = 0; i < d; i++) {
      |                         ^
a.cc:8:32: error: 'i' does not name a type
    8 |         for (int i = 0; i < d; i++) {
      |                                ^
a.cc:11:9: error: 'cout' does not name a type
   11 |         cout << ans;
      |         ^~~~
a.cc:12:9: error: expected unqualified-id before 'return'
   12 |         return 0;
      |         ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: Java

import java.util.Scanner;

public class Main2 {

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

        //if(N == 0){
            //System.out.println(D);
          //  return;
        //}

        int pow = (int)Math.pow(100, N);
        int res = pow * D;
        if (N == 100){
            res = res + (int)Math.pow(100, N) ;
        }
        System.out.println(res);

    }
}


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

public class Main {

	public static void main(String[] args) throws IOException {
		final Scanner in = new Scanner(System.in);
		final int a = in.nextInt(), b = in.nextInt();
		System.out.println((100 ^ a) * b);
	}

}

Compiler output:
Main.java:3: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:4: error: cannot find symbol
		final Scanner in = new Scanner(System.in);
		      ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		final Scanner in = new Scanner(System.in);
		                       ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: C

#include<stdio.h>
int main(){
    int n,d;
    if(scanf("%d %d",&d,&n)==1);

    if(d==0){
        if(n<100){
            printf("%d\n",n);
        }
        else{
            printf("\n");
        }
    }

    else if(d==1){
        if(n<100){
            printf("%d\n",100*n);
        }
        else{
            printf("\n");
        }
    }

    else if(d==2){
        if(n<100){
            printf("%d\n",10000*n);
        }
        else{
            printf("\n",);
        }
    }
    

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:29:25: error: expected expression before ')' token
   29 |             printf("\n",);
      |                         ^
Language: C++

#include<iostream>
using namespace std;
 
int main()
{
    // get a integer
    int a;
    cin >> a;
    int b;
    cin >> b
    if (a == 0) {
        cout << b;
        return 0;
    }
    cout << b << string(a*2, '0');
    // cout << "hello world";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected ';' before 'if'
   10 |     cin >> b
      |             ^
      |             ;
   11 |     if (a == 0) {
      |     ~~
Language: C

#include<stdio.h>
int main(void){
	int n,d,i;
	scanf("%d %d",&d,&n);
	if(d==0&&n!=100)printf("%d\n",n);
	else if(d==0&&n==100)printf("101\n");
	else if(d==1&&n!=100)printf("%d\n",100*n);
	else if(d==0&&n==100)printf("10100\n);
	else if(d==2&&n!=100)printf("%d\n",10000*n);
	else printf("1010000\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:37: warning: missing terminating " character
    8 |         else if(d==0&&n==100)printf("10100\n);
      |                                     ^
main.c:8:37: error: missing terminating " character
    8 |         else if(d==0&&n==100)printf("10100\n);
      |                                     ^~~~~~~~~~
main.c:9:9: error: expected expression before 'else'
    9 |         else if(d==2&&n!=100)printf("%d\n",10000*n);
      |         ^~~~
main.c:11:18: error: expected ';' before '}' token
   11 |         return 0;
      |                  ^
      |                  ;
   12 | }
      | ~
Language: C

/*
AtCoder Beginner Contest 100 B - Ringo's Favorite Numbers
結果:
*/

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

#define max(x,y)(x<y?y:x)
#define int long long

//尺取法
//scanf("%d", &N);
//for (i; i < N; ++i) {
//	scanf("%d", &A[i]);
//	if (b[A[i]] == 1) {
//		ans = max(ans, i - j);
//		while (b[A[i]] == 1) {
//			b[A[j++]] = 0;
//		}
//	}
//	b[A[i]] = 1;
//}
//ans = max(ans, i - j);
//printf("%d\n", ans);

//文字列の最大出現
//static int N, i, j, ans;
//static int A, B;
//static char A[50][51];
//static int cnt, max;
//char *max_name;
//
//scanf("%d", &N);
//for (i = 0; i < N; i++) {
//	scanf("%s", A[i]);
//}
//max_name = A[0];
//for (i = 0; i < N; i++) {
//	cnt = 0;
//	for (j = 0; j < N; j++) {
//		if (strcmp(A[i], A[j]) == 0) {
//			cnt++;
//		}
//		if (cnt > max) {
//			max = cnt;
//			max_name = A[i];
//		}
//	}
//}
//printf("%s\n", max_name);

//#define DEBUG1
//#define DEBUG2
//#define DEBUGF

int main() {
	//static int N, i, j, ans;
	//static int A, B;
	static double A, B, ans;
	//static char A[50][51];
	//static int cnt, max;
	//char *max_name;

	//scanf("%d", &N);
	//scanf("%d %d", &A, &B);
	scanf("%lf %lf", &A, &B);
	//for (i = 0; i < N; i++) {
	//	scanf("%s", A[i]);
	//}
#ifdef DEBUG1
	printf("%lf\n", A);
	printf("%lf\n", B);
#endif
	(int)ans = pow(100, A) * B;
	printf("%d\n", ans);
	//printf("%s\n", max_name);

#ifdef DEBUGF
	getch();
#endif
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:77:18: error: lvalue required as left operand of assignment
   77 |         (int)ans = pow(100, A) * B;
      |                  ^
Language: C++

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

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





}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else if(D==1&&N!=100){
      |   ^~~~
a.cc:15:3: error: 'else' without a previous 'if'
   15 |   else if(D==2&&N!=100){
      |   ^~~~
Language: C

#include <stdio.h>
int main(void)
{
　int D;
　int N;
 　scanf("%d %d", &D,&N);
 　
if(N!=100){　
　switch(D){
　    case 0:
　       printf("%d",N);
　       break;
　   case 1:
　       printf("%d",100*N);
　       break;
　   case 2:
　       printf("%d",10000*N);
　       break;
　  default:break;
　}
　else {switch(D){
　    case 0:
　       printf("%d",101);
　       break;
　    case 1:
　       printf("%d",10100);
　   case 2:
　       printf("%d",1001000);
　}
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:1: error: stray '\343' in program
    4 | <U+3000>int D;
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int N;
      | ^~~~~~~~
main.c:6:2: error: stray '\343' in program
    6 |  <U+3000>scanf("%d %d", &D,&N);
      |  ^~~~~~~~
main.c:7:2: error: stray '\343' in program
    7 |  <U+3000>
      |  ^~~~~~~~
main.c:8:12: error: stray '\343' in program
    8 | if(N!=100){<U+3000>
      |            ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>switch(D){
      | ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>    case 0:
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>       printf("%d",N);
      | ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>       break;
      | ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>   case 1:
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000>       printf("%d",100*N);
      | ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000>       break;
      | ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>   case 2:
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000>       printf("%d",10000*N);
      | ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000>       break;
      | ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>  default:break;
      | ^~~~~~~~
main.c:20:1: error: stray '\343' in program
   20 | <U+3000>}
      | ^~~~~~~~
main.c:21:1: error: stray '\343' in program
   21 | <U+3000>else {switch(D){
      | ^~~~~~~~
main.c:21:3: error: expected '}' before 'else'
   21 | 　else {switch(D){
      |   ^~~~
main.c:22:1: error: stray '\343' in program
   22 | <U+3000>    case 0:
      | ^~~~~~~~
main.c:23:1: error: stray '\343' in program
   23 | <U+3000>       printf("%d",101);
      | ^~~~~~~~
main.c:24:1: error: stray '\343' in program
   24 | <U+3000>       break;
      | ^~~~~~~~
main.c:25:1: error: stray '\343' in program
   25 | <U+3000>    case 1:
      | ^~~~~~~~
main.c:26:1: error: stray '\343' in program
   26 | <U+3000>       printf("%d",10100);
      | ^~~~~~~~
main.c:27:1: error: stray '\343' in program
   27 | <U+3000>   case 2:
      | ^~~~~~~~
main.c:28:1: error: stray '\343' in program
   28 | <U+3000>       printf("%d",1001000);
      | ^~~~~~~~
main.c:29:1: error: stray '\343' in program
   29 | <U+3000>}
      | ^~~~~~~~
main.c:31:1: error: expected declaration or statement at end of input
   31 | }
      | ^
Language: C++

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

typedef vector<int> vi;
typedef vector<vi> vii;
typedef vector<string> vs;
typedef pair<int, int> pi;
typedef long long ll;
typedef unsigned long long ull;
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define MKP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())
typedef vector<ll> vll;

int D,M;

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);

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


Compiler output:
a.cc: In function 'int main()':
a.cc:28:21: error: 'N' was not declared in this scope
   28 |         cin >> D >> N;
      |                     ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
	int d;
	int n;
	int ans;
	cin>>d>>n;
	if(d==0){
		x=1;
	}
	else if(d==1){
		x=100;
	}
	else{
		x=10000;
	}
	for(int i=0;i<n;i++){
		ans+=x;
	}
	cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: 'x' was not declared in this scope
   10 |                 x=1;
      |                 ^
a.cc:13:17: error: 'x' was not declared in this scope
   13 |                 x=100;
      |                 ^
a.cc:16:17: error: 'x' was not declared in this scope
   16 |                 x=10000;
      |                 ^
a.cc:19:22: error: 'x' was not declared in this scope
   19 |                 ans+=x;
      |                      ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int D,N;
cin>>D>>N;
int pp[99];
for(int a;a=0;a<100;a++)cin>>pp[a];
int oo[9999];
for(int b;b=100;b<10000;b=b+100)cin>>oo[b];
long long qq[999999];
for(long long c;c=10000;c<1000000;c=c+10000)cin>>qq[c];
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:7:20: error: expected ')' before ';' token
    7 | for(int a;a=0;a<100;a++)cin>>pp[a];
      |    ~               ^
      |                    )
a.cc:7:21: error: 'a' was not declared in this scope
    7 | for(int a;a=0;a<100;a++)cin>>pp[a];
      |                     ^
a.cc:9:24: error: expected ')' before ';' token
    9 | for(int b;b=100;b<10000;b=b+100)cin>>oo[b];
      |    ~                   ^
      |                        )
a.cc:9:25: error: 'b' was not declared in this scope
    9 | for(int b;b=100;b<10000;b=b+100)cin>>oo[b];
      |                         ^
a.cc:11:34: error: expected ')' before ';' token
   11 | for(long long c;c=10000;c<1000000;c=c+10000)cin>>qq[c];
      |    ~                             ^
      |                                  )
a.cc:11:35: error: 'c' was not declared in this scope
   11 | for(long long c;c=10000;c<1000000;c=c+10000)cin>>qq[c];
      |                                   ^
Language: C++

#include <iostream>


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

	std::cout << ((int)std::pow(100, a) * b);

    return 0;
}



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

#include <stdio.h>
#include <math.h>
double a,b,c;
int main(){
scanf("%lf %lf",&a,&b);
if(b<100){
c=pow(10,a)*b;
}else if(b==100){
c=pow(10,a+2)+99*pow(10,a);
printf("%f",c);
return 0;
}


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

#include  <math.h>
int main()
{
 int  d,n;
  scanf("%d%d",&d,&n);
  if(d==0)
    printf("%d\n",n);
    else
    {
      int  x;
       if(d==1)
        x=100;
       if(d==2)
        x=10000;

       printf("%d\n",x*n);

    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'scanf' was not declared in this scope
    5 |   scanf("%d%d",&d,&n);
      |   ^~~~~
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("%d\n",n);
      |     ^~~~~~
a.cc:2:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
    1 | #include  <math.h>
  +++ |+#include <cstdio>
    2 | int main()
a.cc:16:8: error: 'printf' was not declared in this scope
   16 |        printf("%d\n",x*n);
      |        ^~~~~~
a.cc:16:8: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include <stdio.h>
#include <math.h>
double a,b,c;
int main(){
scanf("%lf,%lf",&a,&b);
if(b<100){
c=pow(10,a)*b;
}else if(b==100){
c=pow(10,a+2)+99*pow(10,a);
printf("%f",c);
return 0;
}


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

#include <stdio.h>
#include <math.h>
double a,b,c;
int main(){
scanf("%lf,%lf",&a,&b);
if(b<100){
c=pow(10,a)*b;
}else if(b==100){
c=pow(10,a+1)+99*pow(10,a);
printf("%f",c);
return 0;
}


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

#include <iostream>

int main(void) {
    if(D == 0) {
        if(N <= 99)
            std::cout << N << std::endl;
        else
            std::cout << 101 << std::endl;
    }
    else if(D == 1) {
        if(N <= 99)
            std::cout << N * 100 << std::endl;
        else
            std::cout << 101 * 100 << std::endl;
    }
    else {
        if(N <= 99)
            std::cout << N * 10000 << std::endl;
        else
            std::cout << 101 * 10000 << std::endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: 'D' was not declared in this scope
    4 |     if(D == 0) {
      |        ^
a.cc:5:12: error: 'N' was not declared in this scope
    5 |         if(N <= 99)
      |            ^
a.cc:11:12: error: 'N' was not declared in this scope
   11 |         if(N <= 99)
      |            ^
a.cc:17:12: error: 'N' was not declared in this scope
   17 |         if(N <= 99)
      |            ^
Language: C++

#include <iostream>


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

	std::cout << ((int)pow(100, a) * b);

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:28: error: 'pow' was not declared in this scope
    9 |         std::cout << ((int)pow(100, a) * b);
      |                            ^~~
Language: Java

import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Darshan
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        InputReader in = new InputReader(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        TaskB solver = new TaskB();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskB {
        public void solve(int testNumber, InputReader in, PrintWriter out) {
            int d, n;
            d = in.nextInt();
            n = in.nextInt();
            out.print(n);
            if (n == 100)
                d--;
            for (int i = 1; i <= 2 * d; i++)
                out.print(0);
            out.println();

        }

    }

    static class InputReader {
        private InputStream stream;
        private byte[] buf = new byte[1024];
        private int curChar;
        private int numChars;
        private InputReader.SpaceCharFilter filter;

        public InputReader(InputStream stream) {
            this.stream = stream;
        }

        public int read() {
            if (numChars == -1)
                throw new InputMismatchException();

            if (curChar >= numChars) {
                curChar = 0;
                try {
                    numChars = stream.read(buf);
                } catch (IOException e) {
                    throw new InputMismatchException();
                }

                if (numChars <= 0)
                    return -1;
            }
            return buf[curChar++];
        }

        public int nextInt() {
            int c = read();

            while (isSpaceChar(c))
                c = read();

            int sgn = 1;

            if (c == '-') {
                sgn = -1;
                c = read();
            }

            int res = 0;
            do {
                if (c < '0' || c > '9')
                    throw new InputMismatchException();
                res *= 10;
                res += c - '0';
                c = read();
            }
            while (!isSpaceChar(c));

            return res * sgn;
        }

        public boolean isSpaceChar(int c) {
            if (filter != null)
                return filter.isSpaceChar(c);
            return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
        }

        public interface SpaceCharFilter {
            public boolean isSpaceChar(int ch);

        }

    }


Compiler output:
Main.java:108: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

public class RingoFavoriteNumbers {

	public static void main(String args[]){
		int d = Integer.parseInt(args[0]);
		int n = Integer.parseInt(args[1]);

		int n1 = 0;
		int n2 = 0;

		if(n>(100^2)){
			n2 = n/(100^2);
		}
		if(n>100){
			n1 = n/100 - n2;
		}
		n = n+n1+n2;
		

		System.out.println((int)Math.pow(100,d)*n);

	}
}

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

int main()
{
    int a, b;
    std::cin >> a >> b;
    int r;
    r = b * pow(100, a);
    if (r >= pow(100, a+1)) r = r + 1 * pow(100, a);
    std::cout << r << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'cin' is not a member of 'std'
    4 |     std::cin >> a >> b;
      |          ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | int main()
a.cc:6:13: error: 'pow' was not declared in this scope
    6 |     r = b * pow(100, a);
      |             ^~~
a.cc:8:10: error: 'cout' is not a member of 'std'
    8 |     std::cout << r << std::endl;
      |          ^~~~
a.cc:8:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:28: error: 'endl' is not a member of 'std'
    8 |     std::cout << r << std::endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main()
Language: C++


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


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

	std::cout << ((int)std::pow(100, a) * b);

    return 0;
}



Compiler output:
a.cc:2:10: fatal error: stdafx.h: No such file or directory
    2 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.
Language: Java

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

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

      int i = 0;

      int j = 1;

      if (n != 100) {

      while ( i < d ) {
         j = j * 100;
         i = i + 1;
      }
      System.out.println(n * j);


      }
      else {
         if ( d = 0 ) {
            System.out.println(101);
         }
         if else (d = 2) {
            System.out.println(10001);
         }
         else {
            System.out.println(1000001);
         }
      }
   }
}

Compiler output:
Main.java:27: error: '(' expected
         if else (d = 2) {
           ^
Main.java:27: error: illegal start of expression
         if else (d = 2) {
            ^
Main.java:27: error: not a statement
         if else (d = 2) {
                 ^
Main.java:27: error: ';' expected
         if else (d = 2) {
                        ^
Main.java:30: error: 'else' without 'if'
         else {
         ^
5 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:36: error: expected primary-expression before ';' token
   11 |             cout<<(n+1)*pow(100,d)+;
      |                                    ^
Language: C

 1 /*head*/
  2 #include<stdio.h>
  3 /*main*/
  4 int main(){
  5         int d,n;
  6         int p=100;
  7 
  8         scanf("%d%d",&d,&n);
  9 
 10         if(d<0 || n<1 || n>101){
 11                 printf(":(");
 12         }
 13         else if(d == 0){
 14                 printf("%d\n",n);
 15         }
 16         else if(d == 1){
 17                 printf("%d\n",n*p);
 18         }
 19         else if(d == 2){
 20                 printf("%d\n",n*p*p);
 21         }
 22         else{
 23                 printf(":(");
 24         }
 25         return 0;
 26 }


Compiler output:
main.c:1:2: error: expected identifier or '(' before numeric constant
    1 |  1 /*head*/
      |  ^
main.c:2:5: error: stray '#' in program
    2 |   2 #include<stdio.h>
      |     ^
Language: C

#include<stdio.h>
int main()
{
    int D,N,i,a = 1;

    scanf("%d %d", &D,&N);

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

    if(N == 100)
        a = a * (N + 1);
    else a = a * N;
;

    printf("%d",a);

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:14: error: expected ';' before ':' token
    8 |     for(i = 0:i < D;i++){
      |              ^
      |              ;
main.c:8:24: error: expected ';' before ')' token
    8 |     for(i = 0:i < D;i++){
      |                        ^
      |                        ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define repr(i,k,n) for(int i = (k); i < (n); i++)
#define rep(i,n) repr(i,0,n)
#define ALL(a) begin(a),end(a)
const int INF = 114514810;
const int MOD = 1000000007;
typedef vector<int> vi;
typedef vector<string> vs;
typedef long long ll;
int main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	ll N,D;
	cin >> D >> N;
	if (N==100D!=2){
		cout << pow(100,D)*(N+1) << endl;
	}else{
		cout << pow(100,D)*N << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:16: error: unable to find numeric literal operator 'operator""D'
   16 |         if (N==100D!=2){
      |                ^~~~
Language: Java

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

class Main{
	public static void main(String args[]) throws FileNotFoundException{
		Scanner sc=new Scanner(System.in);
		String buf;
		buf=sc.nextLine();
		
		int a=Integer.parseInt(buf.split(" ")[0]);
		int b=Integer.parseInt(buf.split(" ")[1]);
		
		int x=0;
		
		if(a==0){
			x=1;
			System.out.println(x*b);
		}else if(a==1){
			x=100;
			if(b<100){
				System.out.println(x*b);
			}else{
				System.out.println(10100);
			}
			}
		}else if(a==2){
			x=10000;
			if(b<100){
				System.out.println(x*b);
			}else{
				System.out.println(1010000);
			}
		}
	}

	static void disp(int[] data){
		for(int i=0; i<data.length; i++){
				System.out.printf("%d ",data[i]);
		}
			System.out.println();
	}
}


Compiler output:
Main.java:27: error: illegal start of type
		}else if(a==2){
		 ^
Main.java:27: error: <identifier> expected
		}else if(a==2){
		          ^
Main.java:37: error: unnamed classes are a preview feature and are disabled by default.
	static void disp(int[] data){
	       ^
  (use --enable-preview to enable unnamed classes)
Main.java:43: error: class, interface, enum, or record expected
}
^
4 errors
Language: C

#include<stdio.h>
int main(){
    int n,d;
    if(scanf("%d %d",&d,&n)==1);
    if(d==0){
        if(n<100){
            printf("%d\n",n);
        }
        else{
            printf("%d\n",n-1);
        }
    }
    else if(d==1){
        if(n<100){
            printf("%d\n",100*n);
        }
        else{
            printf("%d\n",100*n-1);
        }
    }
    else if(d==2){
        if(n<100){
            printf("%d\n",10000*n);
        }
        else{
            printf("%d\n",10000*n-1);
        }
    }
    return 0;

Compiler output:
main.c: In function 'main':
main.c:29:5: error: expected declaration or statement at end of input
   29 |     return 0;
      |     ^~~~~~
Language: Java

public 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 && N < 100) {
			System.out.println(N);
		} else if (D == 0 && N == 100) {
			System.out.println(101);
		} else if (D == 1) {
			System.out.println(100 * N);
		} else if (D == 2) {
			System.out.println(100 * 100 * N);
		}
	}
	
}

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 <stdio.h>
int main(void)
{
　int D;
　int 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);
　    
　}
　 else break;
  return 0;
}
　

Compiler output:
main.c: In function 'main':
main.c:4:1: error: stray '\343' in program
    4 | <U+3000>int D;
      | ^~~~~~~~
main.c:5:1: error: stray '\343' in program
    5 | <U+3000>int N;
      | ^~~~~~~~
main.c:6:2: error: stray '\343' in program
    6 |  <U+3000>scanf("%d %d", &D,&N);
      |  ^~~~~~~~
main.c:7:1: error: stray '\343' in program
    7 | <U+3000>
      | ^~~~~~~~
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>if (D==0){
      | ^~~~~~~~
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>    printf("%d", N);
      | ^~~~~~~~
main.c:10:1: error: stray '\343' in program
   10 | <U+3000>
      | ^~~~~~~~
main.c:11:1: error: stray '\343' in program
   11 | <U+3000>}
      | ^~~~~~~~
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>else if(D==1){
      | ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>    printf("%d",100*N);
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000>
      | ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000>}
      | ^~~~~~~~
main.c:16:1: error: stray '\343' in program
   16 | <U+3000>else if(D==2){
      | ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000>    printf("%d",10000*N);
      | ^~~~~~~~
main.c:18:1: error: stray '\343' in program
   18 | <U+3000>
      | ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000>}
      | ^~~~~~~~
main.c:20:1: error: stray '\343' in program
   20 | <U+3000> else break;
      | ^~~~~~~~
main.c:20:9: error: break statement not within loop or switch
   20 | 　 else break;
      |         ^~~~~
main.c: At top level:
main.c:23:1: error: stray '\343' in program
   23 | <U+3000>
      | ^~~~~~~~
Language: C++

#include <stdio.h>
#include <math.h>
int main() {
	int A, B;
	double ret;
	scanf_s("%d %d", &A, &B);
	ret = pow(100, A) * B;
	printf("%.lf\n", ret);
	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", &A, &B);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <stdio.h> 
int main(){
  int D, N;
  int x;
  scanf("%d%d", &D, &N);
  if(N==100){
  printf("Error";)
  }else{
  if(D==0){
  printf("%d",N);
  }else if(D==1){
    x = N*100;
  printf("%d",x); 
  }else if(D==2){
    x = N*100;
    x = x*100;
  printf("%d",x);
  
  }
 } 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: expected ')' before ';' token
    7 |   printf("Error";)
      |         ~       ^
      |                 )
a.cc:7:18: error: expected primary-expression before ')' token
    7 |   printf("Error";)
      |                  ^
Language: C++

#include <iostream>

int main() {
  unsigned long d, n;

  std::cin >> d;
  std::cin >> n;

  if (n != 100) {
    unsigned long ans = n;

    for (size_t i=0; i<d; i++)
      ans *= 100;

    std::cout << ans << std::endl;
  } else {
    switch (d) {
    0:
      std::cout << 101 << std::endl;
      break;
    1:
      std::cout << 10100 << std::endl;
      break;
    2:
      std::cout << 1010000 << std::endl;
      break;
    }
  }

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:6: error: expected ';' before ':' token
   18 |     0:
      |      ^
      |      ;
a.cc:21:6: error: expected ';' before ':' token
   21 |     1:
      |      ^
      |      ;
a.cc:24:6: error: expected ';' before ':' token
   24 |     2:
      |      ^
      |      ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
    long long int a,b;
    cin>>a>>b;
    long long int h=100;
    long long int r=pow(h,a);
long long int ans=b*r;
    cout<<ans<<"\n";
	// your code goes here
	return 0;


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

#include <iostream>

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

Compiler output:
a.cc:33:1: error: 'Ap' does not name a type
   33 | Ap
      | ^~