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

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

int main() { 
  int X;
  cin >> X;
  //cout << 100 * 1.01<<
  for (int i = 0; i < X; i++)
    cout << 100 * 1.01 >= X << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:29: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |     cout << 100 * 1.01 >= X << endl;
      |                           ~~^~~~~~~
a.cc: At global scope:
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

int main(){
  int X,M,Y;
  cin >> X;
  M = 100;
  Y = 0;
  while(M<X){
   M *= 1.01
   M /= 1
   Y++;
  }
  cout << Y << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected ';' before 'M'
   10 |    M *= 1.01
      |             ^
      |             ;
   11 |    M /= 1
      |    ~
Language: C++

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


int main() {
  int X,A;
  cin >> X;
  
  int N = 100;
  
  rep(i,A)
    N *= 1.01
  
  if (N >= X) {
      cout << A << endl;
      break;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: expected ';' before 'if'
   13 |     N *= 1.01
      |              ^
      |              ;
   14 | 
   15 |   if (N >= X) {
      |   ~~
Language: C++

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

int main() { 
  int X;
  cin >> X;
  //cout << 100 * 1.01<<
  for (int i = 0; i < X; i++)
    cout << 100 * 1.01 >= X <<endl;
  {
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:29: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |     cout << 100 * 1.01 >= X <<endl;
      |                           ~~^~~~~~
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<iostream>
#include<algorithm>

using namespace std;
int main() {
    int x;
    cin >> x;
    int a = 1;
    int c = 100;
    while (c < x) {
        c = 100 * pow(1.01, a);
        a++;
    }
    cout << a-1 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: 'pow' was not declared in this scope
   11 |         c = 100 * pow(1.01, a);
      |                   ^~~
Language: Java


import java.util.Scanner;

public class Main1 {
    public static void main(String args[]){
        Scanner s = new Scanner(System.in);
        double x = s.nextInt();
        int c = 0;
        for (int b = 100; b < x; b++) {
             b = (int) (b * 1.01);
             c++;
        }
        System.out.println(c+1);

    }
}


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

#include<iostream>
using namespace std;
int main(){
	unsigned long int X,
	int num=100,cou=0;
	cin>>X;
	while(true){
		num+=num*0.01;
		cou++;
		if(num>=X)break;
	}
	cout<<cou<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected unqualified-id before 'int'
    5 |         int num=100,cou=0;
      |         ^~~
a.cc:8:17: error: 'num' was not declared in this scope; did you mean 'enum'?
    8 |                 num+=num*0.01;
      |                 ^~~
      |                 enum
a.cc:9:17: error: 'cou' was not declared in this scope
    9 |                 cou++;
      |                 ^~~
a.cc:12:15: error: 'cou' was not declared in this scope
   12 |         cout<<cou<<endl;
      |               ^~~
Language: C++

#include<iostream>
using namespace std;
int main() {
    int x;
    cin >> x;
    int a = 1;
    int c = 100;
    while (c < x) {
        c = 100 * pow(1.01, a);
        a++;
    }
    cout << a-1 << endl;
}

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

#define in(i) std::cin >> i;
#define print(i) std::cout << i;
#define println(i) std::cout << i << std::endl;
using namespace std;

int main() {
    long x, m = 100, i;
    
    cin >> x;
    
    for(i = 0; m < x; i++) {
       m = m + (long)(m * 0.01);
    }
    
    
    cout << m << " " <<i << endl;
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin >> x;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #define in(i) std::cin >> i;
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout << m << " " <<i << endl;
      |     ^~~~
a.cc:16:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:29: error: 'endl' was not declared in this scope
   16 |     cout << m << " " <<i << endl;
      |                             ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #define in(i) std::cin >> i;
Language: Java

public class Main {
    public static void main(String args[]){
        Scanner s = new Scanner(System.in);
        double x = s.nextInt();
        int c = 0;
        for (int b = 100; b < x; b++) {
             b = (int) (b * 1.01);
             c++;
        }
        System.out.println(c+1);

    }
}


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

#include <stdio.h>
  
  int void(){
  int X,a,b;
  a = 100;
  b = 1;
  scanf("%d",&X);
    
   while(a < X){
   a = a*1.01;
   b = b + 1; 
   }
   printf("%d",b);
  }

Compiler output:
main.c:3:7: error: two or more data types in declaration specifiers
    3 |   int void(){
      |       ^~~~
main.c:3:12: error: expected identifier or '(' before ')' token
    3 |   int void(){
      |            ^
Language: C++

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

int main (){
int x;
cin>>x;
x=100;
for(int i=0; i<x; i++){
x*=1.01
}
cout<<x<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: expected ';' before '}' token
    9 | x*=1.01
      |        ^
      |        ;
   10 | }
      | ~
Language: C++

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

int main() {
  int64_t x;
  cin >> x;
  int64_t y = 100;
  int count = 0;
  while(y < x) {
    y *= 1.01;
    count++;
  }
  cout << count << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:13:25: error: expected '}' at end of input
   13 |   cout << count << endl;
      |                         ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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


int main() {
  int X,A;
  cin >> X;
  
  int N = 0;
  int Y;
  
  rep(i,A)
    cin >> N;
    N *= 1.01
  
  if (N >= X) {
      cout << A << endl;
      break;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:14: error: expected ';' before 'if'
   15 |     N *= 1.01
      |              ^
      |              ;
   16 | 
   17 |   if (N >= X) {
      |   ~~
Language: C++

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

int main(){
  int X;
  cin>>X;
  int num=0;
  int ans=100;
  while(true){
    bool add =false;
    for(int i=0;i<1000000;i++){
      ans*=1.01;
      num++;
      if(ans>=X){
        add=true;
      }
    }
    if(add){
      break;
 
  cout<<num<<endl;
}
      
    
    
  


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

#include<stdio.h>
#define _CRT_SECURE_NO_WARNINGS
int main()
{
	double a, b;
	int i = 0;
	a = 100;scanf_s("%lf", &b);
	while (a <= b)
	{
		a *= 1.01;
		a = (int)a / 1;
		i++;
	}
	printf("%d", i);
	return 0;
}

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

#include<iostream>
#include<vector>
#include<algorithm>
#include<set>
#include<map>
#include<stack>
#include<queue>
#include<math.h>
#include<bitset>
#include <numeric>
using namespace std;
using ll=long long;
using ld=long double;
using pint=pair<int,int>;
using pll=pair<ll,ll>;
#define LONG_INF 9223372036854775807
#define INF 1000000000LL
#define EPS 1e-10
#define rep(i, n) for(int i = 0; i < (int)n; i++)
#define dump(a) rep(d,a.size()){cout<<a[d];if(d!=a.size()-1)cout<<" ";else cout<<endl;}
#define all(v) v.begin(),v.end()
#define pb push_back

#define INT 1.01

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

    ll X;
    cin >> X;

    for(ll ret=f; ret <INF; ret++){
        v *= INT;
        if(X<=v){
            cout << ret+1 << endl;
            break;
        }
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:33:16: error: 'f' was not declared in this scope
   33 |     for(ll ret=f; ret <INF; ret++){
      |                ^
a.cc:34:9: error: 'v' was not declared in this scope
   34 |         v *= INT;
      |         ^
Language: C++

#include <iostream>
using namespace std;

int main(){
    int X;
    cin >> X;
    int yokin = 100;
    int ans;
    for (int i=1; i<=1000; ++i){
        100 * yokin = 101 * yokin; 
        if (yokin >= X){
            ans = i;
            break;
        }
    }
    cout << ans << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: lvalue required as left operand of assignment
   10 |         100 * yokin = 101 * yokin;
      |         ~~~~^~~~~~~
Language: C++

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

int main() {
  int X;
  cin >> X;
  int N,A=100;
  for (int i=0;i<N;i++) {
    A += A/100
   if (A>=X) {
     cout << N << endl;
   }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before 'if'
    9 |     A += A/100
      |               ^
      |               ;
   10 |    if (A>=X) {
      |    ~~          
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>
#include <cmath>

using namespace std;

int main(void
{
	cin.exceptions(ios::failbit);

	int x;
	int cnt = 1;
	int total = 100;

	try
	{
		cin >> x;

		if (x >= 101 && x <= pow(10, 18))
		{
			while (1)
			{
				total = (int)(total * 1.01);

				if (total >= x)
				{
					break;
				}

				cnt++;
			}
		}

		cout << cnt << endl;
	}
	catch (...)
	{
	}


	return 0;

}

Compiler output:
a.cc:6:5: error: cannot declare '::main' to be a global variable
    6 | int main(void
      |     ^~~~
a.cc:8:36: error: compound literal of non-object type 'void'
    8 |         cin.exceptions(ios::failbit);
      |                                    ^
a.cc:6:10: error: expected primary-expression before 'void'
    6 | int main(void
      |          ^~~~
Language: C++

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

int main() {
  int X;
  cin X;
  int N,A=100;
  for (int i=0;i<N;i++) {
    A += A/100
   if (A>=X) {
     cout << N << endl;
   }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'X'
    6 |   cin X;
      |      ^~
      |      ;
a.cc:9:15: error: expected ';' before 'if'
    9 |     A += A/100
      |               ^
      |               ;
   10 |    if (A>=X) {
      |    ~~          
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

#include<stdio.h>
    int main(){
     long int X,z;
      z=100;
      int i;
      scanf("%ld",&X);
      for(i=1;i<4000;i++){
        z= z+ z*i/100);
        if(z>=X){
          printf("%d",i);
        	break;
        }
      }
       
       
      return 0;
    }

Compiler output:
main.c: In function 'main':
main.c:8:22: error: expected ';' before ')' token
    8 |         z= z+ z*i/100);
      |                      ^
      |                      ;
main.c:8:22: error: expected statement before ')' token
Language: C

#include<stdio.h>

int main(void){
  int X;
  scanf("%d",&X);
  
  int a,i;
  a==100;
  i==0;
  while(a<=X){
    a==a*101/100;
    i==i+1;
  }
  
  printf("%d",i);
  
  return 0;

Compiler output:
main.c: In function 'main':
main.c:17:3: error: expected declaration or statement at end of input
   17 |   return 0;
      |   ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main()
{
  int a;
  int count=0;
  cin >> a;
  
  for(int i=1; i<=3760; i++)
  {
    count++;
    b*=1.01;
    if(b>=a)
      break;
  }
	cout << count <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: 'b' was not declared in this scope
   13 |     b*=1.01;
      |     ^
Language: C++

#include <iostream>
using namespace std;
int main() {
  double sum=100;
  int X;
  cin >>X;
  int i =1;
  while (sum<X){
    sum =sum*1.01;
    i++}
  cout<<i<<endl;
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: expected ';' before '}' token
   10 |     i++}
      |        ^
      |        ;
Language: C++

#include <iostream>
#include <math.h>
int main()
using namespace std;
{
  double X;
  cin >> X;
  double Y = pow(10, log10(X)/1.01);
  Y = ceil(Y);
  cout << Y << endl;
}

Compiler output:
a.cc:4:1: error: expected initializer before 'using'
    4 | using namespace std;
      | ^~~~~
a.cc:5:1: error: expected unqualified-id before '{' token
    5 | {
      | ^
Language: C++

#include <bits/stdc++.h> 
using namespace std; 
int main() { 
  int m,su;
  m=100;
  su=0;
  while(m<x){
    m=m*1.01;
    su++;
    }
  cout <<su<<endl;
  return 0;
  }
  
    
  



Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'x' was not declared in this scope
    7 |   while(m<x){
      |           ^
Language: C++

#include <iostream>

using namespace  std;

int main(void)
{
  cin.exceptions(ios::failbit);
  
  int x;
  int cnt = 1;
  int total = 100;
  
  try
  {
    cin >> x;
    
    if( x >= 101 && x <= pow(10,18) )
    {
	 while (1)
	 {
	 	total = (int)(total * 1.01);

	 	if (total >= x)
	 	{
	 		break;
	 	}

	 	cnt++;
	 }
      
     cout << cnt << endl;
    }
  }
  catch(...)
  { 
  }
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:26: error: 'pow' was not declared in this scope
   17 |     if( x >= 101 && x <= pow(10,18) )
      |                          ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
  long X,A = 100;
  cin >> X;
  for(long long i = 1; i <9999999999999999999999999999999999999999999999999 ; i++) {
    A *= 1.01;
    for(long l = 100; l < X; l++) {
      if(A < l) {
        A = L - 1;
        break;
      }
    }
    if (X <= A) {
      cout << i << endl;
      break;
    }
  }
}

Compiler output:
a.cc:6:27: warning: integer constant is too large for its type
    6 |   for(long long i = 1; i <9999999999999999999999999999999999999999999999999 ; i++) {
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:10:13: error: 'L' was not declared in this scope
   10 |         A = L - 1;
      |             ^
Language: C++

#include <iostream>
#include <cmath>
using namespace std;
 
int main(void) {
  long X;
  long deposit = 100;
  long duration = 0;
  
  for (int i=1;deposit >= X; i++) {
    duration += 1;
    gain = floor(deposit * 0.01);
  	deposit += gain;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: 'gain' was not declared in this scope; did you mean 'main'?
   12 |     gain = floor(deposit * 0.01);
      |     ^~~~
      |     main
Language: C++

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

int main(void) {
  long X;
  long deposit = 100;
  long duration = 0;
  
  for (int i=1;a >= X; i++) {
    duration += 1;
    gain = floor(deposit * 0.01);
  	a += gain;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: 'a' was not declared in this scope
   10 |   for (int i=1;a >= X; i++) {
      |                ^
a.cc:12:5: error: 'gain' was not declared in this scope; did you mean 'main'?
   12 |     gain = floor(deposit * 0.01);
      |     ^~~~
      |     main
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <utility>
#define in(n, m) for (ll i=n; i<m;i++)
#define inj(n, m)for (ll j=n; j<m;j++)
#define ink(n, m)for (ll k=n; k<m;k++)
using namespace std;
using ll=long long;
using P =pair<ll, ll>;
const ll INF = 1LL << 60;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }

int main() {
	ll x;
	cin >> x;
	ll I = 0;
	in(0, INF) {
		double y = 100 * pow(1.01, i);
		if (x <= y) {
			I = i;
			break;
		}
	}

	cout << I << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:34: error: 'pow' was not declared in this scope
   21 |                 double y = 100 * pow(1.01, i);
      |                                  ^~~
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    double targ = scan.nextDouble();
    double first = 100.0;
    double rate = 1.01;
    int goal = Math.log((targ*(rate-1)/first+1))/Math.log(rate);
    System.out.println(goal);
  }
}


Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to int
    int goal = Math.log((targ*(rate-1)/first+1))/Math.log(rate);
                                                ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x,y;
  cin>>x;
  int count = 0;
  y=100*(1+0.01*i);
  for(int i=1;i<1000000000000;i++){
    if(y<x){
      count++;
    }
    else 
      break;
  }
  cout<<count+1<<endl;
}
    
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: 'i' was not declared in this scope
    7 |   y=100*(1+0.01*i);
      |                 ^
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    double targ = scan.nextDouble();
    double first = 100.0;
    double rate = 1.01;
    int goal = Math.log((targ*(rate-1)/first+1))/log(rate);
    System.out.println(goal);
  }
}


Compiler output:
Main.java:8: error: cannot find symbol
    int goal = Math.log((targ*(rate-1)/first+1))/log(rate);
                                                 ^
  symbol:   method log(double)
  location: class Main
1 error
Language: C++

#include<iostream>
using namespace std;
int main()
{
  long long int n;
  int t;
  cin>>n;
  t=(log(n)-log(100))/log(2);
  cout<<t;
  return 0;
}
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: 'log' was not declared in this scope; did you mean 'long'?
    8 |   t=(log(n)-log(100))/log(2);
      |      ^~~
      |      long
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    double targ = scan.nextDouble();
    double first = 100.0;
    double rate = 1.01;
    int goal = Math.log((targ*(rate-1)/first+1)/log(rate);
    System.out.println(goal);
  }
}


Compiler output:
Main.java:8: error: ')' or ',' expected
    int goal = Math.log((targ*(rate-1)/first+1)/log(rate);
                                                         ^
1 error
Language: C

#include<stdio.h>
int main(void){
  int X, i;
  float a=100.0;
  scanf("%d", &X);
  while(1){
    int i=1;
    a=a*1.01^i;
    if(a>=X){
      printf("%d", i);
    }
    i++;
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: invalid operands to binary ^ (have 'double' and 'int')
    8 |     a=a*1.01^i;
      |       ~~~~~~^
      |        |
      |        double
Language: C++

ll x;
	cin >> x;
	int k = 100;
	int i = 0;
	int s = 100;
	int j = 0;
	while (s < x) {
		i++;
		if(s+s/100+(s+(s/100))/100<k)s += s/100+(s+(s/100))/100,i++;
      	else s += s/100;
	}
	cout << j + 1 << endl;

Compiler output:
a.cc:1:1: error: 'll' does not name a type
    1 | ll x;
      | ^~
a.cc:2:9: error: 'cin' does not name a type
    2 |         cin >> x;
      |         ^~~
a.cc:7:9: error: expected unqualified-id before 'while'
    7 |         while (s < x) {
      |         ^~~~~
a.cc:12:9: error: 'cout' does not name a type
   12 |         cout << j + 1 << endl;
      |         ^~~~
Language: C

#include<stdio.h>
int main(void){
  int X, i, 
  float a=100.0;
  scanf("%d", &X);
  while(1){
    int i=1;
    a=a*1.01^i;
    if(a>=X){
      printf("%d", i);
    }
    i++;
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: expected identifier or '(' before 'float'
    4 |   float a=100.0;
      |   ^~~~~
main.c:8:5: error: 'a' undeclared (first use in this function)
    8 |     a=a*1.01^i;
      |     ^
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main(void){
  int X, i, 
  float a=100;
  scanf("%d", &X);
  while(1){
    int i=1;
    a=a*1.01^i;
    if(a>=X){
      printf("%d", i);
    }
    i++;
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: expected identifier or '(' before 'float'
    4 |   float a=100;
      |   ^~~~~
main.c:8:5: error: 'a' undeclared (first use in this function)
    8 |     a=a*1.01^i;
      |     ^
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<bits/stdc++.h> 
using namespace std;
long long num= 100;
#include <cmath>
template<typename real>
inline round(const real &n)
{
   return (long long)((long double)n*pow(10,1))/pow(10,1);
}
int a;
int main(){
	scanf("%d,",&a);
	for(int i =1 ;;i++){
//		num= round(num*1.01);
		num = num*1.01;
//		cout<<num<<endl;
		if(num>=a){
			printf("%d",i);
			return 0;
		}
	}
}

Compiler output:
a.cc:6:8: error: ISO C++ forbids declaration of 'round' with no type [-fpermissive]
    6 | inline round(const real &n)
      |        ^~~~~
Language: C

#include<stdio.h>
int main(void){
  int X, i, 
  double a=100;
  scanf("%d", &X);
  while(1){
    int i=1;
    a=a*1.01^i;
    if(a>=X){
      printf("%d", i);
    }
    i++;
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: expected identifier or '(' before 'double'
    4 |   double a=100;
      |   ^~~~~~
main.c:8:5: error: 'a' undeclared (first use in this function)
    8 |     a=a*1.01^i;
      |     ^
main.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <map>
 
using namespace std;
int main() {
  int x,s=100,c=0;
  cin>>x;
  
  while{
      if(s>=x){
        break;
      }
      s+=s*(0.01);
	  c++;
  }
  cout<<c<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: expected '(' before '{' token
   12 |   while{
      |        ^
      |        (
a.cc:12:8: error: expected primary-expression before '{' token
a.cc:12:8: error: expected ')' before '{' token
   12 |   while{
      |        ^
      |        )
Language: C++

#include <stdio.h>
int i, j, n, m, k, a[1005], b[1005], x;
void dfs(int i){
 for(i=1; i<=n; i++){
  for(j=1; j<=m; j++){
  scanf("%d%d", &a, &b);
  scanf("%d", &x); 
  }
 }
int main(){
 scanf("%d%d", &n, &m);
 for(i=1; i<=n; i++){
  a[i] + b[i] = x;
 }
 printf("%d\n", ans);
 return 0;
} 

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

#include<iostream>

int main() {
	double X;
	std::cin >> X;

	double okane = 100;
	int nen = 0;

	while (true) {
		okane += okane * 0.01;
		okane = floor(okane);
		nen++;
		if (okane >= X) {
			break;
		}
	}
	std::cout << nen << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: 'floor' was not declared in this scope
   12 |                 okane = floor(okane);
      |                         ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main () {
int X;
  cin >> X;
  
  int N = (log10(X)-2)/log10(1.01)
  
  cout << N << endl;
}


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

#include<math.h>
typedef long long ll;
#define X first
#define Y second
#define dbl double
#define forn(i,n,k) for(int i=0;i<n;i=i+k)
#define forpn(p,n,k) for(int i=p;i<n;i+=k)
 
using namespace std;
long long gcd(int a,int b)
{
    if(b==0) return a;
    else return gcd(b,a%b);
}
int main()
{
    ll x,y=100,count=0;
  cin>>x;
  	while(x>y)
    {
      y=floor(1.01*y);
      count++;
    }
  cout<<count;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:3: error: 'cin' was not declared in this scope
   18 |   cin>>x;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<math.h>
  +++ |+#include <iostream>
    2 | typedef long long ll;
a.cc:24:3: error: 'cout' was not declared in this scope
   24 |   cout<<count;
      |   ^~~~
a.cc:24:3: 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;

int main() {
  long long int X;
  cin>>X;
  int N=100;
  for(int i=0;N>=X;i++){
    int N=100*(101/100)^i;
  }
  cout<<i<<endl;
}

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


public class Main {

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

		long X = Long.parseLong(sc.next());

		long yokin = 100;
		int counter = 0;
		while (!(yokin >= X)) {
			yokin *= 1.01;
			counter++;
		}

		System.out.println(counter);
	}
}

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

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

     
    int32_t main(){
        
    	int x;
    	cin>>x;
    	int a = 100;
    	int t = 0;
    	while(a<x){
    		a = a*101;
    		a = a/100;
    		t++;
    	}
    	cout<<t;
    }

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:3:17: error: 'int128_t' was not declared in this scope; did you mean 'int8_t'?
    3 |     #define int int128_t
      |                 ^~~~~~~~
a.cc:8:9: note: in expansion of macro 'int'
    8 |         int x;
      |         ^~~
a.cc:9:14: error: 'x' was not declared in this scope
    9 |         cin>>x;
      |              ^
a.cc:10:13: error: expected ';' before 'a'
   10 |         int a = 100;
      |             ^
a.cc:11:13: error: expected ';' before 't'
   11 |         int t = 0;
      |             ^
a.cc:12:15: error: 'a' was not declared in this scope
   12 |         while(a<x){
      |               ^
a.cc:15:17: error: 't' was not declared in this scope; did you mean 'tm'?
   15 |                 t++;
      |                 ^
      |                 tm
a.cc:17:15: error: 't' was not declared in this scope; did you mean 'tm'?
   17 |         cout<<t;
      |               ^
      |               tm
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    double targ = scan.nextDouble();
    double first = 100.0;
    double rate = 1.01;
    int i = 100;
    int goal = 0;
    while (i <= targ){
      double i*=rate;
      i=Math.ceil(i);
      goal++;
    }
    System.out.println(goal);
  }
}


Compiler output:
Main.java:11: error: ';' expected
      double i*=rate;
              ^
Main.java:11: error: not a statement
      double i*=rate;
                ^
2 errors
Language: C

int main(){

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

  int bank = 100;
  int year = 0;
  while(true){
      year++;
      bank = bank + int(bank/100)
      if(bank==a){
          break;
      }
  }
  print("%d", year);
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d", &a);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d", &a);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:9: error: 'true' undeclared (first use in this function)
    8 |   while(true){
      |         ^~~~
main.c:1:1: note: 'true' is defined in header '<stdbool.h>'; this is probably fixable by adding '#include <stdbool.h>'
  +++ |+#include <stdbool.h>
    1 | int main(){
main.c:8:9: note: each undeclared identifier is reported only once for each function it appears in
    8 |   while(true){
      |         ^~~~
main.c:10:21: error: expected expression before 'int'
   10 |       bank = bank + int(bank/100)
      |                     ^~~
main.c:15:3: error: implicit declaration of function 'print' [-Wimplicit-function-declaration]
   15 |   print("%d", year);
      |   ^~~~~
Language: C++

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

int main() {
  int X;
  cin >> X;
  
  int x;
  
  if(std::pow(10,4)*(1-(std::pow(1.01,x)) >= X){
    cout << x << endl;
  }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:48: error: expected ')' before '{' token
   10 |   if(std::pow(10,4)*(1-(std::pow(1.01,x)) >= X){
      |     ~                                          ^
      |                                                )
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected ';' before ')' token
    8 |   for(A < X){
      |            ^
      |            ;
a.cc:13:1: error: expected primary-expression before '}' token
   13 | }
      | ^
a.cc:12:21: error: expected ')' before '}' token
   12 |   cout << i << endl;
      |                     ^
      |                     )
   13 | }
      | ~                    
a.cc:8:6: note: to match this '('
    8 |   for(A < X){
      |      ^
a.cc:13:1: error: expected primary-expression before '}' token
   13 | }
      | ^
Language: C++

#include<iostream>
#include<cmath>

int main() {
	double X;
	std::cin >> X;

	double okane = 100;
	int nen = 0;

	while (true) {
		okane += okane * 0.01;
		okane = std::ceil(okane);
		nen++;
		if (okane >= X) {
			break;
		}
	}
	std::cout << nen << std::endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:19:39: error: expected '}' at end of input
   19 |         std::cout << nen << std::endl;
      |                                       ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    double targ = scan.nextDouble();
    double first = 100.0;
    double rate = 1.01;
    int i = 100;
    int goal = 0;
    while (i <= targ){
      i*=rate;
      i=Math.ceil(i);
      goal++;
    }
    System.out.println(goal);
  }
}


Compiler output:
Main.java:12: error: incompatible types: possible lossy conversion from double to int
      i=Math.ceil(i);
                 ^
1 error
Language: C

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

int bank = 100;
int year = 0;
while(true){
	year++;
    bank = bank + int(bank/100)
    if(bank==a){
    	break;
    }
}
print("%d", year);

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | scanf("%d", &a);
      |       ^~~~
main.c:2:13: error: expected declaration specifiers or '...' before '&' token
    2 | scanf("%d", &a);
      |             ^
main.c:6:1: error: expected identifier or '(' before 'while'
    6 | while(true){
      | ^~~~~
main.c:13:7: error: expected declaration specifiers or '...' before string constant
   13 | print("%d", year);
      |       ^~~~
main.c:13:13: error: expected declaration specifiers or '...' before 'year'
   13 | print("%d", year);
      |             ^~~~
Language: C++

#include"bits/stdc++.h"
using namespace std;
#define int int128_t
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);

int32_t main(){

    	int x;
    	cin>>x;
    	int a = 100;
    	int t = 0;
    	while(a<x){
    		a = a*101;
    		a = a/100;
    		t++;
    	}
    	cout<<t;
    }


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:3:13: error: 'int128_t' was not declared in this scope; did you mean 'int8_t'?
    3 | #define int int128_t
      |             ^~~~~~~~
a.cc:8:9: note: in expansion of macro 'int'
    8 |         int x;
      |         ^~~
a.cc:9:14: error: 'x' was not declared in this scope
    9 |         cin>>x;
      |              ^
a.cc:10:13: error: expected ';' before 'a'
   10 |         int a = 100;
      |             ^
a.cc:11:13: error: expected ';' before 't'
   11 |         int t = 0;
      |             ^
a.cc:12:15: error: 'a' was not declared in this scope
   12 |         while(a<x){
      |               ^
a.cc:15:17: error: 't' was not declared in this scope; did you mean 'tm'?
   15 |                 t++;
      |                 ^
      |                 tm
a.cc:17:15: error: 't' was not declared in this scope; did you mean 'tm'?
   17 |         cout<<t;
      |               ^
      |               tm
Language: C++

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

int main() {
  int X;
  cin >> X;
  
  int A=100;
  int i = 0;
  
  while(A < X){
    A += A/100;
    i++
  }
  
  cout << i+1 << endl;
    
}



Compiler output:
a.cc: In function 'int main()':
a.cc:13:8: error: expected ';' before '}' token
   13 |     i++
      |        ^
      |        ;
   14 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;
float cnt=100;
long long a,sum;
int main()
{
	cin>>a;
	for(int i=0;a>=cnt;i++)
	{
		cnt=cnt*1.01;
		cnt=long long(cnt);
		sum++;
	}
	cout<<sum;
	return 0;
}


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

#include<iostream>
using namespace std;
int main(){
  int a;
  cin >> a;
  
  int m=100;
  for(int i=0; m<a; i++)
  {
    m*=1.01;
  }
  cout << x;
}

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

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

int main() {
  int X;
  cin >> X;
  
  int A=100;
  int i = 0
  
  while(A < X){
    A += A/100;
    i++
  }
  
  cout << i+1 << endl;
    
}



Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: expected ',' or ';' before 'while'
   11 |   while(A < X){
      |   ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
 ll x;
  cin>>x;
  ll ans=x;
  int i=0;
  while(i<4000){
   ans/= 1.01 ;
    i++;
     if(ans<=100){
       cout<<a<<endl;
       return 0;
     }
  }
}


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

#include <iostream>
#include <string>

using std::cout;
using std::cin;
using std::endl;
using std::string;




int main(){
	int a,i,t,x;
	cin >> x;
	t=0;
	i=100;
	while(true){
		t++;
		i=(int)(i*1.01)
		if (x<=i){
			cout << t;
			return 0;
		}
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:32: error: expected ';' before 'if'
   19 |                 i=(int)(i*1.01)
      |                                ^
      |                                ;
   20 |                 if (x<=i){
      |                 ~~
Language: C

import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        long k = Long.parseLong(in.nextLine());
        // String[] tmp = in.nextLine().trim().split("\\s");
        // int a = Integer.parseInt(tmp[0]);
        // int b = Integer.parseInt(tmp[1]);
        in.close();
        int i = 0;
        long base = 100;
        while(base < k){
            long inc = (long)(base * 0.01);
            base += inc;
            i++;
        }
        System.out.println(i);
    }
}

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.*;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.*;
      |            ^
main.c:3:1: error: unknown type name 'public'
    3 | public class Main{
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main{
      |              ^~~~
Language: C++

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

ll n, m, ans;

inline ll read(){
	ll s = 0, w = 1;
	char ch = getchar();
	for (; ch < '0' || ch > '9'; ch = getchar()) w *= ch == '-' ? -1 : 1;
	for (; ch >= '0' && ch <= '9'; ch = getchar()) s = s * 10 + ch - '0';
	return s * w;
}

inline void work(){
	n = read();
	m = 101;
	for (ans = 1; m < n; ++ans, m += m * 0.01ll);
	printf("%lld\n", ans);
}

int main(){
	work();
	return 0;
}

Compiler output:
a.cc: In function 'void work()':
a.cc:18:46: error: unable to find numeric literal operator 'operator""ll'
   18 |         for (ans = 1; m < n; ++ans, m += m * 0.01ll);
      |                                              ^~~~~~
Language: C

#include <stdio.h>
int main(int argc, char *argv[]){
    int n = int(argv[1]);
    float poket = 100;
    int count = 0;
    while(poket <= n){
        poket += int(poket*0.01)
        count += 1
    }
    printf(count);
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:13: error: expected expression before 'int'
    3 |     int n = int(argv[1]);
      |             ^~~
main.c:7:18: error: expected expression before 'int'
    7 |         poket += int(poket*0.01)
      |                  ^~~
main.c:10:12: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 |     printf(count);
      |            ^~~~~
      |            |
      |            int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
 ll x;
  cin>>x;
  ll ans=x;
  while(int i<4000){
   ans/= 1.01 ;
    i++;
     if(ans<=100){
       cout<<a<<endl;
       return 0;
     }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected initializer before '<' token
    8 |   while(int i<4000){
      |              ^
a.cc:8:14: error: expected ')' before '<' token
    8 |   while(int i<4000){
      |        ~     ^
      |              )
a.cc:8:14: error: expected primary-expression before '<' token
Language: C++

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

int main() {
  long long int X;
  for(int i=0;i++){
    int N=100*(101/100)^i;
    if(N>=X){
      cout<<i<<endl;
      break;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:18: error: expected ';' before ')' token
    6 |   for(int i=0;i++){
      |                  ^
      |                  ;
Language: C++

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

int main() {
  int X;
  cin >> X;
  
  int A=100;
  
  for(int i = 0;A < X;i++){
    A += A/100;
  }
  
  cout << i+1 << endl;
    
}



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

#include<iostream>

int main() {
	double X;
	std::cin >> X;

	double okane = 100;
	int nen = 0;

	while (true) {
		okane += okane * 0.01;
		okane = floor(int(okane));
		nen++;
		if (okane >= X) {
			break;
		}
	}
	std::cout << nen << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: 'floor' was not declared in this scope
   12 |                 okane = floor(int(okane));
      |                         ^~~~~
Language: C

#include <stdio.h>
  
  int main(){
  int X,a;
   scanf("%d",&X);
  while(a >= X){
  a = X*1.01
  X = a
  }
  
   printf("%d",a);
  }

Compiler output:
main.c: In function 'main':
main.c:7:13: error: expected ';' before 'X'
    7 |   a = X*1.01
      |             ^
      |             ;
    8 |   X = a
      |   ~
Language: C

#include <stdio.h>
main(){
    double k =100;
    double N;
    int a,b ;
    b=0;
    scanf("%d",&a);
    while(N >= a){
        b+=1;
        if(b = 0){
            N = k +(fmod(k * 1.01), 100);
        } else {
        N =N+(fmod(N * 1.01),100);
        }
    }
    return b;
}



Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:11:21: error: implicit declaration of function 'fmod' [-Wimplicit-function-declaration]
   11 |             N = k +(fmod(k * 1.01), 100);
      |                     ^~~~
main.c:2:1: note: include '<math.h>' or provide a declaration of 'fmod'
    1 | #include <stdio.h>
  +++ |+#include <math.h>
    2 | main(){
main.c:11:21: warning: incompatible implicit declaration of built-in function 'fmod' [-Wbuiltin-declaration-mismatch]
   11 |             N = k +(fmod(k * 1.01), 100);
      |                     ^~~~
main.c:11:21: note: include '<math.h>' or provide a declaration of 'fmod'
main.c:11:21: error: too few arguments to function 'fmod'
main.c:13:15: warning: incompatible implicit declaration of built-in function 'fmod' [-Wbuiltin-declaration-mismatch]
   13 |         N =N+(fmod(N * 1.01),100);
      |               ^~~~
main.c:13:15: note: include '<math.h>' or provide a declaration of 'fmod'
main.c:13:15: error: too few arguments to function 'fmod'
Language: C++

#include<cstdio>
int main(){
	long long x;
	scanf("%lld",&x);
	int year=0;
	long long my=100;
	while(1){
		my = (long long)(my*1.01)
		year++;
		if(my > x) {
			printf("%d",year);
			return 0;
		}
	}
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:42: error: expected ';' before 'year'
    8 |                 my = (long long)(my*1.01)
      |                                          ^
      |                                          ;
    9 |                 year++;
      |                 ~~~~
Language: Java

import java.util.Scanner;

public class Sample {
    public static void main(String[] args) {
        var scaner = new Scanner(System.in);
        var x = Long.parseLong(scaner.nextLine());

        var deposit = 100l;
        var interest = 0.01;
        
        int year = 0;
        while(deposit < x) {
            deposit += deposit*interest;
            year++;
        }
        System.out.println(year);
    }
}

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

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

int main() {
  int X;
  double a=100;
  for (int i=0;i<18;i++){
    if(X>a){
      a *= 1.01;
    }
    else{
      break;
    }
    cout << i << endl;
}


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

#include<iostream>
#include<cmath>
#include<numeric>
#include<functional>
#include<string>
#include<algorithm>
#include<vector>
#include<map>
#include<iomanip>
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<n;i++)
#define ll long long
using namespace std;

int main(){
  long double x;
  cin>>x;
  long double s=log10(x)
  long double a=log10(101);
  cout<<(ll)ceil((s-2)/(a-2));
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:3: error: expected ',' or ';' before 'long'
   19 |   long double a=log10(101);
      |   ^~~~
a.cc:20:25: error: 'a' was not declared in this scope
   20 |   cout<<(ll)ceil((s-2)/(a-2));
      |                         ^
Language: C++

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

int main() {
  int X;
  cin >> X;
  
  int A=100;
  
  for(int i = 0;A < X;i++){
  　A += A/100;
  }
  
  cout << i+1 << endl;
    
}



Compiler output:
a.cc:11:3: error: extended character 　 is not valid in an identifier
   11 |   　A += A/100;
      |   ^
a.cc: In function 'int main()':
a.cc:11:3: error: '\U00003000A' was not declared in this scope
   11 |   　A += A/100;
      |   ^~~
a.cc:14:11: error: 'i' was not declared in this scope
   14 |   cout << i+1 << endl;
      |           ^
Language: Java

import java.util.Scanner;
class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    double targ = scan.nextDouble();
    double first = 100.0;
    double rate = 1.01;
    int i = 100;
    int goal = 0;
    while (i <= targ){
      i*=rate;
      int i=Math.ceil(i);
      goal++;
    }
    System.out.println(goal);
  }
}


Compiler output:
Main.java:12: error: variable i is already defined in method main(String[])
      int i=Math.ceil(i);
          ^
Main.java:12: error: incompatible types: possible lossy conversion from double to int
      int i=Math.ceil(i);
                     ^
2 errors
Language: C++

#include <iostream>
using namespace std;

int main() {
	long long unsigned int x;
	cin >> x;
	long long unsigned start = 100;
	for(int it = 1;  ;it++){
	    start = start + start/100;
	    if(start >= x){
	        cout << it;
	        break;
	    }
	}


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