criyle/codenet-compile-errors huggingface dataset:
Language: Java

1. import java.util.*;			
2.  			
3. public class Main {			
4.  			
5. public static void main(String[] args) {			
6. Scanner sc = new Scanner(System.in);			
7. int d = sc.nextInt();			
8. int n = sc.nextInt();			
9. int res = (int) Math.pow(100, d);			
10.  			
11. if (n < 100) {			
12. System.out.println(res * n);			
13. } else {			
14. System.out.println(res * 101);			
15. }			
16. }			
17. }			


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
1. import java.util.*;			
^
Main.java:2: error: class, interface, enum, or record expected
2. ?			
^
Main.java:2: error: illegal character: '\u00a0'
2. ?			
   ^
Main.java:4: error: illegal start of type
4. ?			
^
Main.java:4: error: illegal character: '\u00a0'
4. ?			
   ^
Main.java:6: error: not a statement
6. Scanner sc = new Scanner(System.in);			
^
Main.java:6: error: ';' expected
6. Scanner sc = new Scanner(System.in);			
  ^
Main.java:7: error: not a statement
7. int d = sc.nextInt();			
^
Main.java:7: error: ';' expected
7. int d = sc.nextInt();			
  ^
Main.java:8: error: not a statement
8. int n = sc.nextInt();			
^
Main.java:8: error: ';' expected
8. int n = sc.nextInt();			
  ^
Main.java:9: error: not a statement
9. int res = (int) Math.pow(100, d);			
^
Main.java:9: error: ';' expected
9. int res = (int) Math.pow(100, d);			
  ^
Main.java:10: error: illegal character: '\u00a0'
10. ?			
    ^
Main.java:10: error: not a statement
10. ?			
^
Main.java:12: error: not a statement
12. System.out.println(res * n);			
^
Main.java:12: error: ';' expected
12. System.out.println(res * n);			
   ^
Main.java:13: error: not a statement
13. } else {			
^
Main.java:13: error: ';' expected
13. } else {			
   ^
Main.java:14: error: not a statement
14. System.out.println(res * 101);			
^
Main.java:14: error: ';' expected
14. System.out.println(res * 101);			
   ^
Main.java:15: error: not a statement
15. }			
^
Main.java:15: error: ';' expected
15. }			
   ^
Main.java:16: error: not a statement
16. }			
^
Main.java:16: error: ';' expected
16. }			
   ^
Main.java:17: error: illegal start of type
17. }			
^
26 errors
Language: C++

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

typedef long long ll;
typedef long double ld;
#define pi 3.14159265359
#define inf 2147483647
#define INF 9223372036854775807
#define mod 1000000007
#define mod2 998244353
#define Graph vector<vector<int>>

