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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {

    static int A;
    static int B;

    public static void main(String[] args) {
        FastScanner sc = new FastScanner(System.in);
        A = sc.nextInt();
        B = sc.nextInt();
        System.out.println( solve() );
    }

    private static String solve() {
        String yay = "Yay!";
        String boo = ":(";

        if( A <= 8 && B <= 8 ) {
            return yay;
        } else {
            return boo;
        }
    }

    static class FastScanner {

        private BufferedReader reader;
        private StringTokenizer tokenizer;

        FastScanner(InputStream in) {
            reader = new BufferedReader(new InputStreamReader(in));
            tokenizer = null;
        }

        String next() {
            if (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    tokenizer = new StringTokenizer(reader.readLine());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }
            return tokenizer.nextToken();
        }

        String nextLine() {
            if (tokenizer == null || !tokenizer.hasMoreTokens()) {
                try {
                    return reader.readLine();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
            }

            return tokenizer.nextToken("\n");
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        int[] nextIntArray(int n) {
            int[] a = new int[n];
            for (int i = 0; i < n; i++)
                a[i] = nextInt();
            return a;
        }

        long[] nextLongArray(int n) {
            long[] a = new long[n];
            for (int i = 0; i < n; i++)
                a[i] = nextLong();
            return a;
        }
    }
}



Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.BufferedReader;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.io.IOException;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.io.InputStream;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: 'import' does not name a type
    4 | import java.io.InputStreamReader;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:5:1: error: 'import' does not name a type
    5 | import java.util.StringTokenizer;
      | ^~~~~~
a.cc:5:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:7:1: error: expected unqualified-id before 'public'
    7 | public class 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())

int main()
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	cin >> A >> B;
	if (A <= 8 && B <= 8) {
		cout << "Yay!" << endl;
	}
	else {
		cout << ":(" << endl;
	}
	return 0;
}



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

#include <iostream>
#include <fstream>
#include <cstdio>
#include <cassert>
#include <complex>
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <numeric>
#include <sstream>
#include <ctime>
#include <cctype>
#include <set>
#include <map>
#include <queue>
#include <bitset>
#include <deque>
#include <stack>
#include <memory.h>
using namespace std;
typedef long long ll;
#define mp make_pair
int a,int b;
int main()
{
	cin>>a>>b;
	if(a>8||b>8){
		cout<<":(";
		return 0;
	}
	cout<<"Yay!";
    return 0;
}


Compiler output:
a.cc:27:7: error: expected unqualified-id before 'int'
   27 | int a,int b;
      |       ^~~
a.cc: In function 'int main()':
a.cc:30:17: error: 'b' was not declared in this scope
   30 |         cin>>a>>b;
      |                 ^
Language: C++

#include <iostream>

