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

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int X = sc.nextInt();
        long long money=100;
      	int s=0;
        
        
        while(money<X){
        	money+=money/100;
        	s++;
        }
		System.out.println(s);
		
	}
}

Compiler output:
Main.java:7: error: not a statement
        long long money=100;
        ^
Main.java:7: error: ';' expected
        long long money=100;
            ^
2 errors
Language: C++

#include<iostream>
using nemespace std;

int main(){
 
  int X, money, count;
  money = 100;
  count = 0;
  cin >> X;
  
  while(true){
    if(money >= X)
      break;
    else{
      money *= 1.01;
      count++;
    }
  }
  cout << count << endl;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nemespace'
    2 | using nemespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |   cin >> X;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:19:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |   cout << count << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:19:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   19 |   cout << count << endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int X = sc.nextInt();
        double money=100;
      　int s=0;
        
        
        while(money<X){
        	money+=money/100;
        	s++;
        }
		
		
	}
}

Compiler output:
Main.java:8: error: illegal character: '\u3000'
      ?int s=0;
      ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int X = sc.nextInt();
        double money=100;
      　int step=1;
        
        
        while(money<X){
        	money=money+money/100;
        	step=step+1;
        }
		
		
	}
}

Compiler output:
Main.java:8: error: illegal character: '\u3000'
      ?int step=1;
      ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int X = sc.nextInt();
        double money=100;
      　int step=1;
        
        
        while(money<X){
        	money+=money/100;
        	step++;
        }
		
		
	}
}

Compiler output:
Main.java:8: error: illegal character: '\u3000'
      ?int step=1;
      ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int X = sc.nextInt();
        int money=100;
        
        for(int i=1;i<100000000000000000;i++){
        money=money*1.01;
        i=i+1;
        if(money>=X){
        break;
        }
        }
		
		
	}
}

Compiler output:
Main.java:9: error: integer number too large
        for(int i=1;i<100000000000000000;i++){
                      ^
1 error
Language: C++

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

int X;

long long main(){
    cin>>X;
    long long a=100;
    for(int i=0;;i++){
        a=a*1.01;
        if(a>=X){
            printf("%d",i+1);
            return 0;
        }
    }
}

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

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

int X;

int main(){
    cin>>X;
    int a=100;
    for(int i=0;;i++){
        a=a*1.01;
        if(a>X){
            printf("%d",i);
            return;
        }
    }
}

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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
	double n=100,k;
	int d,s=0;
	cin>>d;
	while(n<d)
	{
		n*=1.01;
		k=n%1;
		n-=k;
		if(k>=0.5)
		{
			n++;
		}
		s++;
	}
	cout<<s;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:20: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   12 |                 k=n%1;
      |                   ~^~
      |                   | |
      |                   | int
      |                   double
Language: C

#include <stdio.h>

int main(){
long long a,x,i;
scanf("%lld",&x);
  a=100;
  for(i=1;a<x;i++;){
  a*=1.01;
  } 
  printf("%lld",i);
  }












}

Compiler output:
main.c: In function 'main':
main.c:7:18: error: expected ')' before ';' token
    7 |   for(i=1;a<x;i++;){
      |      ~           ^
      |                  )
main.c: At top level:
main.c:24:1: error: expected identifier or '(' before '}' token
   24 | }
      | ^
Language: C

#include <stdio.h>

int main(){
long long a,x,i;
scanf("%lld",&x);
  a=100;
  for{i=1;a<x;i++;}{
  a*=1.01
  } 
  printf("%lld",i);
  }












}

Compiler output:
main.c: In function 'main':
main.c:7:6: error: expected '(' before '{' token
    7 |   for{i=1;a<x;i++;}{
      |      ^
      |      (
main.c:8:10: error: expected ';' before '}' token
    8 |   a*=1.01
      |          ^
      |          ;
    9 |   }
      |   ~       
main.c: At top level:
main.c:24:1: error: expected identifier or '(' before '}' token
   24 | }
      | ^
Language: C++

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

int main()
{
  long x,p=100;
  cin>>x;
  while(p<=x)
  {
    p+=p/100;
    step++;
  }
  cout<<step<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'step' was not declared in this scope; did you mean 'strsep'?
   11 |     step++;
      |     ^~~~
      |     strsep
a.cc:13:9: error: 'step' was not declared in this scope; did you mean 'strsep'?
   13 |   cout<<step<<endl;
      |         ^~~~
      |         strsep
Language: C++

#include<bits/stdc++.h>
#define pb push_back
#define pf push_front
#define re(i , n) for(Long i = 0; i < (Long)n ; i++)
#define rer(i, a, b) for (Long i = a, to = b; i < to; i++)
 
using namespace std;
typedef long long Long;
const Long MX=3700;
const Long MOD=1000000007;
const Long MX2=9223372036854775806;
 


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

Compiler output:
a.cc: In function 'int main()':
a.cc:19:5: error: 'A' was not declared in this scope
   19 |     A=100;
      |     ^
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    int targetPrice = scanner.nextInt();
    int basePrice = 100;
    
    int year = 0;
    
    while(basePrice <= targetPrice){
      basePrice = basePrice + basePrice * 0.01;
      year++;
    }
    
    System.out.println(year);
    
  }
}