int main() {
    int D, N; cin >> D >> N;
    vector<int> ans;
    for (int i = 1; i < 10000000; i++) {
        if (i % pow(100, D) == 0) ans.push_back(i);
    }
    cout << ans.at(N - 1) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:15: error: invalid operands of types 'int' and '__gnu_cxx::__promote<double>::__type' {aka 'double'} to binary 'operator%'
   17 |         if (i % pow(100, D) == 0) ans.push_back(i);
      |             ~ ^ ~~~~~~~~~~~
      |             |      |
      |             int    __gnu_cxx::__promote<double>::__type {aka double}
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/Tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define SC               scanf
#define PF               printf
#define ull              unsigned long long
#define ld               long double
#define D                double
#define F                first
#define S                second
#define pb               push_back
#define pf               push_front
#define MP               make_pair
#define sort_a(a)        sort(a.begin(),a.end());
#define sort_d(a)        sort(a.rbegin(),a.rend());
#define READ(f)          freopen(f, "r", stdin)
#define WRITE(f)         freopen(f, "w", stdout)
#define rev(s)           reverse(s.begin(),s.end())
#define it(it,mp)        for(auto it=mp.begin() ; it!=mp.end() ; it++)
#define IOS              ios_base :: sync_with_stdio(false); cin.tie(NULL);
#define ll long long
typedef pair<int,int>                   PII;
#define ordered_set Tree<PII, null_type,less<PII>, rb_Tree_tag,Tree_order_statistics_node_update>
const int N = 1e5 + 5;
const int inf = 1e9 + 1;
const double eps = 1e-15;
const double EPS = 1e-9;
const double PI = acos(-1.0);
int main()
{
    // IOS
    // READ("0in.txt");
    // WRITE("0out.txt");
    ll d, n ;
    cin >> d >> n ;
    if(!d)
    {
        cout<< d << endl;
    }
    else
    {
        if(d == 1)
        {
            cout<<(ll)100LL * n << endl;
        }
        else
        {
            cout<<(ll)1000LL * n << endl ;
        }
    }


}



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

#include <iostream>

using namespace std;

int main(int argc, const char *argv[]) {
  int d, n;
  cin >> d >> n;

  if (d == 0) {
    cout << n - 1 << '\n';
  } else {
    cout << static_cast<int>(pow(100, d)) * n << '\n';
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:12:30: error: 'pow' was not declared in this scope
   12 |     cout << static_cast<int>(pow(100, d)) * n << '\n';
      |                              ^~~
Language: C++

#include <iostream>
using namespace std;
int main (){
  int a, b, c;
  longlong x;
  cin>>a>>b;
  if(a==0){
    a=1;
  }else{
    a=100*a;
  }
  c=b*a;
  cout<<c<<endl;
  return 0;
}

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

#include<bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
# define ALL(x) (x).begin(), (x).end()
using namespace std;
int main()
{int n;
 str g;
 cin>>n>>g;
 str hu,ans;
 hu=00*n;
 ans=g+hu;
 
 cout<<ans<<endl;
    

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:2: error: 'str' was not declared in this scope; did you mean 'std'?
    7 |  str g;
      |  ^~~
      |  std
a.cc:8:10: error: 'g' was not declared in this scope
    8 |  cin>>n>>g;
      |          ^
a.cc:9:5: error: expected ';' before 'hu'
    9 |  str hu,ans;
      |     ^~~
      |     ;
a.cc:10:2: error: 'hu' was not declared in this scope
   10 |  hu=00*n;
      |  ^~
a.cc:11:2: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |  ans=g+hu;
      |  ^~~
      |  abs
Language: C++

#include<bits/stdc++.h>
#define rep(i,n) for(int i=0;i<(int)(n);i++)
# define ALL(x) (x).begin(), (x).end()
using namespace std;
int main()
{int n,g;
 cin>>n>>g;
 ans=100^n*g;
 cout<<ans<<endl;
    




return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:2: error: 'ans' was not declared in this scope; did you mean 'abs'?
    8 |  ans=100^n*g;
      |  ^~~
      |  abs
Language: C++

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

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

int main() {
    int divisor, nth; std::cin >> divisor >> nth;

    int counter = nth/100;
    nth += counter;
    
    std::cout << std::pow(100,divisor)*nth << "\n"; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:28: error: 'cin' is not a member of 'std'
    2 |     int divisor, nth; std::cin >> divisor >> nth;
      |                            ^~~
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:7:10: error: 'cout' is not a member of 'std'
    7 |     std::cout << std::pow(100,divisor)*nth << "\n";
      |          ^~~~
a.cc:7:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:23: error: 'pow' is not a member of 'std'
    7 |     std::cout << std::pow(100,divisor)*nth << "\n";
      |                       ^~~
Language: C++

int main() {
    int answer;
    int divisor, nth; std::cin >> divisor >> nth;

    if (nth % 100 == 0) {
        nth++;
    }

    std::cout << std::pow(100,divisor)*nth << "\n"; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:28: error: 'cin' is not a member of 'std'
    3 |     int divisor, nth; std::cin >> divisor >> nth;
      |                            ^~~
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:9:10: error: 'cout' is not a member of 'std'
    9 |     std::cout << std::pow(100,divisor)*nth << "\n";
      |          ^~~~
a.cc:9:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:23: error: 'pow' is not a member of 'std'
    9 |     std::cout << std::pow(100,divisor)*nth << "\n";
      |                       ^~~
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: lvalue required as left operand of assignment
    6 |   if(a==0 && x=100){cout << 101 << endl;}
      |      ~~~~~^~~~
Language: C++

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: expected '}' before 'else'
   13 |   else if(d==1){
      |   ^~~~
a.cc:7:11: note: to match this '{'
    7 |   if(d==0){
      |           ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
long double const pi = std::acos(-1.0L);


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:14:8: error: 'calc' was not declared in this scope
   14 |     if(calc(val)==d) ++cnt;
      |        ^~~~
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();
		int tmp=1;

		if(d==0) {
			System.out.println(n);
			return;
		}else {
			for(int i=0;i<d;i++) {
				tmp*=100;
			}
			System.out.println(tmp*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<algorithm>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin >> d >> n;
      |         ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<algorithm>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << ans << endl;
      |     ^~~~
a.cc:14:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:20: error: 'endl' was not declared in this scope
   14 |     cout << ans << endl;
      |                    ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include<algorithm>
  +++ |+#include <ostream>
    2 | using namespace std;
Language: C++

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

const int INF = 1001001001;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:39: error: expected ';' before '}' token
   15 |    if(count==N){cout<<i<<endl;return 0}
      |                                       ^
      |                                       ;
Language: C++

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

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

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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#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
#pragma once
using namespace std;
using ll =long long;
using P = pair<int,int>;

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



}

Compiler output:
a.cc:20:9: warning: #pragma once in main file
   20 | #pragma once
      |         ^~~~
a.cc: In function 'int main()':
a.cc:29:8: error: 'N' was not declared in this scope
   29 |     if(N==100) {
      |        ^
Language: C++

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

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int d, n, and;
  cin >> d >> n;
  ans = pow(100, d) * n;
  if (n == 100) ans += 100;
  cout << ans << endl;
}             


Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: expected unqualified-id before ';' token
    8 |   int d, n, and;
      |                ^
a.cc:10:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |   ans = pow(100, d) * n;
      |   ^~~
      |   abs
Language: C++

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

int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int d, n;
  cin >> d >> n;
  ans = pow(100, d) * n;
  if (n == 100) ans += 100;
  cout << ans << endl;
}             

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

#include<stdio.h>

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

  int h=100;

  if(d==0){
    printf("%d",n);
    return 0;
  }else{
    for(int i=0; i<d-1; i++){
    h *= 100;
  }
    printf("%d",h*n);

  return 0;
}


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

#include<stdio.h>

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

  int h=100;

  if(d==0){
    printf("%d",n);
    return 0;
  }
  }else{
    for(int i=0; i<d-1; i++){
    h *= 100;
  }
    printf("%d",h*n);

  return 0;
}


Compiler output:
main.c:14:4: error: expected identifier or '(' before 'else'
   14 |   }else{
      |    ^~~~
Language: C++

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

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

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


Compiler output:
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C

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

int main (void){
  int d , n;
  scanf("%d %d",&d , &n);
  
 int k = pow(100,d);
  
  if(n!=100){
  printf("%d",n*k);
  }
 
   else {  
      printf("%d",(n+1)*k);
    }
  

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

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



int main(){
   ll d,n;
   cin >> d >> n;
   if(n==100){
		if(d==0)cout<<101<<"\n";
		else if(d==1)cout<<10100<<"\n";
		else if(d==2)cout<<1010000<<"\n";
   else if(d ==0) cout <<n <<endl;
   else if(d ==1) cout << 100*n <<endl;
   else if(d ==2) cout  << 10000 *n << endl;
      }

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

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

int main() {
  int D, N; cin>>D>>N;
  if(N<100) cout<<pow(100, D)*N<<endl;
  else if(N=100 && D=2) cout<<1010000<<endl;
  else if(N=100 && D!=2) cout<<pow(100, D)*101<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: lvalue required as left operand of assignment
   10 |   else if(N=100 && D=2) cout<<1010000<<endl;
      |             ~~~~^~~~
Language: C++

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

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

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

#include<bits/stdc++.h>
#define rep(i, n) for (int i=0;i<(n);i++)
using namespace std;
typedef long long ll;
 
int main(void){
    int d, n;
    cin>>d>>n;
    int ans;
    if(d == 0){
        ans = n;
        if(n==100) ans =101;
    }
    else if(d == 1) {
        ans = 100+(n-1)*100;
        if(n == 100) ans = 10100;
    }
    else {
        ans = 10000+(n-1)*10000;
        if(n==100) ans = 1010000
    }
    cout<<ans<<endl; 
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:33: error: expected ';' before '}' token
   20 |         if(n==100) ans = 1010000
      |                                 ^
      |                                 ;
   21 |     }
      |     ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define ll long long
int main(){
    int d,n;
    ll ans;
    cin >> d >> n;
    if(d == 0){
        if(n == 100) ans = 101;
    
    else{ans = n;}
    }

    if(d == 1) {
        if(n != 100)ans = n*100;
        else ans = 10100;
    }
    if(d == 2) {
       if(n != 100) ans = n*10000;
       else ans = 1000100;
    cout << ans << endl;
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before '=' token
    7 |     if(n!==100){
      |           ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:26:9: error: 'n' was not declared in this scope
   26 |     if (n ==100) {
      |         ^
Language: C++

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

#define lli long long int
#define REP(i,s,n) for(int i=s;i<n;i++)
#define MOD 1000000007
#define NUM 2520
#define INF (1LL<<50)
#define DEBUG 0
#define mp(a,b) make_pair(a,b)
#define SORT(V) sort(V.begin(),V.end())
#define PI (3.141592653589794)


void func(long long D, long long N){

    lli base = 1;
    REP(i,0,D)base*=100;

    if(N!=100)cout<<N*base<<endl;
    else{
        cout<<(N+1)*base<<endl;2
    }

}

int main(){
    // cout << fixed << setprecision(5);

    long long D;
    scanf("%lld",&D);
    long long N;
    scanf("%lld",&N);
    func(D, N);
    return 0;
}


Compiler output:
a.cc: In function 'void func(long long int, long long int)':
a.cc:22:33: error: expected ';' before '}' token
   22 |         cout<<(N+1)*base<<endl;2
      |                                 ^
      |                                 ;
   23 |     }
      |     ~
Language: C++

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

long main() {
long D,N=0;
  string S="";
  cin>>D>>N;
	if(N<100) cout<<N*pow(100,D)<<endl;
  else{
    //long a=101*pow(100,D)
    cout<<101*pow(100,D)<<endl;
  }
}

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

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

int main() {
int D,N=0;
  string S="";
  cin>>D>>N;
	if(N<100) cout<<N*pow(100,D)<<endl;
  else{
    long a=101*pow(100,D)
    cout<<a<<endl;
  }
}

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

#include<iostream>
#include<algorithm>
using namespace std;
int main(){
  int a,b;
  cin >> a >> b;
  int c = 1;
  for(int i = 0;i < a;i++){
    c*=100;
  }
  cout << (b-(int)floor((b-1)/99))*c << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: 'floor' was not declared in this scope
   11 |   cout << (b-(int)floor((b-1)/99))*c << endl;
      |                   ^~~~~
Language: C++

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

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

    if(D ==0) cout << N << endl;
    if(D==1) cout << N*100 << endl;
    if(D==2) cout << N*10000 << emdl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:33: error: 'emdl' was not declared in this scope
   10 |     if(D==2) cout << N*10000 << emdl;
      |                                 ^~~~
Language: C++

#inlcude <bits/stdc++.h>

using namespace std;

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin>>d>>n;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlcude <bits/stdc++.h>
a.cc:11:7: error: 'cout' was not declared in this scope
   11 |       cout<<n;
      |       ^~~~
a.cc:11:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:7: error: 'cout' was not declared in this scope
   14 |       cout<<100*n;
      |       ^~~~
a.cc:14:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:6: error: 'cout' was not declared in this scope
   17 |      cout<<10000*n;
      |      ^~~~
a.cc:17:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

int main(){
  int a,b,c;
  cin >> a >> b;
  c = pow(100,a);
  ans = c*b;
  if(b == 0 && ans == 100) ans += 1;
  if(b == 1 && ans == 10000) ans += 100;
  if(b == 2 && ans == 100000000) ans += 10000;
  cout << ans << endl;
  return 0;
}

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

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

int main(){
  int a,b,c;
  cin >> a >> b;
  c = pow(100,a);
  if(b == 0 && c*b == 100) c*b += 1;
  if(b == 1 && c*b == 10000) c*b += 100;
  if(b == 2 && c*b == 100000000) c*b += 10000;
  cout << c*b << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: lvalue required as left operand of assignment
   11 |   if(b == 0 && c*b == 100) c*b += 1;
      |                            ~^~
a.cc:12:31: error: lvalue required as left operand of assignment
   12 |   if(b == 1 && c*b == 10000) c*b += 100;
      |                              ~^~
a.cc:13:35: error: lvalue required as left operand of assignment
   13 |   if(b == 2 && c*b == 100000000) c*b += 10000;
      |                                  ~^~
Language: C++

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

int main(){
  int a,b,c;
  cin >> a >> b;
  c = pow(100,a);
  if(b == 0 && c*b == 100) c*b = 101;
  if(b == 1 && c*b == 10000) c*b = 10100;
  if(b == 2 && c*b == 1000000) c*b = 10001000;
  cout << c*b << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:29: error: lvalue required as left operand of assignment
   11 |   if(b == 0 && c*b == 100) c*b = 101;
      |                            ~^~
a.cc:12:31: error: lvalue required as left operand of assignment
   12 |   if(b == 1 && c*b == 10000) c*b = 10100;
      |                              ~^~
a.cc:13:33: error: lvalue required as left operand of assignment
   13 |   if(b == 2 && c*b == 1000000) c*b = 10001000;
      |                                ~^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define x first
#define y second
#define ll long long
#define dl double
#define pii pair<int,int>
#define pb push_back
#define all() begin(),end()
#define el '\n'
#define adm(a,b,m) ((a+b)%m)
#define gum(a,b,m) ((a*1LL*b)%m)
#define lo(i,j,n) for(int i=j;i<n;i++)


int main(){
	int a,b;
	cin>>a>>b;
	cout<<b<<string(2*a,'0')<<nl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:35: error: 'nl' was not declared in this scope; did you mean 'ynl'?
   20 |         cout<<b<<string(2*a,'0')<<nl;
      |                                   ^~
      |                                   ynl
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:18: error: 'del' was not declared in this scope
   12 |   cout << ans << del;
      |                  ^~~
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int D , N , ans;
  cin >> D >> N;
  ans = pow(100 , D) * N;
  cout << ans << del;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: 'del' was not declared in this scope
    8 |   cout << ans << del;
      |                  ^~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: 'ans' was not declared in this scope; did you mean 'abs'?
    7 |   if(n!=100) ans=n;
      |              ^~~
      |              abs
a.cc:8:8: error: 'ans' was not declared in this scope; did you mean 'abs'?
    8 |   else ans=101;
      |        ^~~
      |        abs
a.cc:9:24: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |   for(int i=0;i<d;i++) ans*=100;
      |                        ^~~
      |                        abs
a.cc:10:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |   cout<<ans<<endl;
      |         ^~~
      |         abs
Language: C++

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

using ll=long long;

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int d, n;
  cin >> d >> n;
  if(d==0) cout<<(n==100)?n:101<<endl;
  if(d==1) cout<<(n==100)?n*100:10100<<endl;
  if(d==2) cout<<(n==100)?n*10000:1010000<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:32: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   13 |   if(d==0) cout<<(n==100)?n:101<<endl;
      |                             ~~~^~~~~~
a.cc:14:38: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   14 |   if(d==1) cout<<(n==100)?n*100:10100<<endl;
      |                                 ~~~~~^~~~~~
a.cc:15:42: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   15 |   if(d==2) cout<<(n==100)?n*10000:1010000<<endl;
      |                                   ~~~~~~~^~~~~~
Language: C++

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

using ll=long long;

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int d, n;
  cin >> d >> n;
  if(d==0) cout<<(n==100)?n:101<<endl;
  if(d==1) cout<<(n==100)?n*100:10100<<endl;
  if(d==2) cout<<(n==100)?n*10000;1010000<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:32: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   13 |   if(d==0) cout<<(n==100)?n:101<<endl;
      |                             ~~~^~~~~~
a.cc:14:38: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   14 |   if(d==1) cout<<(n==100)?n*100:10100<<endl;
      |                                 ~~~~~^~~~~~
a.cc:15:34: error: expected ':' before ';' token
   15 |   if(d==2) cout<<(n==100)?n*10000;1010000<<endl;
      |                                  ^
      |                                  :
a.cc:15:34: error: expected primary-expression before ';' token
a.cc:15:42: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   15 |   if(d==2) cout<<(n==100)?n*10000;1010000<<endl;
      |                                   ~~~~~~~^~~~~~
Language: C++

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


int main () {
  int D;
  long long N;
  cin >> D >> N;
  
  cout << N * 100 ^ D << endl;
  
}



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

#include<iostream>
using namespace std;
int main(){
  int d,n;
  cin>>d>>n;
  if(n==100)n++;
  cout<<n*pow(100,d)<<"\n";
}

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

#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
 
using namespace std;
 
int main(){
    int D,N;
    cin>>D>>N;
    int ans=pow(100,D);
    int r=0;
    if(N>=D){
        r=N-D+1;
    }
    ans=ans*(N+r);
    coutr<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:5: error: 'coutr' was not declared in this scope
   18 |     coutr<<ans<<endl;
      |     ^~~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
 
using namespace std;
 
int main(){
    int D,N;
    cin>>D>>N;
    int ans=pow(100,D);
    if(N>=D){
        int r=N-D+1;
    }
    ans=ans*(N+r);
    coutr<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:16: error: 'r' was not declared in this scope
   16 |     ans=ans*(N+r);
      |                ^
a.cc:17:5: error: 'coutr' was not declared in this scope
   17 |     coutr<<ans<<endl;
      |     ^~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected ',' or ';' before 'for'
    7 |   for(int i = 0; i < d; i++) ans *= 100;
      |   ^~~
a.cc:7:18: error: 'i' was not declared in this scope
    7 |   for(int i = 0; i < d; i++) ans *= 100;
      |                  ^
Language: C++

#include<bits/stdc++.h>
const int R=100;
using namespace std;

int main(){
    int a,b;
	cin>>a>>b;
	cout<<R**a*b<<endl;
    return true;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: invalid type argument of unary '*' (have 'int')
    8 |         cout<<R**a*b<<endl;
      |                 ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int d,n;
  int pow_d[3]={0,100,10000}
  cin>>d>>n;
  cout<<n*pow_d[d]<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected ',' or ';' before 'cin'
    6 |   cin>>d>>n;
      |   ^~~
Language: C++

// -----------------------------------
// Author     : MatsuTaku
// Affiliation: Tokushima University
// Country    : Japan
// Date       : 03/29/2020
// -----------------------------------

#include <bits/stdc++.h>

using namespace std;
using ll = long long;

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

  int D,N; cin>>D>>N;
  cout << pow(100, D) + N - 1; << endl;

  return 0;
}


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

#include <bits/stdc++.h>

using namespace std;

int main(){
  int d, n;
  cin >> d >> n;
  int a = pow(100 ,d);
  
  if(n < 100)
  	cout << n*s;
  else
    cout << (n+1)*s;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: 's' was not declared in this scope
   11 |         cout << n*s;
      |                   ^
a.cc:13:19: error: 's' was not declared in this scope
   13 |     cout << (n+1)*s;
      |                   ^
Language: Java

import java.util.Scanner;

public class Main {

    public static void main(String args[]) {

        // 入力
        Scanner sc = new Scanner(System.in);
        int d = Integer.parseInt(sc.next());
        int n = Integer.parseInt(sc.next());

        // 主処理
        int result = n;
        if (d == 0 && n == 100) {
            result++;
        } else if (0 < d) {1
            for (int i = 0; i < d; i++) {
                result *= 100;
            }
            if (n == 100) {
                int add = 1;
                for (int i = 0; i < d; i++) {
                    add *= 100;
                }
                result += add;
            }
        }

        // 出力
        System.out.println(result);
        sc.close();
    }
}


Compiler output:
Main.java:16: error: not a statement
        } else if (0 < d) {1
                           ^
Main.java:16: error: ';' expected
        } else if (0 < d) {1
                            ^
2 errors
Language: C

#include <algorithm>
#include <complex>
#include <cstdlib>
#include <ctime>
#include <time.h>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>

using namespace std;
#define SAY_YES cout << "YES" << endl;
#define SAY_Yes cout << "Yes" << endl;
#define SAY_NO cout << "NO" << endl;
#define SAY_No cout << "No" << endl;
#define IFYES(TRUE_OR_FALSE)   \
    if (TRUE_OR_FALSE)         \
    {                          \
        cout << "YES" << endl; \
    }                          \
    else                       \
    {                          \
        cout << "NO" << endl;  \
    }
#define IFYes(TRUE_OR_FALSE)   \
    if (TRUE_OR_FALSE)         \
    {                          \
        cout << "Yes" << endl; \
    }                          \
    else                       \
    {                          \
        cout << "No" << endl;  \
    }
#define IFyes(TRUE_OR_FALSE)   \
    if (TRUE_OR_FALSE)         \
    {                          \
        cout << "yes" << endl; \
    }                          \
    else                       \
    {                          \
        cout << "no" << endl;  \
    }
#define DEBUG_OUTPUT_ARRAY(XXX, ONE)                            \
    for (int i = 0; i < (ONE); i++)                             \
    {                                                           \
        cout << "DEBUG: i = " << i << " -> " << XXX[i] << endl; \
    }
#define DEBUG_OUTPUT_ARRAY2(XXX, ONE, TWO)                             \
    for (int i = 0; i < (ONE); i++)                                    \
    {                                                                  \
        cout << "<<< i = " << i << " >>>" << endl;                     \
        for (int j = 0; j < (TWO); j++)                                \
        {                                                              \
            cout << "DEBUG: j = " << j << " -> " << XXX[i][j] << endl; \
        }                                                              \
    }
#define DEBUG_OUTPUT_ARRAY2_BOX(XXX, ONE, TWO) \
    for (int i = 0; i < (ONE); i++)            \
    {                                          \
        cout << i << "  ";                     \
        for (int j = 0; j < (TWO); j++)        \
        {                                      \
            cout << XXX[i][j] << " ";          \
        }                                      \
        cout << endl;                          \
    }

typedef pair<long long int, long long int> pll;


const long long int mod = 1000000007;
const long long int INF = 99999999999999999;



long long int N,M,res=0;

long long int a,b,c,D;

char ch[140];
int main()
{
    cout << fixed << setprecision(18);
   cin>>D>>N;
   if(N==100){N++;}
   while(D!=0){
       N*=100;
       D--;
   }
   cout<<N<<endl;
}


Compiler output:
main.c:1:10: fatal error: algorithm: No such file or directory
    1 | #include <algorithm>
      |          ^~~~~~~~~~~
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 num = 100;
      num = (int) Math.math(num, d);
      
      System.out.println(num * n);
  }
}

Compiler output:
Main.java:9: error: cannot find symbol
      num = (int) Math.math(num, d);
                      ^
  symbol:   method math(int,int)
  location: class Math
1 error
Language: Java

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new aScanner(System.in);
    
    int D = sc.nextInt();
    int N = sc.nextInt();
    
    int a = 1;
    
    for (int i = 0; i < D; i++) {
      a *= 100;
    }
    
    System.out.println(N == 100 ? a * (N + 1) : a * N);
  }
}

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

#include <iostream>
#include <vector>
#include <string>
#include <stdio.h>
#include <map>
#include <set>
#include <algorithm>

using namespace std;

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

  long long a = pow(100.0, D);
  cout << a * N << endl;
}

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

#include <bits/stdc++.h>int main(){int d,n;std::cin>>d>>n;if(n==100){n=101;}std::cout<<pow(100,d)*n<<std::endl;return 0;}

Compiler output:
a.cc:1:29: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++.h>int main(){int d,n;std::cin>>d>>n;if(n==100){n=101;}std::cout<<pow(100,d)*n<<std::endl;return 0;}
      |                             ^~~~
a.cc:1:10: fatal error: bits/stdc++.h>in: No such file or directory
    1 | #include <bits/stdc++.h>int main(){int d,n;std::cin>>d>>n;if(n==100){n=101;}std::cout<<pow(100,d)*n<<std::endl;return 0;}
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>

 using namespace std;

 int main() {
   int D, N;

   cin >> D >> N;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:4: error: expected '}' before 'else'
   13 |    else if (D == 1) {
      |    ^~~~
a.cc:10:16: note: to match this '{'
   10 |    if (D == 0) {
      |                ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:5:13: note: to match this '{'
    5 |  int main() {
      |             ^
Language: C

#include <stdio.h>
 
int main()
{
  int d,n,j,cnt=0;
  scanf("%d%d",&d,&n);
  long long int i;
  for(i=0;;++i)
  {
    for(j=0;j<d;++j)
    {
      if(i%100==0)
          i/=100;
      
       else
         break;
    }
    if(j==d)
        cnt++;
    
    if(cnt==n)
         break;
  }
  
  printf("%lld",i)'
}

Compiler output:
main.c: In function 'main':
main.c:25:19: warning: missing terminating ' character
   25 |   printf("%lld",i)'
      |                   ^
main.c:25:19: error: missing terminating ' character
main.c:25:19: error: expected ';' before '}' token
   25 |   printf("%lld",i)'
      |                   ^
      |                   ;
   26 | }
      | ~
Language: C

#include <stdio.h>

int main()
{
  int d,n,cnt=0;
  scanf("%d%d",&d,&n);
  long long int i;
  for(i=0;;++i)
  {
    for(j=0;j<d;++j)
    {
      if(i%100==0)
          i/=100;
      
       else
         break;
    }
    if(j==d)
        cnt++;
    
    if(cnt==n)
         break;
  }
  
  printf("%lld",i)'
}

Compiler output:
main.c: In function 'main':
main.c:10:9: error: 'j' undeclared (first use in this function)
   10 |     for(j=0;j<d;++j)
      |         ^
main.c:10:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:25:19: warning: missing terminating ' character
   25 |   printf("%lld",i)'
      |                   ^
main.c:25:19: error: missing terminating ' character
main.c:25:19: error: expected ';' before '}' token
   25 |   printf("%lld",i)'
      |                   ^
      |                   ;
   26 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i = 0; i < (n); i++)
typedef long long int ll;
typedef pair<int, int> P;
const ll MOD = 1e9+7, INF = 1e9;

int main()
{
  int d, n;
  cin >> d >> n;
  int v[3];
  v[0] = 1; v[1] = 100; v[2] = 10000;
  if(d == 0){2 85
    cout << v[0]*n << endl;
  }
  else if(d == 1){
    cout << v[1]*n << endl;
  }
  else {
    cout << v[2]*n << endl;
  }
  system("pause");
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:15: error: expected ';' before numeric constant
   14 |   if(d == 0){2 85
      |               ^~~
      |               ;
Language: C++

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

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

    if(n != 100){
        cout << n;
        if(d == 1){
            cout << "00";
        }
        else if(d == 2){
            cout << "0000";
        }
    }
    else{
        if(d == 1){
            cout << "10100";
        }
        else if(d == 2){
            cout << "1010000";
        }
        else{
            cout << "101"
        }
    }
}

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: lvalue required as left operand of assignment
   13 |     }else if(D==1&&N=100){
      |              ~~~~^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int _pow(d) {
  ans = 1;
  while(d--) ans*=100;
  return ans;
}
int main() {
  int n, d;
  cin >> d >> n;
  printf("%d\n", _pow(d)*n + (n == 100 ? _pow(d) : 0));
  return 0;}


Compiler output:
a.cc:3:10: error: 'd' was not declared in this scope
    3 | int _pow(d) {
      |          ^
a.cc: In function 'int main()':
a.cc:11:22: error: '_pow' cannot be used as a function
   11 |   printf("%d\n", _pow(d)*n + (n == 100 ? _pow(d) : 0));
      |                  ~~~~^~~
a.cc:11:46: error: '_pow' cannot be used as a function
   11 |   printf("%d\n", _pow(d)*n + (n == 100 ? _pow(d) : 0));
      |                                          ~~~~^~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:18: error: expected ';' before ')' token
    6 |   for(i=0,i<n;i++){
      |                  ^
      |                  ;
Language: C++

#include <iostream>
#include <cmath>
using namespace std;
int main(void){
    int a,b;
    cin >> a >> b;
  if(b!=100){
    cout << pow(100,a)*b << endl;
  }
  else{
    cout << pwo(100.a)*101 << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: unable to find numeric literal operator 'operator""a'
   11 |     cout << pwo(100.a)*101 << endl;
      |                 ^~~~~
a.cc:11:13: error: 'pwo' was not declared in this scope; did you mean 'pow'?
   11 |     cout << pwo(100.a)*101 << endl;
      |             ^~~
      |             pow