int main(){
  int a,b;
  std::cin>>a>>b;
  std::cout<<(a>8 || b>8) ? "Yay!" : ":("<<std::endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:42: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    6 |   std::cout<<(a>8 || b>8) ? "Yay!" : ":("<<std::endl;
      |                                      ~~~~^~~~~~~~~~~
Language: C++

use io::*;

fn main() {
    let con = read_string();
    let mut sc = Scanner::new(&con);

    let a: i32 = sc.next();
    let b: i32 = sc.next();

    let ans = if a <= 8 && b <= 8 { "Yay!" } else { ":(" };

    println!("{}", ans);
}

//-----

pub mod io {
    use std;
    use std::str::FromStr;

    pub struct Scanner<'a> {
        iter: std::str::SplitWhitespace<'a>,
    }

    impl<'a> Scanner<'a> {
        pub fn new(s: &'a str) -> Scanner<'a> {
            Scanner {
                iter: s.split_whitespace(),
            }
        }

        pub fn next<T: FromStr>(&mut self) -> T {
            let s = self.iter.next().unwrap();
            if let Ok(v) = s.parse::<T>() {
                v
            } else {
                panic!("Parse error")
            }
        }

        pub fn next_vec_len<T: FromStr>(&mut self) -> Vec<T> {
            let n: usize = self.next();
            self.next_vec(n)
        }

        pub fn next_vec<T: FromStr>(&mut self, n: usize) -> Vec<T> {
            (0..n).map(|_| self.next()).collect()
        }
    }

    pub fn read_string() -> String {
        use std::io::Read;

        let mut s = String::new();
        std::io::stdin().read_to_string(&mut s).unwrap();
        s
    }

    pub fn read_line() -> String {
        let mut s = String::new();
        std::io::stdin().read_line(&mut s).unwrap();
        s.trim_right().to_owned()
    }
}


Compiler output:
a.cc:21:24: warning: missing terminating ' character
   21 |     pub struct Scanner<'a> {
      |                        ^
a.cc:21:24: error: missing terminating ' character
   21 |     pub struct Scanner<'a> {
      |                        ^~~~~
a.cc:22:41: warning: missing terminating ' character
   22 |         iter: std::str::SplitWhitespace<'a>,
      |                                         ^
a.cc:22:41: error: missing terminating ' character
   22 |         iter: std::str::SplitWhitespace<'a>,
      |                                         ^~~~
a.cc:25:10: warning: multi-character literal with 11 characters exceeds 'int' size of 4 bytes
   25 |     impl<'a> Scanner<'a> {
      |          ^~~~~~~~~~~~~~
a.cc:26:24: warning: multi-character literal with 18 characters exceeds 'int' size of 4 bytes
   26 |         pub fn new(s: &'a str) -> Scanner<'a> {
      |                        ^~~~~~~~~~~~~~~~~~~~~
a.cc:47:14: error: too many decimal points in number
   47 |             (0..n).map(|_| self.next()).collect()
      |              ^~~~
a.cc:1:1: error: 'use' does not name a type
    1 | use io::*;
      | ^~~
a.cc:3:1: error: 'fn' does not name a type
    3 | fn main() {
      | ^~
a.cc:17:1: error: 'pub' does not name a type
   17 | pub mod io {
      | ^~~
a.cc:25:5: error: 'impl' does not name a type
   25 |     impl<'a> Scanner<'a> {
      |     ^~~~
a.cc:51:5: error: 'pub' does not name a type
   51 |     pub fn read_string() -> String {
      |     ^~~
a.cc:59:5: error: 'pub' does not name a type
   59 |     pub fn read_line() -> String {
      |     ^~~
a.cc:64:1: error: expected declaration before '}' token
   64 | }
      | ^
Language: C++

#include <bits/stdc++h>
using namespace std;
int main()
{ int a,b;cin>>a>>b;if(a<9&&b<9) cout<<"Yey!"<<endl;else cout<<":("<<else;
  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++

#include "bits/stdc++.h"
using namespace std;
#define ri(a,b,c) for(int a=(b);a<(c);++a)
#define ll long long
#define rll(a,b,c) for(ll a=(b);a<(c);++a)

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

    int a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
    cin>>a>>b;








    cout<<(a<9&&b<9)?"Yay!":":("<<endl;

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:21:33: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   21 |     cout<<(a<9&&b<9)?"Yay!":":("<<endl;
      |                             ~~~~^~~~~~
Language: Java

import java.io.BufferedReader;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Map.Entry;

import java.util.PriorityQueue;
import java.util.Queue;
import java.util.StringTokenizer;
import java.util.TreeMap;
import java.util.TreeSet;

import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.Woodstox;

public class Main {
	
	public static void main(String[] args) throws IOException {
		try(final Scanner sc = new Scanner(System.in)){
			final int A = sc.nextInt();
			final int B = sc.nextInt();
			
			if(Math.max(A, B) >= 9) {
				System.out.println(":(");
			}else {
				System.out.println("Yay!");
			}
		}
	}

	public static class Scanner implements Closeable {
		private BufferedReader br;
		private StringTokenizer tok;

		public Scanner(InputStream is) throws IOException {
			br = new BufferedReader(new InputStreamReader(is));
		}

		private void getLine() throws IOException {
			while(!hasNext()){
				tok = new StringTokenizer(br.readLine());
			}
		}

		private boolean hasNext() {
			return tok != null && tok.hasMoreTokens();
		}

		public String next() throws IOException {
			getLine();
			return tok.nextToken();
		}

		public int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		public long nextLong() throws IOException {
			return Long.parseLong(next());
		}

		public double nextDouble() throws IOException {
			return Double.parseDouble(next());
		}

		public int[] nextIntArray(int n) throws IOException {
			final int[] ret = new int[n];
			for(int i = 0; i < n; i++){
				ret[i] = this.nextInt();
			}
			return ret;
		}

		public long[] nextLongArray(int n) throws IOException {
			final long[] ret = new long[n];
			for(int i = 0; i < n; i++){
				ret[i] = this.nextLong();
			}
			return ret;
		}

		public void close() throws IOException {
			br.close();
		}
	}
}

Compiler output:
Main.java:21: error: package com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory does not exist
import com.sun.xml.internal.ws.api.streaming.XMLStreamReaderFactory.Woodstox;
                                                                   ^
1 error
Language: C++

#include <cstdio>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <vector>
#include <stack>
#include <queue>
#include <string>
#include <math.h>

#define REP(i,n)for (int i=0;i<(n);i++)
#define PB push_back
#define MP make_pair
#define ALL(a) (a).begin(),(a).end()
#define ll long long
using namespace std;
typedef pair<int,int> P;


int main(){
	int a,b;
	cin>>a>>b;
	if(a<=8&&b<=8){
		cout<<"Yay!"<<endl;
	}else{
		cout<<":("
	}
}

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

#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <string>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <stdio.h>
using namespace std;
#define int long long
int MOD = 1000000007;
signed main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	int A, B;
	cin >> A >> B;
	if (A + B <= 16 && A <= 8 && B <= 8) {
		cout << Yay!<< endl;
	}
	else {
		cout << ":(" << endl;
	}

}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:25: error: 'Yay' was not declared in this scope
   20 |                 cout << Yay!<< endl;
      |                         ^~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
using ll = long long;
#define int ll
using VI = vector<int>;
using VVI = vector<VI>;
using PII = pair<int, int>;

#define FOR(i, a, n) for (ll i = (ll)a; i < (ll)n; ++i)
#define REP(i, n) FOR(i, 0, n)
#define ALL(x) x.begin(), x.end()
#define PB push_back

const ll LLINF = (1LL<<60);
const int INF = (1LL<<30);
const int MOD = 1000000007;

template <typename T> T &chmin(T &a, const T &b) { return a = min(a, b); }
template <typename T> T &chmax(T &a, const T &b) { return a = max(a, b); }
template <typename T> bool IN(T a, T b, T x) { return a<=x&&x<b; }
template<typename T> T ceil(T a, T b) { return a/b + !!(a%b); }
template<class S,class T>
ostream &operator <<(ostream& out,const pair<S,T>& a){
  out<<'('<<a.first<<','<<a.second<<')';
  return out;
}
template<class T>
ostream &operator <<(ostream& out,const vector<T>& a){
  out<<'[';
  REP(i, a.size()) {out<<a[i];if(i!=a.size()-1)out<<',';}
  out<<']';
  return out;
}

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

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

  string s, t;
  int a, b;
  cin >> a >> b;
  if(a <= 8 && b <= 8) cout << "Yay!" <<endl;
  else cout << ":("

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:47:20: error: expected ';' before 'return'
   47 |   else cout << ":("
      |                    ^
      |                    ;
   48 | 
   49 |   return 0;
      |   ~~~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
using LL = long long int;
const LL mod = 1000000007;

#define int long long

int main() {
    int A, B;
    cin >> A >> B;
    if(A <= 8 && B <= 8) {
        cout << "Yay!" << endl;
    } else {
        cout << ":(" << endl;
    }
    return 0;
}

Compiler output:
cc1plus: error: '::main' must return 'int'
Language: C++

#include <iostream>
#include <vector>
#include <math>
#include <stdio.h>
#include <cstdio>

//コンパイラ最適化
#pragma GCC optimize("Ofast")

//マクロ
//forループ
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
//Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
//FORAは範囲for文(使いにくかったら消す)
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= ll(b); i--)
#define FORA(i, I) for (const auto &i : I)
//xにはvectorなどのコンテナ
#define ALL(x) x.begin(), x.end()
#define SIZE(x) ll(x.size())
//定数
#define INF 1000000000000 //10^12:∞
#define MOD 1000000007    //10^9+7:合同式の法
#define MAXR 100000       //10^5:配列の最大のrange
//略記
#define PB push_back //挿入
#define MP make_pair //pairのコンストラクタ
#define F first      //pairの一つ目の要素
#define S second     //pairの二つ目の要素

typedef long long ll;

using namespace std;
int main()
{
    ll D, N;
    cin >> D >> N;
    ll num;
    if (D != 100)
    {
        num = N * pow(100, D);
    }
    else
    {
        num = (N + 1) * pow(100, D);
    }
    cout << num;
    return 0;
}

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

#include <iostream>
#include <vector>
#include <stdio.h>
#include <cstdio>

//コンパイラ最適化
#pragma GCC optimize("Ofast")

//マクロ
//forループ
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
//Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
//FORAは範囲for文(使いにくかったら消す)
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= ll(b); i--)
#define FORA(i, I) for (const auto &i : I)
//xにはvectorなどのコンテナ
#define ALL(x) x.begin(), x.end()
#define SIZE(x) ll(x.size())
//定数
#define INF 1000000000000 //10^12:∞
#define MOD 1000000007    //10^9+7:合同式の法
#define MAXR 100000       //10^5:配列の最大のrange
//略記
#define PB push_back //挿入
#define MP make_pair //pairのコンストラクタ
#define F first      //pairの一つ目の要素
#define S second     //pairの二つ目の要素

typedef long long ll;

using namespace std;
int main()
{
    ll D, N;
    cin >> D >> N;
    ll num;
    if (D != 100)
    {
        num = N * pow(100, D);
    }
    else
    {
        num = (N + 1) * pow(100, D);
    }
    cout << num;
    return 0;
}

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

#include <iostream>
#include <vector>
#include <stdio.h>
#include <cstdio>

//コンパイラ最適化
#pragma GCC optimize("Ofast")

//マクロ
//forループ
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
//Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
//FORAは範囲for文(使いにくかったら消す)
#define REP(i, n) for (ll i = 0; i < ll(n); i++)
#define REPD(i, n) for (ll i = n - 1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = a; i <= ll(b); i++)
#define FORD(i, a, b) for (ll i = a; i >= ll(b); i--)
#define FORA(i, I) for (const auto &i : I)
//xにはvectorなどのコンテナ
#define ALL(x) x.begin(), x.end()
#define SIZE(x) ll(x.size())
//定数
#define INF 1000000000000 //10^12:∞
#define MOD 1000000007    //10^9+7:合同式の法
#define MAXR 100000       //10^5:配列の最大のrange
//略記
#define PB push_back //挿入
#define MP make_pair //pairのコンストラクタ
#define F first      //pairの一つ目の要素
#define S second     //pairの二つ目の要素

typedef long long ll;

using namespace std;
int main()
{
    int D, N;
    cin >> N >> N;
    int i;
    int n;
    if (D == 0)
    {
        cout << N;
    }
    else if (D == 1)
    {
        cout << N * 100;
    }
    else
    {
        cout << N * 10000;
    }
    return 0;
}

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

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

int main() {
  int d,n;cin>>d>>n;
  if(d==0)cout<<n<<endl;
  else if(d==1)cout<<n<<"00"<<endl;
  else(d==2)cout<<n<<"0000"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected ';' before 'cout'
    9 |   else(d==2)cout<<n<<"0000"<<endl;
      |             ^~~~
      |             ;
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();
        //String S = sc.next();

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

        }
        
        

        
        
        }

Compiler output:
Main.java:13: error: ';' expected
            a = (int)Math.pow(100, D) * (N+1)
                                             ^
1 error
Language: C++

#include<cstdio>
#include<iostream>
#include<map>
#include<set>
#include<vector>
#include<cstring>
#include<cassert>
#include<sstream>
#include<cmath>
#include<algorithm>
#include<queue>	
#include<limits>
#include<ctime>
#include<stack>	
#include<bits/stdc++.h>
#include<string>
#include<stdlib.h>
#include<stdio.h>
	
typedef long long ll;
using namespace std;
const ll x=1000000007;
int mod(ll a){
	return a%x;
}

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


Compiler output:
a.cc: In function 'int main()':
a.cc:30:24: error: expected primary-expression before ')' token
   30 |         cout<<b*pow(10,);
      |                        ^
Language: C++

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

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


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

#include <iostream>

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

	std::cout << std::pow(100, D) * N;

	return 0;
}

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

#include <iostream>
#include <cmath>
#include <vector>
#include <map>
#include <iomanip>
#include <algorithm>
#include <sstream>
#include <string>
#include <math.h>
#include <set>
#include <deque>
#include <queue>
#include <list>
using namespace std;
typedef long long ll;
const int mod = 1000000007;

int main() {
    ios::sync_with_stdio(false);
    int d, n;
    cin >> d >> n;
    if (n == 100) cout << (n + 1) * (int)pow(100 , d);
    else cout << n * (int)pow(100 , da);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:37: error: 'da' was not declared in this scope; did you mean 'd'?
   23 |     else cout << n * (int)pow(100 , da);
      |                                     ^~
      |                                     d
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:5:24: error: 'lld' undeclared (first use in this function)
    5 |         scanf("%d %d",&lld,&lln);
      |                        ^~~
main.c:5:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:29: error: 'lln' undeclared (first use in this function)
    5 |         scanf("%d %d",&lld,&lln);
      |                             ^~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:10:12: error: expected '(' before 'x'
   10 |         if x=10000;
      |            ^
      |            (
Language: C++

#include <iostream>

using namespace std;

int main()
{
  int a,b;
  cin >> a >> b;
  if(a==0) cout << b << endl;
  if else(a==1) cout << b << "00" << endl;
  else cout << b << "0000" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: expected '(' before 'else'
   10 |   if else(a==1) cout << b << "00" << endl;
      |      ^~~~
      |      (
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else cout << b << "0000" << endl;
      |   ^~~~
Language: C++

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

using namespace std;

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

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

   if(n == 100) {
      if(d == 0) {
         ans = 101;
      } else if(d == 1) {
         ans = 10001
      } else {
         ans = 1000001;
      }
   }

   cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:23:21: error: expected ';' before '}' token
   23 |          ans = 10001
      |                     ^
      |                     ;
   24 |       } else {
      |       ~
Language: Java

import java.util.*;
 
public class acmp{
	static Scanner in = new Scanner(System.in);
		// int n = in.nextInt();
		// int[] a = new int[n];
		// for(int i = 0; i<n; i++){
		// 	a[i] = in.nextInt();
		// }

		// int min = Integer.MAX_VALUE;
  		// int max = Integer.MIN_VALUE;
 	
	public static void main(String[] args) {
		//zhan
		//dos
		//md
		int test = 1;
		while(test>0){
			solve();
			test--;
		}
	}

	public static void solve(){
		int d = in.nextInt();
		int n = in.nextInt();
		if(d == 0){
			if(n/100 == 0){
				System.out.println(n);
			}else{
				System.out.println(n+n/100);
			}
		}else if(d == 1){
			System.out.println(n*100);
		}else{
			System.out.println(n*10000);
		}
	}
}

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

import java.util.*;


public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        
        int d = sc.nextInt();
        int n = sc.nextInt();
        int ans = 0;
        
        if(d==0){
            ans = n;
        }else if(d==1){
            ans = n*100
        }else if(d==2){
            ans = n*10000;
        }
        
		System.out.println(ans);
    }
}


Compiler output:
Main.java:15: error: ';' expected
            ans = n*100
                       ^
1 error
Language: C++

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

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

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

  int cnt = 0, val = 0;
  while(cnt<n){
    val++;
    if(calc(val)==D)
      cnt++;
  }

  cout << val << endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:19: error: 'D' was not declared in this scope
   23 |     if(calc(val)==D)
      |                   ^
Language: C++

#include<iostream>
#include<algorithm>
#include<cstring>
#include<stdio.h>
#include<cstdio>
#include<string.h>
#include<cmath>
using namespace std;
int lst[3] = { 1,100,10000 };
int main() {
	int d, n;
	cin >> d >> n;
	cout << long long(lst[d]) * (long long)n << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: expected primary-expression before 'long'
   13 |         cout << long long(lst[d]) * (long long)n << endl;
      |                 ^~~~
Language: C++

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

int main(){
  int d, n; cin >> d >> n;
  if(d == 0) cout << n << '\n';
  else if(d == 1) cout << n*100 << '\n';
  elseok cout << n*10000 << '\n';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'elseok' was not declared in this scope; did you mean 'lseek'?
    8 |   elseok cout << n*10000 << '\n';
      |   ^~~~~~
      |   lseek
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:27: error: 'ensl' was not declared in this scope
   13 |     }else cout << 10100 <<ensl;
      |                           ^~~~
Language: C++

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

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int D, N;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> D >> N;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if (D == 0){
      |   ^~
a.cc:15:3: error: expected unqualified-id before 'else'
   15 |   else if (D == 1){
      |   ^~~~
a.cc:23:3: error: expected unqualified-id before 'else'
   23 |   else {
      |   ^~~~
a.cc:31:1: error: expected declaration before '}' token
   31 | }
      | ^
Language: Java


import java.io.*;
import java.util.StringTokenizer;

public class B {

    public static void main(String[] args) {
//        final FastScanner fs = new FastScanner("/Users/igorz/dev/google-prep/src/main/java/atcoder/abc100/input.txt");
        final FastScanner fs = new FastScanner();

        final int D = fs.nextInt();
        final int N = fs.nextInt();

        int pow = (int) Math.pow(100, D);

        int i = 1, c = 0;
        while (c != N) {
            if (i % pow == 0) {
                c++;
            }
            i++;
        }
        System.out.println(--i);
//        System.out.println((int)(N * Math.pow(100, D)));
    }

    public static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner(String s) {
            try {
                br = new BufferedReader(new FileReader(s));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }
        }

        public FastScanner() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String nextToken() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int[] nextIntArray() {
            final int N = nextInt();
            int[] arr = new int[N];
            for (int i = 0; i < N; i++) {
                arr[i] = nextInt();
            }
            return arr;
        }

        int nextInt() {
            return Integer.parseInt(nextToken());
        }

        long nextLong() {
            return Long.parseLong(nextToken());
        }

        double nextDouble() {
            return Double.parseDouble(nextToken());
        }
    }
}


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

#include <iostream>
#include <cmath>

int main(){
  int D,N;
  cin >> D >> N;
  cout << pow(10,D) * N;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> D >> N;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout << pow(10,D) * N;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

import java.util.*;
//import java.util.stream.Collectors;

public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		
		int d = sc.nextInt();
		int n = sc.nextInt();
		int result = 0;
		for(int i=0; i<n; i++){
			result += Math.pow(100, d)
		}
		System.out.println(result);
	}
}


Compiler output:
Main.java:12: error: ';' expected
			result += Math.pow(100, d)
			                          ^
1 error
Language: C++

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepace'
    2 | using namepace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin>>n>>d;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |       cout<<n<<"\n";
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |       cout<<n*100<"\n";
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |       cout<<n*10000<<"\n";
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream> // cout, endl, cin
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#define int long long
using namespace std;
signed main() {
	int D, N;
	cin >> D >> N;

	if (0 < D) {
		cout << pow(100, D) * N << endl;
	}
	else {
		cout << N << endl;
	}


}

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

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

using namespace std;

int main() {
  int D, N;
  cin >> D >> N;
  if (D == 0) {
    if (N == 100) {
      printf("101\n");
    } else if (N < 100) {
      printf("%d\n", N);
    }
  } else if (D == 1) {
    if (N == 100) {
      printf("%d\n", 100 * 101)
    } else {
      printf("%d\n", 100 * N);
    }
  } else {
    if (N == 100) {
      printf("%d\n", 10000 * 101);
    } else {
      printf("%d\n", 10000 * N);
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:32: error: expected ';' before '}' token
   17 |       printf("%d\n", 100 * 101)
      |                                ^
      |                                ;
   18 |     } else {
      |     ~
Language: Java

import java.util.Scanner;

public class RingoFavouriteNumber {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int d = sc.nextInt();
        int n = sc.nextInt();
        int ans = 0;
        if (n <= 99)
            ans = (int) (Math.pow(100, d)) * n;
        else
            ans = (int) (Math.pow(100, d)) * 101;
        System.out.println(ans);
    }
}


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

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

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

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

using namespace std;
 
int main() {
    long a;cin>>a;
    int b;cin>>b;
    long c = pow(100,a);
    long k =c*b;
    cout<<k;
    return 0;
}

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

#pragma GCC optimize("Ofast")
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<=n;i++)
#define rep2(i,n) for(int i=0;i<=n;i++)
#define repr(i,a,n) for(int i=a;i<n;i++)
#define all(a) a.begin(),a.end()
#define P pair<long long,long long>
#define uni(e) e.erase(unique(e.begin(),e.end()),e.end())
#define double long double
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
int INF=1e10;
int MOD=1e9+7;
template<class T> void out(T a){cout<<a<<'\n';}
template<class T> void yesno(T b){if(b)out("yes");else out("no");}
template<class T> void YesNo(T b){if(b)out("Yes");else out("No");}
template<class T> void YESNO(T b){if(b)out("YES");else out("NO");}
template<class T> void noyes(T b){if(b)out("no");else out("yes");}
template<class T> void NoYes(T b){if(b)out("No");else out("Yes");}
template<class T> void NOYES(T b){if(b)out("NO");else out("YES");}
int keta(int a){
  double b=a;
  b=log10(b);
  int c=b;
  return c+1;
}
int kurai(int a,int b){
  int m=pow(10,b),n=pow(10,b-1);
  return (a%m)/n;
}
int ketawa(int a){
  int k=0;
  rep(i,keta(a)){
  k+=kurai(a,i+1);
  }
  return k;
}
int gcd(int a,int b){
  if(a%b==0)
    return b;
  return gcd(b,a%b);
}
int lcm(int a,int b){
    return a/gcd(a,b)*b;
}
int mid(int a,int b,int c){
  vector<int> k(3);
  k[0]=a;k[1]=b;k[2]=c;
  sort(all(k));
  return k[1];
}
bool sosuu(int a){
  bool b=1;
  if(a<=1)
    return 0;
  else{
  rep1(i,sqrt(a)-1){
  if(a%(i+1)==0)
  b=0;
  }
  return b;
  }
}
int modpow(int a,int b,int m=MOD){
 if(!b)return 1; if(b&1)return modpow(a,b-1,m)*a%m;
 int memo = modpow(a,b>>1,m);
 return memo*memo%m;
}
int fact_mod(int n) {
    int f=1; 
for(int i=2;i<n+1;i++) f=f*(i%MOD)% MOD;
    return f;
}
int mod_pow(int x,int n) {
    int res=1;
    while(n>0){
        if(n&1) res=(res*x)%MOD; 
        x=(x*x)%MOD;        
n>>=1; 
    }
    return res;
}
int c_mod(int n, int r) {
    if(r>n-r) r=n-r;
    if(r==0) return 1;
    int a=1;
    rep(i,r) 
a=a*((n-i)%MOD)%MOD;
    int b=mod_pow(fact_mod(r), MOD-2);
    return (a%MOD)*(b%MOD)%MOD;
}
signed main(){
  int a,b;
  cin>>a>>b;
  if(b!=100){
  int c=pow(100,a);
  out(c*b);
  }
  else{
  int d=pow(100,a);
    out(d*101)
  }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:105:15: error: expected ';' before '}' token
  105 |     out(d*101)
      |               ^
      |               ;
  106 |   }
      |   ~
Language: C++

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

int main(){
    ll d,n;
    cin>>d>>n;
    cout<<pow(100,d)*n<<"\n"
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:29: error: expected ';' before 'return'
    9 |     cout<<pow(100,d)*n<<"\n"
      |                             ^
      |                             ;
   10 |     return 0;
      |     ~~~~~~
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:40: error: expected ';' before 'if'
   12 |   if(D == 1 && N == 100)cout << 101*100
      |                                        ^
      |                                        ;
   13 |   if(D == 2 && N < 100)cout << N*10000;
      |   ~~
Language: C++

#include <bits/stdc++.h>
#include <vector>
#include <string.h>

typedef long long ll;
typedef long double lg;

using namespace std;

int calc(long 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<<cnt<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int calc(long int)':
a.cc:13:2: error: expected ',' or ';' before 'while'
   13 |  while(x%100 == 0){
      |  ^~~~~
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int D = sc.nextInt();
        int N = sc.nextInt();
        
        int ans = 0;
        if( N ==  100 ) {
            ans = (int)Math.pow(100, D) * (N + 1);
        } else {
            ans = (int)Math.pow(100, D) * N
        }
        System.out.println( ans );
    }
}


Compiler output:
Main.java:14: error: ';' expected
            ans = (int)Math.pow(100, D) * N
                                           ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll               long long
#define dl               double
#define ull              unsigned long long
#define ft               first
#define sd               second
#define pi               acos(-1)
#define ct(tc)           scanf("%lld",&tc)
#define scnm(n,m)        scanf("%lld %lld",&n,&m);
#define max3(a,b,c)      max(a,max(b,c))
#define max4(a,b,c,d)    max(a,max(b,max(c,d)))
#define min3(a,b,c)      min(a,min(b,c))
#define min4(a,b,c,d)    min(a,min(b,min(c,d)))
#define pb               push_back
#define srt              sort(v.begin(),v.end())
#define rsrt             reverse(v.begin(),v.end())
int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    #include<bits/stdc++.h>
using namespace std;
#define ll               long long
#define dl               double
#define ull              unsigned long long
#define ft               first
#define sd               second
#define pi               acos(-1)
#define ct(tc)           scanf("%lld",&tc)
#define scnm(n,m)        scanf("%lld %lld",&n,&m);
#define max3(a,b,c)      max(a,max(b,c))
#define max4(a,b,c,d)    max(a,max(b,max(c,d)))
#define min3(a,b,c)      min(a,min(b,c))
#define min4(a,b,c,d)    min(a,min(b,min(c,d)))
#define pb               push_back
#define srt              sort(v.begin(),v.end())
#define rsrt             reverse(v.begin(),v.end())
int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    
    ll m,n,pw=1,ans=0,i;
    scnm(n,m);
    for(i=0;i<n;i++)
    {
        pw=(pw*100);
    }

    ans=(pw*m);
    printf("%lld\n",ans);
    return 0;

}



Compiler output:
a.cc: In function 'int main()':
a.cc:39:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   39 | int main()
      |         ^~
a.cc:39:9: note: remove parentheses to default-initialize a variable
   39 | int main()
      |         ^~
      |         --
a.cc:39:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:40:1: error: a function-definition is not allowed here before '{' token
   40 | {
      | ^
a.cc:55:2: error: expected '}' at end of input
   55 | }
      |  ^
a.cc:19:1: note: to match this '{'
   19 | {
      | ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,s,n) for(int i=s;i<n;i++)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(),(x).end()
#define all_acc(x) (x).begin(),(x).end(),0LL
#define int long long
using namespace std;
using P=pair<int,int>;
using Graph=vector<vector<int>>;
using ll=long long;

int accumulate(int* a,int n){
    return accumulate(a,a+n,0LL);
}

int accumulate(vector<int> a){
    return accumulate(a.begin(),a.end(),0LL);
}

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




    string s="";
    
    if(d==0 && n==100){
        s+=to_string(n+1);
    }else{
        s+=to_string(n);
    }
    for(int i=0;i<d;i++){}
        s+="00";
    }
    cout<<s<<endl;
}  

Compiler output:
a.cc:37:5: error: 'cout' does not name a type
   37 |     cout<<s<<endl;
      |     ^~~~
a.cc:38:1: error: expected declaration before '}' token
   38 | }
      | ^
Language: C++

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

typedef long long ll;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:17:26: error: expected ';' before '}' token
   17 |                 cout << x
      |                          ^
      |                          ;
   18 |         }else {
      |         ~
Language: C++

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

typedef long long ll;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: 'n' was not declared in this scope
   10 |                 cout << n;
      |                         ^
a.cc:12:25: error: 'n' was not declared in this scope
   12 |                 cout << n * 100;
      |                         ^
a.cc:14:25: error: 'n' was not declared in this scope
   14 |                 cout << n * 10000;
      |                         ^
Language: C

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

ll pow(ll d){
ll k= 1;
for(int i=0;i<d;i++)k*=100;
return k;
}

int main() {
    ll d;ll n;
    cin>>d>>n;
    ll k = pow(d);
    cout<<k*n;


 return 0;
}


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