Compiler output:
Main.java:11: error: incompatible types: possible lossy conversion from double to int
      basePrice = basePrice + basePrice * 0.01;
                            ^
1 error
Language: Java

import java.util.Scanner;
public class Main {
 
	public static void main(String[] args) {
		Scanner stdIn =new Scanner(System.in);
		int X =stdIn.nextInt();
		int Y=100;
		int i;
		
		for(i=0;Y<X;i++) {
			Y=(Y*1.01);
			Y=Y/1;
		}
		System.out.println(i);
		
		
	}
 
}

Compiler output:
Main.java:11: error: incompatible types: possible lossy conversion from double to int
			Y=(Y*1.01);
			    ^
1 error
Language: C++

using namespace std;
int main(){
    int i=0;
    double x,t=100.0;
    cin >> x;
    while(1){
        i++;
        t=floor(t*1.01);
        if(x <= t)break;
    }
    cout << i << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     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 | using namespace std;
a.cc:8:11: error: 'floor' was not declared in this scope
    8 |         t=floor(t*1.01);
      |           ^~~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << i << endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:18: error: 'endl' was not declared in this scope
   11 |     cout << 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 | using namespace std;
Language: C++

#include <iostream>
#include <cstdlib>
#include <cstdio>

int main()
{
    float interest = 0.01;

    long int startBalance = 100;

    long int targetBalance;

    std::cout << "What is the target of value? " << std::endl;

    std::cin >> targetBalance;

    int increament = targetBalance - startBalance; 
    int year = 0;
    while(targetBalance > startBalance)
    {
        year++;
        startBalance += startBalance*interest;
    }

    std::cout << year << std::endl;

    return 0;

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

int main(void){
    long x, y = 100;
    int i = 0;
    std::cin >> x;
    while(true){
        if(y >= x) break;
        y +=  y / 100;
        ++ i;
    }
    std::cout << i << std::endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'cin' is not a member of 'std'
    4 |     std::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 | int main(void){
a.cc:10:10: error: 'cout' is not a member of 'std'
   10 |     std::cout << i << std::endl;
      |          ^~~~
a.cc:10:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:28: error: 'endl' is not a member of 'std'
   10 |     std::cout << i << std::endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main(void){
Language: C++

int main(void){
    long x, y = 100;
    int i = 0;
    std::cin >> x;
    while(1){
        if(y >= x) break;
        y +=  y / 100;
        ++ i;
    }
    std::cout << i << std::endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'cin' is not a member of 'std'
    4 |     std::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 | int main(void){
a.cc:10:10: error: 'cout' is not a member of 'std'
   10 |     std::cout << i << std::endl;
      |          ^~~~
a.cc:10:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:28: error: 'endl' is not a member of 'std'
   10 |     std::cout << i << std::endl;
      |                            ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main(void){
Language: C++

#include <cstdio>
#include <cmath>
#include <limits>
#include <iostream>
#include <algorithm>
#include <vector>
#include <utility>
#include <cstring>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <numeric> // 最大公約数が使える
#define rep(i, s, g) for (i = s; i < g; i++)
using namespace std;
using ll = long long;
const int inf = 1000000000; //10^9

int main()
{
    ll X;
    cin >> X;
    ll A=100;
    ll ans=0;
    do{
        A*=1.01;
        ans++;
    }
    while (A<X)
    {
    }

    cout << ans << endl;
    
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:16: error: expected ';' before '{' token
   29 |     while (A<X)
      |                ^
      |                ;
   30 |     {
      |     ~
Language: C++

#include <cstdio>
#include <cmath>
#include <limits>
#include <iostream>
#include <algorithm>
#include <vector>
#include <utility>
#include <cstring>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <numeric> // 最大公約数が使える
#define rep(i, s, g) for (i = s; i < g; i++)
using namespace std;
using ll = long long;
const int inf = 1000000000; //10^9

int main()
{
    ll X;
    cin >> X;
    ll A=100;
    ll ans=0;
    do{
        A*=1.01;
        ans++;
    }while (A<=X)
    {
        A*=1.01;
        ans++;
    }

    cout << ans << endl;
    
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:18: error: expected ';' before '{' token
   28 |     }while (A<=X)
      |                  ^
      |                  ;
   29 |     {
      |     ~
Language: C++

#include <cstdio>
#include <cmath>
#include <limits>
#include <iostream>
#include <algorithm>
#include <vector>
#include <utility>
#include <cstring>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <numeric> // 最大公約数が使える
#define rep(i, s, g) for (i = s; i < g; i++)
using namespace std;
using ll = long long;
const int inf = 1000000000; //10^9

int main()
{
    ll >> X;
    ll A=100;
    ll ans=0;
    do{
        A*=1.01;
        ans++;
    }while (A<=X)
    {
        A*=1.01;
        ans++;
    }

    cout << ans << endl;
    
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:8: error: expected unqualified-id before '>>' token
   21 |     ll >> X;
      |        ^~
a.cc:27:16: error: 'X' was not declared in this scope
   27 |     }while (A<=X)
      |                ^
a.cc:27:18: error: expected ';' before '{' token
   27 |     }while (A<=X)
      |                  ^
      |                  ;
   28 |     {
      |     ~
Language: C++

#include <iostream>

using namespace std;

int main(){
    long X,deposit;
    cin >> X;
    long i = 0;
    deposit = 1;
    X 
    while(deposit < X){
        deposit *= 1.01;
        i++; 
    }

    cout << i << endl;
    return 0;
}

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

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

int main() {
  int X;
  cin >> X;
  int count = 0;
  int yen = 100;
  for (i = 0;i < X;i++) {
    count++;
    yen = yen * (101 / 100);
    if (yen >= X) {
      break;
    }
  }
  
  cout << count << endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'i' was not declared in this scope
    9 |   for (i = 0;i < X;i++) {
      |        ^
Language: Java

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		Scanner cin = new Scanner(System.in);
		long X = cin.nextLong();
		long deposit = 100,count = 0;
		
		while(deposit<X) {
			deposit += deposit/100;
			count++;
		}
		
		System.out.println(count);
		
		
		
	}

}


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

#include<iostream>
using namespace std;
main(){
	long long x;
	cin>>x;
	if(x-100<=100)cout<<x-100;
	else{
		long long  now=0,c=1;
		while(1){
			now=(ll)((double)now)*1.01;
			if(now==x){
				cout<<c;
				break;
			}
			c++;
		}
		
	}
}

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:10:30: error: 'll' was not declared in this scope
   10 |                         now=(ll)((double)now)*1.01;
      |                              ^~
Language: C++

#include <iostream>

using namespace std;

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

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

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

int main() {
int X; cin>>X;
  int Y=0; int L=100;
  while(L>=X){
 Y++;
    L+=(L/100)
  }
  cout<<Y<<endl;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before '}' token
    9 |     L+=(L/100)
      |               ^
      |               ;
   10 |   }
      |   ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x,i,a=100,tt=0;
	cin>>x;
	for(i=100;i<=x;i+=0)
	{
		i+=int(a/100);
		a+=int(a/100);
		tt++;
	}
	cout<<tt+1; 
	return 0;
}#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x,i,a=100,tt=0;
	cin>>x;
	for(i=100;i<=x;i+=0)
	{
		i+=int(a/100);
		a+=int(a/100);
		tt++;
	}
	cout<<tt+1; 
	return 0;
}

Compiler output:
a.cc:15:2: error: stray '#' in program
   15 | }#include<bits/stdc++.h>
      |  ^
a.cc:15:3: error: 'include' does not name a type
   15 | }#include<bits/stdc++.h>
      |   ^~~~~~~
a.cc:17:5: error: redefinition of 'int main()'
   17 | int main()
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x,i,a=100,tt=0;
	cin>>x;
	for(i=100;i<=x;i+=0)
	{
		i+=int(a/100);
		a+=int(a/100);
		tt++;
	}


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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
  ll x;
  cin >> x;
  ll res=100;
  ll ans=0;
  while(res>=x) {
    ll p=res/100;
    res+=p;
    ans++;
  }
  cout << ans << endl;
  retutn 0;
}
  
  

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

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

int main(){
    long long X;
    sin >> X;
    long long P = 100, step = 0;
    while(P < X){
        P += P/100;
        step++;
    }
    cout << step << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: invalid operands of types '<unresolved overloaded function type>' and 'long long int' to binary 'operator>>'
    6 |     sin >> X;
      |     ~~~~^~~~
Language: C++

#include<cstdio>
#include<cmath>
#include<iostream>
using namespace std;
int main()
{
    long long sum[60000],a,b;
    sum[0]=100;
    
    cin>>a;
    for(b=1;b<50000;b++)
    sum[b]=sum[b-1]*101/100;
    if(sum[b]>=a) break;
    printf("%d",b);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:19: error: break statement not within loop or switch
   13 |     if(sum[b]>=a) break;
      |                   ^~~~~
Language: C++

#include<iostream>
#include<cstdio>
#define ll long long
using namespace std;
int main()
{
	double m,st=100;
	int len=0;
	cin >> m;
	while (st <= m)
	{
		st = ll(st)*1.01;
		len++;
	}
	cout << len << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:12: error: expected primary-expression before 'long'
    3 | #define ll long long
      |            ^~~~
a.cc:12:22: note: in expansion of macro 'll'
   12 |                 st = ll(st)*1.01;
      |                      ^~
Language: C++

#include <bits/stdc++.h>

using namespace std;
#define ll long long int


int main()
{
    ll x;
    cin >> x;
    int cnt = 0;
    int amt = 100;
    while(1){f
        amt = amt + amt/100;
        cnt++;
        if(amt>=x) break;
    }
    cout << cnt << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:14: error: 'f' was not declared in this scope
   13 |     while(1){f
      |              ^
Language: C++

 #include <bits/stdc++.h>
 using namespace std;
 int main(){
 long long X;
 cin >> X;
 longlong P=100,step=0; while(P < X){
 P += P / 100;
 step++;
 }
 cout << step << endl;
 return 0;
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:6:2: error: 'longlong' was not declared in this scope
    6 |  longlong P=100,step=0; while(P < X){
      |  ^~~~~~~~
a.cc:6:31: error: 'P' was not declared in this scope
    6 |  longlong P=100,step=0; while(P < X){
      |                               ^
a.cc:8:2: error: 'step' was not declared in this scope; did you mean 'strsep'?
    8 |  step++;
      |  ^~~~
      |  strsep
a.cc:10:10: error: 'step' was not declared in this scope; did you mean 'strsep'?
   10 |  cout << step << endl;
      |          ^~~~
      |          strsep
Language: C++


 #include <bits/stdc++.h>
 using namespace std;
 int main(){
 long long X;
 cin >> X;
 longlongP=100,step=0; while(P < X){
 P += P / 100;
 step++;
 }
 cout << step << endl;
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:2: error: 'longlongP' was not declared in this scope
    7 |  longlongP=100,step=0; while(P < X){
      |  ^~~~~~~~~
a.cc:7:16: error: 'step' was not declared in this scope; did you mean 'strsep'?
    7 |  longlongP=100,step=0; while(P < X){
      |                ^~~~
      |                strsep
a.cc:7:30: error: 'P' was not declared in this scope
    7 |  longlongP=100,step=0; while(P < X){
      |                              ^
Language: C++

#include <stdio.h>
 int main(void) {
 intk,a,b;

 scanf("%d", &k);
    scanf("%d%d", &a, &b);

 intlargest=(b/k)*k;


Compiler output:
a.cc: In function 'int main()':
a.cc:3:2: error: 'intk' was not declared in this scope; did you mean 'int'?
    3 |  intk,a,b;
      |  ^~~~
      |  int
a.cc:3:7: error: 'a' was not declared in this scope
    3 |  intk,a,b;
      |       ^
a.cc:3:9: error: 'b' was not declared in this scope
    3 |  intk,a,b;
      |         ^
a.cc:5:15: error: 'k' was not declared in this scope
    5 |  scanf("%d", &k);
      |               ^
a.cc:8:2: error: 'intlargest' was not declared in this scope
    8 |  intlargest=(b/k)*k;
      |  ^~~~~~~~~~
a.cc:8:21: error: expected '}' at end of input
    8 |  intlargest=(b/k)*k;
      |                     ^
a.cc:2:17: note: to match this '{'
    2 |  int main(void) {
      |                 ^
Language: C

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

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


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

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long X = sc.nextInt();
		sc.close();
		double s=100;
		int k=0;
		while(s<X) {
			s+=s*0.01;
			k++;
		}
		System.out.println(k);
	}

}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: 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;
int main()
{
long long k,a,;
cin>>k;
a=k/100;
cout<<a<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: expected unqualified-id before ';' token
    5 | long long k,a,;
      |               ^
Language: C++

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

int main() {
  ll X;
  ll a= 100;
  ll ans = 0;
  cin >> X;
  while(a<= X){
    a+= a /100
    ans++;
    if(a>= X){
      cout << ans;
      return 0;
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: expected ';' before 'ans'
   12 |     a+= a /100
      |               ^
      |               ;
   13 |     ans++;
      |     ~~~
Language: C++

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

int main() {
  ll X;
  ll a= 100;
  ll ans = 0;
  cin >> X;
  while(a<= X){
    b+= b /100
    ans++;
    if(a>= X){
      cout << ans;
      return 0;
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: 'b' was not declared in this scope
   12 |     b+= b /100
      |     ^
Language: Java

package project;
import java.util.Scanner;
public class b0502 {

	public static void main(String[] args) {
		Scanner stdIn =new Scanner(System.in);
		int X =stdIn.nextInt();
		int Y=100;
		int i;
		
		for(i=0;Y<X;i++) {
			Y=(int) (Y*1.01);
			Y=Y/1;
		}
		System.out.println(i);
		
		
	}

}


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

あｌふぁｇｊｌｇｊ

Compiler output:
a.cc:1:1: error: '\U00003042\U0000ff4c\U00003075\U00003041\U0000ff47\U0000ff4a\U0000ff4c\U0000ff47\U0000ff4a' does not name a type
    1 | あｌふぁｇｊｌｇｊ
      | ^~~~~~~~~~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int X;
  cin>>X;
  int N=100;
  int ans-0;
  while(N>=X){
    X+=X/100;
    ans++;
  }
  cout<<ans<<endl;
}
  
    

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected initializer before '-' token
    8 |   int ans-0;
      |          ^
a.cc:11:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |     ans++;
      |     ^~~
      |     abs
a.cc:13:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   13 |   cout<<ans<<endl;
      |         ^~~
      |         abs
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <cmath>
using namespace std;
typedef long long ll;
int main() {
    long double x;
    cin >> x;
    // 結果がオーバーフローするためllにする必要がある
    ll sum = 100;
    // logで式変形しながらやろうとした時のコード
    // int n = log(x/100)/log(1.01);
    // int i = 1;
    // cout << n+58 << endl;
    // cout << (ll)100*pow(1.01,n) << endl;

    // 後で思いついた時のコード
    // int i = 1;
    // while (1) {
    //     sum*=1.01;
    //     if (sum>x){
    //         cout << i << endl;
    //         cout << sum << endl;
    //         return 0;
    //     }
    //     i++;
    // }
    // return 0;

    // 回答
    // 切り捨てにしなければならない
    // 掛け算なのでオーダー的には
    // O(log(n))
    ll x;
    cin >> x;
    ll ans = 0, a = 100;
    while (a < x) {
        a += a/100;
        ++ans;
    }
    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:8: error: conflicting declaration 'll x'
   35 |     ll x;
      |        ^
a.cc:8:17: note: previous declaration as 'long double x'
    8 |     long double x;
      |                 ^
Language: C++

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

int main(){
    int X;
    cin >> X;
    int money = 100;
    while(money < X){
        money *= 1.01
    }
}

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

#include<iostream>
using namespace std;

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


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

#include <bits/stdc++.h>
#include <cmath>

using namespace std;

#define REP(i,n)	for(int i=0, i##_len=(n); i<i##_len; ++i)
#define REPS(i,s,n)	for(int i=(s), i##_len=(n); i<i##_len; ++i)

#define ALL(obj)	(obj).begin(),(obj).end()
#define sz(x) (int)(x).size()
#define v(T) vector<T>
#define VEC vector

typedef unsigned int 			uint;
typedef unsigned long long int	ull;
typedef long long int 			ll;

typedef pair<int,int>			P;
typedef vector<int>				Vint;
typedef vector<Vint>			VV;

template<typename T>string join(const v(T)&v)
{stringstream s;REP(i,sz(v))s<<' '<<v[i];return s.str().substr(1);}
template<typename T>inline ostream& operator<<(ostream&o,const v(T)&v)
{if(sz(v))o<<join(v);return o;}

#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define MAX 		100010

const ll LINF = (ll)9e18+7;		//
const int INF = 100100100;			//2,147,483,647 (Max int)
const ll MOD = 1e9+7;
// テンプレ終了
//====================================================================//

// int DP[MAX];

//
int main(){
	ll a;cin >> a;

	ll t = 100;

	int cnt = 0;
	while(t < a){
		t += (ll)t/100;
		cnt ++ ;
		// cout << cnt << "\t" << t << endl;
	}

	cout << cnt << endl;	

	return 0;
}
 



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

#include <bits/stdc++.h>
using namespace std;
int main(){
  double x;
  cin>>x;
  double X=x/100;
  double c=1;
  for(int i=1;i<5000;i++){
    c*=1.01;
    if(c>=X){
      cout<<i<<endl;
      break;
  }
}
  

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

#include <bits/stdc++.h> 
#include <ext/pb_ds/assoc_container.hpp> 
#include <ext/pb_ds/tree_policy.hpp> 
#include<cmath>
#define pb push_back
#define ll long long
#define ull unsigned long long
#define deb(x) cerr<<#x<<" "<<x<<"\n"
#define debi cerr<<"hey sparky\n"
#define x first
#define y second
#define fast ios::sync_with_stdio(0),cin.tie(0),cout.tie(0)
#define newline cout<<"\n"
#define yes cout<<"Yes"<<"\n"
#define no cout<<"No"<<"\n"
#define INF (ll)1e14+5
#define nax (ll)5e4+3
#define eps (double)1e-9
#define all(x) x.begin(),x.end()
#define MAX_N 3005
using namespace std;
using namespace __gnu_pbds; 
typedef tree<int, null_type,less<int>, rb_tree_tag,tree_order_statistics_node_update> pdbs;
// look for  all edge cases
//search for a pattern




int main(){
	fast;
	ll x;
	cin >> x;
	ll a = 100;
	//ll in = 1;
	ll ans =0;
	while(a < x){
		ans++;
		a = a + 1*(a/100);
	}
	cout<<ans;
 	
	return 0;
}

	


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

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

int main(){
	ll n;
	ll now=100,ans=0;
	while(1){
		now+=now/100;
		ans++;
		if(now>=n){
			cout<<ans<<endl;
			return 0
		}
	}
	return 0;
}


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

#include <iostreaam>
using namespace std;
int main() {
  unsigned int t;
  cin >> t;
  unsigned int i = 0;
  unsigned int base = 100;
  while(base < t) {
    base *= 1.01;
    i++;
  }
  cout << i << "\n";
  return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
 int z;
 cin >> z;
 int x=100;
 int cnt=0;
 for(int i=0; ; i++){
 x*=1.01x;
   cnt++;
 if(x>z) break;
 }
 cout << cnt << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: unable to find numeric literal operator 'operator""x'
   10 |  x*=1.01x;
      |     ^~~~~
Language: C++

#include<Bits/stdc++.h>
using namespace std;
int main()
{
  long long x,i,j,k;
  cin>>x;
  k=100;i=0;
  while(k<x)
  {
    k+=k/100;
    i++;
  }
  cout<<i;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  long X;
  int y = 0;
  cin >> X;
  long long M = 100;
  while(M < X){
    P += P/100;
    y++;
  }
  cout << y << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'P' was not declared in this scope
   10 |     P += P/100;
      |     ^
Language: C++



int main{
  long  X;
  int y = 0;
  cin >> X;
  long long M = 100;
  while(P<X){
    P += P/100
      y++
  }
  cout << y << endl;
  return 0;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main{
      |     ^~~~
a.cc:4:3: error: expected primary-expression before 'long'
    4 |   long  X;
      |   ^~~~
a.cc:4:3: error: expected '}' before 'long'
a.cc:3:9: note: to match this '{'
    3 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> X;
      |   ^~~
a.cc:8:3: error: expected unqualified-id before 'while'
    8 |   while(P<X){
      |   ^~~~~
a.cc:12:3: error: 'cout' does not name a type
   12 |   cout << y << endl;
      |   ^~~~
a.cc:13:3: error: expected unqualified-id before 'return'
   13 |   return 0;
      |   ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

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

int main{
  long  X;
  int y = 0;
  cin >> X;
  long long M = 100;
  while(P<X){
    P += P/100
      y++
  }
  cout << y << endl;
  return 0;
}
  
  
  

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'long'
    5 |   long  X;
      |   ^~~~
a.cc:5:3: error: expected '}' before 'long'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin >> X;
      |   ^~~
a.cc:9:3: error: expected unqualified-id before 'while'
    9 |   while(P<X){
      |   ^~~~~
a.cc:13:3: error: 'cout' does not name a type
   13 |   cout << y << endl;
      |   ^~~~
a.cc:14:3: error: expected unqualified-id before 'return'
   14 |   return 0;
      |   ^~~~~~
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
Language: C++

#include <iostream>

using namespace std;


int main(int argc, char **argv)
{
	int a;
	cin >> a;
	long long b = 100; step = 0;
	while(b < a){
		b += b /100;
		step++;
	}
	
	
	
	
	
	 cout << step;
     return 0;
}


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:10:28: error: 'step' was not declared in this scope
   10 |         long long b = 100; step = 0;
      |                            ^~~~
Language: C++

#include <iostream>

using namespace std;


int main()
{
	int a;
	cin >> a;
	long long b = 100, int step = 0;
	while(b < a){
		b += b /100;
		step++;
	}
	
	
	
	
	
	 cout << step;
     return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: expected unqualified-id before 'int'
   10 |         long long b = 100, int step = 0;
      |                            ^~~
a.cc:13:17: error: 'step' was not declared in this scope
   13 |                 step++;
      |                 ^~~~
a.cc:20:18: error: 'step' was not declared in this scope
   20 |          cout << step;
      |                  ^~~~
Language: Java

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

public class P1 {

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long target = sc.nextLong();
		long base=100;
		int counts=0;
		while(base<target) {
			base+= (base/100);
			counts++;
		}
		System.out.println(counts);
	}

	static class Pair {
		int x;
		int y;

		public Pair(int x, int y) {
			this.x = x;
			this.y = y;
		}

	}

	static class Scanner {
		StringTokenizer st;
		BufferedReader br;

		public Scanner(InputStream s) {
			br = new BufferedReader(new InputStreamReader(s));
		}

		public Scanner(String file) throws FileNotFoundException {
			br = new BufferedReader(new FileReader(file));
		}

		public String next() throws IOException {
			while (st == null || !st.hasMoreTokens())
				st = new StringTokenizer(br.readLine());
			return st.nextToken();
		}

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

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

		public String nextLine() throws IOException {
			return br.readLine();
		}

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

		public boolean ready() throws IOException {
			return br.ready();
		}

	}
}


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

#include <iostream>

using namespace std;

#define FOR(x,z,n) for(int x=z;x<n;x++)
#define mp make_pair
typedef long long ll;
typedef pair<int, int> iPair;

int main() {
	ll x;
	ll years = 1, temp = 100;
	cin >> x;
	while (true){
		temp *= 1.01;
		if (temp >= x) break;
		years++;
	}
	cout << years;
}

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

#include<iostream>
#define ll long long
using namespace std;


int main()
{
  ll x;
  cin>>x;
  ll p = 100;
  ll cnt=0;
  while(p<x)
  {
    p = p*(1.01);
    cnt++;
  }
  cout<<cnt<<endl;
    
  

Compiler output:
a.cc: In function 'int main()':
a.cc:17:19: error: expected '}' at end of input
   17 |   cout<<cnt<<endl;
      |                   ^
a.cc:7:1: note: to match this '{'
    7 | {
      | ^
Language: C

#include <bits/stdc++.h>
#include <iostream>

using namespace std;

#define FOR(x,z,n) for(int x=z;x<n;x++)
#define mp make_pair
typedef long long ll;
typedef pair<int, int> iPair;

int main() {
	ll x;
	ll years = 1, temp = 100;
	cin >> x;
	while (true){
		temp *= 1.01;
		if (temp >= x) break;
		years++;
	}
	cout << years;
}

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

#include<bits/stdc++.h>
using namespace std;
 
int main(){
	long int t=0,p=100;
  	long int x;
  	cin>>x;
  	while(p<x){
      	p+=p/100
    	t++;
    }
  	cout<<t<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before 't'
    9 |         p+=p/100
      |                 ^
      |                 ;
   10 |         t++;
      |         ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main(){
	long int t=0,p=100;
  	long int x;
  	cin>>x;
  	while(p<x){
      	p=+p/100
    	t++;
    }
  	cout<<t<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before 't'
    9 |         p=+p/100
      |                 ^
      |                 ;
   10 |         t++;
      |         ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    long long n,c=0 ; cin >> n;
    long long  p = 100 ;
    while (p < n )
    {
        p = floor(1.01*p);
        c++;
    }
    cout<<c<<hmm ;
}


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

#include<iostream>
using namespace std;
int main(void) {
  double x;
  cin >> x;
  double a = 100;
  cout << log1.01(x/100) << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'log1' was not declared in this scope
    7 |   cout << log1.01(x/100) << endl;
      |           ^~~~
Language: C++

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

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

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

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

#include<iostream>
#include<vector>
using namespace std;
int main(){
  int x,i=1,count=0;
  cin>>x;
  while(1){
    
    if(100(1+0.01*i)>=x) break;
    i++;
    count++;
  }
  cout<<count<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expression cannot be used as a function
    9 |     if(100(1+0.01*i)>=x) break;
      |        ~~~^~~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
 int X;
 cin >> X;
 int m = 100;
 int a;
 for(int i=1;;i++) {
   m = m + m / 100
   if (m >= X) {
     a = i;
     break;
   }
 }
   cout << a << endl;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: expected ';' before 'if'
    9 |    m = m + m / 100
      |                   ^
      |                   ;
   10 |    if (m >= X) {
      |    ~~
Language: C++

#include <math.h>
#include <algorithm>  //sort,二分探索,など
#include <array>
#include <bitset>         //固定長bit集合
#include <cmath>          //pow,logなど
#include <complex>        //複素数
#include <deque>          //両端アクセスのキュー
#include <functional>     //sortのgreater
#include <iomanip>        //setprecision(浮動小数点の出力の誤差)
#include <iostream>       //入出力
#include <map>            //map(辞書)s
#include <numeric>        //iota(整数列の生成),gcdとlcm(c++17)
#include <queue>          //キュー
#include <set>            //集合
#include <stack>          //スタック
#include <string>         //文字列
#include <unordered_map>  //イテレータあるけど順序保持しないmap
#include <unordered_set>  //イテレータあるけど順序保持しないset
#include <utility>        //pair
#include <vector>         //可変長配列

using namespace std;
typedef long long ll;

#define REP(i, n) for (ll i = 0; i < (ll)(n); i++)
#define REPD(i, n) for (ll i = (ll)(n)-1; i >= 0; i--)
#define FOR(i, a, b) for (ll i = (a); i <= (b); i++)
#define FORD(i, a, b) for (ll i = (a); i >= (b); i--)
#define ALL(x) (x).begin(), (x).end()  // sortなどの引数を省略したい
#define SIZE(x) ((ll)(x).size())  // sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x))
#define MAX(a, b)
#define INF 1000000000000
#define MOD 10000007
#define PB push_back
#define MP make_pair
#define F first
#define S second

int main() {
  ll x;
  cin >> x;
  for (int i = 0; i <= 3760; ++i) {
    ll p = 100;
    ll count = 0;
    while (p < x) {
      p += p / 100;
      count++;
    }
    cout << count << endl;
    return 0;
  }

Compiler output:
a.cc:32:9: warning: "MAX" redefined
   32 | #define MAX(a, b)
      |         ^~~
a.cc:31:9: note: this is the location of the previous definition
   31 | #define MAX(x) *max_element(ALL(x))
      |         ^~~
a.cc: In function 'int main()':
a.cc:52:4: error: expected '}' at end of input
   52 |   }
      |    ^
a.cc:40:12: note: to match this '{'
   40 | int main() {
      |            ^
Language: Java

public class main {
	public static void main(String[] args) {


		int motode = 100;
		int i=0;


		int mokuhyo = Integer.parseInt(args[0]);
		while(mokuhyo>motode){

			motode= (int) Math.floor(motode*1.01);

					++i	;
		}
		System.out.println(i);
	}


Compiler output:
Main.java:17: error: reached end of file while parsing
	}
	 ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
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; }
#define all(x) (x).begin(),(x).end()
#define pll pair<ll,ll>
#define pii pair<int,int>
#define rep(i,n) for(int i=0;i<n;i++)
#define For(i,a,b) for(int i=a;i<b;i++)
#define sz(x) ((ll)(x).size())
#define pb push_back
#define mp make_pair
#define bit(n) (1LL<<(n))
#define F first
#define S second
#define debug(x) cerr << x << endl
#define Complex complex<double>
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};
const ll INF = 1LL<<60;
const ll mod = (int)1e9 + 7;

int main() {
    ll now=100;
    ll x;
    cin >> x;
    rep(i,n){
        if(now>=x){
            cout << i;
            return 0;
        }
        now*=1.01;
    }


    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:11: error: 'n' was not declared in this scope
   28 |     rep(i,n){
      |           ^
a.cc:9:32: note: in definition of macro 'rep'
    9 | #define rep(i,n) for(int i=0;i<n;i++)
      |                                ^
Language: C++

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

int main(){
    long long int X;
    cin >> X;

    long long int count = 0;
    long long int total = 100;
    
    for(int i=0;;i++) {
        count += 1;
        total = (total*101)/100;
        if(total>=X){
            break;
        }
    }

    cout << count << endl;


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

#include <bits/stdc++.h>
#include <fstream>
#include <cstdio>
using namespace std;
// vector<pair<int,int> > v;
// cin.ignore();//twice getline(cin,s);
// g++ iterator.cpp -std=c++17
// cout<<(A + B == C ? "YES" : "NO")<<endl;
// __gcd(a,b)
// string s=to_string(i);
// sort(arr, arr+n, greater<int>());
// const long double pi = acos(-1.0);
#define ff first
#define ss second
#define pb push_back
#define mk make_pair
#define vll vector<ll>
#define mll map<ll,ll >
#define mlli map<ll,ll>::iterator
#define size size()
#define endl "\n"
#define ll long long int
#define ld long double
void fast(){ios_base::sync_with_stdio(false);
cin.tie(NULL);cout.tie(NULL);}



	int main(void)
	{
		fast();
		ll x;
		cin>>x;
		ll c=0;
		ll an = 100;
		while(1)
		{
			if(an<x)
			{
				an=an+(an*double(1/100);
				c++;
			}
			else
			{
				break;
			}
		}
	    cout<<c<<endl;
	    return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:40:56: error: expected ')' before ';' token
   40 |                                 an=an+(an*double(1/100);
      |                                       ~                ^
      |                                                        )
Language: C++

#include <bits/stdc++.h> 
using namespace std; 
int main(){ 
long long X;
cin >> X;
long long P = 100, step = 0;
while(P < X){ 
    P += P / 100;
    step++; 10 }
    cout << step << endl;
    return 0;
    }

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

#include <bits/stdc++.h>
using namespace std;
int main(void){
  int x;
  cin>>x;
  int k=100;
  int i = 0;
  while(1){
    i++;
    k*=1.01;
    if(x<=k){
      cout<<i<<endl;
      break;
    }
  }
}


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

import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner s = new Scanner(System.in);
    int k = s.nextInt();
    int a = 100;
    int i = 0;
    while(a >= k){
      a = a * 1.01;
      i++;
    }
    System.out.println(i);
  }
    
}

Compiler output:
Main.java:9: error: incompatible types: possible lossy conversion from double to int
      a = a * 1.01;
            ^
1 error