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);
    long x =sc.nextLong();
    double y=(Math.log10(x)-2)/log10(1.01);
    for(int i=0;i<18;i++){
      if(i>=y-1){System.out.println(i);System.exit(0);}
    }
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    double y=(Math.log10(x)-2)/log10(1.01);
                               ^
  symbol:   method log10(double)
  location: class Main
1 error
Language: C++

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



int main(){
	
	
	ll n;
	cin>>n;
	ll p = 100;
	ll t=0;
	while(p<n){
		p = p + p/100;
		t++;
	}
	cout<<t<<endl;

	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'll' was not declared in this scope
    9 |         ll n;
      |         ^~
a.cc:10:14: error: 'n' was not declared in this scope; did you mean 'yn'?
   10 |         cin>>n;
      |              ^
      |              yn
a.cc:11:11: error: expected ';' before 'p'
   11 |         ll p = 100;
      |           ^~
      |           ;
a.cc:12:11: error: expected ';' before 't'
   12 |         ll t=0;
      |           ^~
      |           ;
a.cc:13:15: error: 'p' was not declared in this scope
   13 |         while(p<n){
      |               ^
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<<endl;
      |               ^
      |               tm
Language: C


// Problem : B - 1%
// Contest : AtCoder - AtCoder Beginner Contest 165
// URL : https://atcoder.jp/contests/abc165/tasks/abc165_b
// Memory Limit : 1024 MB
// Time Limit : 2000 ms
// Powered by CP Editor (https://github.com/cpeditor/cpeditor)

#include <bits/stdc++.h>
using namespace std;
vector<string>vec_splitter(string s){s+=',';vector<string>res;while(!s.empty()){res.push_back(s.substr(0,s.find(',')));s=s.substr(s.find(',')+1);}
return res;}
void debug_out(vector<string>__attribute__((unused))args,__attribute__((unused))int idx,__attribute__((unused))int LINE_NUM){cerr<<endl;}
template<typename Head,typename...Tail>void debug_out(vector<string>args,int idx,int LINE_NUM,Head H,Tail...T){if(idx>0)cerr<<", ";else cerr<<"Line("<<LINE_NUM<<") ";stringstream ss;ss<<H;cerr<<args[idx]<<" = "<<ss.str();debug_out(args,idx+1,LINE_NUM,T...);}
#define XOX
#ifdef XOX
#define debug(...) debug_out(vec_splitter(#__VA_ARGS__), 0, __LINE__, __VA_ARGS__)
#else
#define debug(...) 42
#endif
#define ll          long long
#define ld          long double
#define ull         unsigned long long
#define pb          push_back
#define pii         pair<int,int>
#define pll         pair<long,long>
#define vi          vector<int>
#define vll         vector<ll>
#define vii         vector<pii>
#define Mi          map<int,int>
#define mii         map<pii,int>
#define all(a)      (a).begin(),(a).end()
#define rall(a)      (a).rbegin(),(a).rend()
#define ff           first
#define ss           second
#define sz(x)       (int)x.size()
#define endl        '\n'
#define mod        1000000007
//#define mod        998244353
#define rep(i,a,b)  for(int i=a;i<b;i++)
#define rem(i,a,b)  for(int i=a;i>b;i--)
#define mp(a,b)     make_pair(a,b)
#define INF         numeric_limits<ll>::max();
#define NINF        numeric_limits<ll>::min();
#define vvi(a,b,name)    vector<vector<int>> name(a,vector<int>(b,-1))
#define vvd(a,b,name)    vector<vector<double>> name(a,vector<double>(b,-1))
//const ld pi=3.14159265359;
inline ll add(ll a,ll b,ll m){
    if((a+b)>=m)return (a+b)%m;
    return a+b;
}
inline ll mul(ll a,ll b,ll m){
    if((a*b)<m)return a*b;
    return (a*b)%m;
}

void solve(){
	vector<ll> ci;
	double p=100;
	double r=1.01;
	rep(i,0,3765){
		p*=r;
		p=floor(p);
		ci.pb(p);
		
	}
	ll x;cin>>x;
	int ans=lower_bound(all(ci),x)-ci.begin();
	cout<<ans+1<<endl;

}

int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    long t=1;
    //cin>>t;
    while(t--){
        solve();
    }
    return 0;
}


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

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

int main() {
  int year=0;
  double yen = 100,X;
  cin >> X;
  while(yen <= X){
    yen *= 0.01
    year++;
  }
  cout << year <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before 'year'
    9 |     yen *= 0.01
      |                ^
      |                ;
   10 |     year++;
      |     ~~~~
Language: C

#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
using namespace std;
typedef long long ll;

void Main()
{
  ll x;
  cin >> x;
  
  
  int count = 0;
  ll mint = 100;
  
  while(mint < x){
    mint = mint *1.01;
    
    count++;
  }
  
  printf("%d", count);
}

int main()
{
  std::cout << std::fixed << std::setprecision(15);
  Main();
}

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

ublic class Main {

	public static void main(String[] args) {

		java.util.Scanner scan = new java.util.Scanner(System.in);
	
	
		int x = scan.nextInt();
		int m = 100;
		
		for(int i = 1 ; m < x; i++) {
			m = m/100+m;
			if (m >= x) {
				System.out.println(i);
			}
		}

	}

}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
ublic class Main {
^
1 error
Language: C

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef long long ll;

int main()
{
	ll X;
	scanf("%lld", &X);
	ll a = 100;
	ll i = 0;
	while (a < X)
	{
		a = ((ll)a*1.01);
		i++;
	}
	printf("%lld %lld",i)
	return (0);
}


Compiler output:
main.c: In function 'main':
main.c:17:30: error: expected ';' before 'return'
   17 |         printf("%lld %lld",i)
      |                              ^
      |                              ;
   18 |         return (0);
      |         ~~~~~~
Language: C

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef long long ll;

int main()
{
	ll X;
	scanf("%lld", &X);
	ll a = 100;
	ll i = 0;
	while (a < X)
	{
		a = ((ll)a*1.01);
		i++;
	}
	printf("%lld %lld",i;
	return (0);
}


Compiler output:
main.c: In function 'main':
main.c:17:29: error: expected ')' before ';' token
   17 |         printf("%lld %lld",i;
      |               ~             ^
      |                             )
main.c:18:20: error: expected ';' before '}' token
   18 |         return (0);
      |                    ^
      |                    ;
   19 | }
      | ~
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
    ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL);
    long long x;
    cin>>x;
    long double p=100;
    for(int i=1;;i++)
    {
        p=floor(p*1.01);
        if(p>=x)
        {
            cout<<i;
            break;
        }
    }
    return 0;
}

Compiler output:
main.c: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 long x,i=0,j=100;
  cin>>x;
  double logx = log(double(x));
  double logj = log(double(j));
  double logr = log(1.01);
  while(logr<(logx-logj0){
    logr+=logr;
    i++;
  }
  cout<<i<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: 'logj0' was not declared in this scope; did you mean 'logj'?
   10 |   while(logr<(logx-logj0){
      |                    ^~~~~
      |                    logj
a.cc:10:26: error: expected ')' before '{' token
   10 |   while(logr<(logx-logj0){
      |        ~                 ^
      |                          )
Language: Java

import java.util.*;
class Main {
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        int x = scan.nextInt();
        int y = 100;
        int year = 0;
        outloop:for(int i = 0; ;i++){
            y = y + (0.01)*y;
            if (y>=x){
                year = i;
                break outloop;
            }
        }
        System.out.println(year);
        }
        }

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

import java.util.Scanner;

// https://atcoder.jp/contests/abc165/tasks/abc165_b
public class AtCoderBeginnerContest165_B {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		float x = sc.nextFloat();
		sc.close();


		int ans = 1;
		float a = 100L;
		for(int i=1;a<x;i++) {
			a = (float)(a * 1.01);
			a = (float) Math.floor(a);
			ans = i;
		}
		System.out.println(ans);
	}
}


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

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

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:22: error: expected primary-expression before '<' token
   14 |                 if(X=<a){
      |                      ^
Language: C

#include <iostream>
#include <stdio.h>
#include <string>
#include <algorithm>
#include <vector>
#include <math.h>
#include <numeric>
#include <queue>
#include <numeric>
#include <iomanip>
#include <sstream>
#include <cmath>
#include <map>
#include <functional>
#include <limits>
#include <set>
#include <stack>
#define rep(i,a,b) for((i)=a;i<(int)(b);i++)
#define max(a,b) ((a) < (b) ? (b) : (a))
#define min(a,b) ((a) > (b) ? (b) : (a))
#define AAA (1000000007)

using namespace std;
typedef long long ll;
typedef unsigned long long ull;



ll gcd(ll a, ll b) {
	if (b == 0)return a;
	return gcd(b, a % b);
}

ll lcm(ll a, ll b) {
	return a / gcd(a, b) * b;
}



int main() {
	string S;
	int i, j, k;
	//ll N, M, K;
	int N, M, K;
	ll n;
	cin >> n;
	ll m = 100;
	ll ii = 0;
	while (n > m) {
		ii++;
		m *= 1.01;
		
	}
	cout << ii;
	return 0;
	
}

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

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

using namespace std;

typedef long long ll;
ll n;
ll s = 100;
ll res = 0;

int main() {
	cin >> n;

	while (s < n) {
		s += s / 100;
		res++;
	}

	cout << res << endl;

	return 0;
}

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

#include<stdio.h>

int main(){
  int m=0;
  long x,a=100;
  scanf("%ld",&x);
  while(x>a){
    a+=a/100;
    m++
  }
  printf("%d",m);
  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:9:8: error: expected ';' before '}' token
    9 |     m++
      |        ^
      |        ;
   10 |   }
      |   ~
Language: C++

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

int main() {
  int n;
  cin >> n;
  
  int a = 100;
  int count=1
  
  while(true){
    a+=a/100;
    if(a>=n)
      break;
    count++;
  }
  
  cout << count << endl;
  return 0;
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: lvalue required as left operand of assignment
    9 |     (int)y *= 1.01;
      |     ^~~~~~
Language: C

#include<bits/stdc++.h>

#define rep(i, n) for(int i = 0; i < (n); ++i)

using namespace std;

using ll = long long;
using P = pair<int , int>;
  
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);

  ll x; cin >> x;
  ll i, j;
  for(i = 0, j = 100; j < x; ++i) {
    j += (j/100);
  }
  cout << i;
}
  


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> X;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope; did you mean 'count'?
   10 |   cout << count << endl;
      |   ^~~~
      |   count
a.cc:10:20: error: 'endl' was not declared in this scope
   10 |   cout << count << endl;
      |                    ^~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <cctype>
#define len length()
#define sz size()
#define rng(i, a, b) for(int i = a; i < b; i++)
#define rep(i, n) rng(i, 0, n)
#define srt(v) sort(v.begin(), v.end())
#define rev(s) reverse(s.begin(), s.end())
#define vi(a, n) vector<int> a(n)
#define vs(a, n) vector<string> a(n)
#define vc(a, n) vector<char> a(n)
#define psb(a) push_back(a)
#define ppb pop_back()
#define erc(S, i) S.erase(S.begin() + i)
#define ers(S, i, j) S.erase(S.begin() + i, S.begin() + j)
#define sp(n) cout << setprecision(n) << fixed
#define fst(s) s.at(0)
#define lst(s) s.at(s.len - 1)
typedef long long ll;
using namespace std;
int mod = 1000000007;

int main(){
    int x;
    cin >> x;
    int ans;
    ans = floor((log(x/100)/log(1.01)) + 1;
    cout << ans << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:43: error: expected ')' before ';' token
   32 |     ans = floor((log(x/100)/log(1.01)) + 1;
      |                ~                          ^
      |                                           )
Language: C++

#include<iostream>
using namespace std;
int main() {
	long long int X, Y;
	cin >> X;
	Y = 100;
	for (long long int i = 1;; i++) {
		Y = int(long double(Y) + long double(Y * 1 / 100));
		if (Y >= X) {
			cout << i << endl;
			return 0;
		}
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before 'int'
    8 |                 Y = int(long double(Y) + long double(Y * 1 / 100));
      |                     ^~~
Language: C++

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

int main() {

  ll a,ans;
  cin >> a;
  
  ll x = 100;
  ans = 1;
  
  while(ans < 1000000000000000) {
    x = x*1.01;
    if(x >= a) break;
    ans++;
  }
  
  cout << ans << endl;

}


Compiler output:
a.cc:1:1: error: stray '#' in program
    1 | ​#include <bits/stdc++.h>
      | ^
a.cc:1:1: error: '\U0000200b' does not name a type
    1 | ​#include <bits/stdc++.h>
      |  
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a;
      |   ^~~
a.cc:20:3: error: 'cout' was not declared in this scope
   20 |   cout << ans << endl;
      |   ^~~~
a.cc:20:18: error: 'endl' was not declared in this scope
   20 |   cout << ans << endl;
      |                  ^~~~
Language: C

long long a;
main(){
  scanf("%lld",&a);
  ll b=100,c=0;
  while(b<a){
    b=(int)b*1.01;
    c++;
  }
  printf("%lld\n",c);
  return 0;
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:3:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |   scanf("%lld",&a);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | long long a;
main.c:3:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |   scanf("%lld",&a);
      |   ^~~~~
main.c:3:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:3: error: unknown type name 'll'
    4 |   ll b=100,c=0;
      |   ^~
main.c:9:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 |   printf("%lld\n",c);
      |   ^~~~~~
main.c:9:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:9:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include<iostream>
using namespace std;
int main()
{
	int a, b;
	cin>>a;
	int c=100;
	b=0;
	while(c>=a)
	{
		c=c+c/100;
		b++
	}
	cout<<b;
	return 0;
}

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

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

int main(){
    int X;
    cin >> X;
    int d = 100;
    int y = 0;
    while(d < X){
        d *= 1.01;
        y++;
    }
    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: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define PI 3.1415926535
#define MOD 1000000007
 
int main(){
  
  ll X;
  cin >> X;
  
  ll cnt = 0;
  ll bank = 100;
  while(bank < X){
    bank = (ll)(bank / 100.0 * 101);
    cnt++;
  }
  
  cout << cnt << endl;
  return 0;
}#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define PI 3.1415926535
#define MOD 1000000007
 
int main(){
  
  ll X;
  cin >> X;
  
  ll cnt = 0;
  ll bank = 100;
  while(bank < X){
    bank = (ll)(bank / 100.0 * 101);
    cnt++;
  }
  
  cout << cnt << endl;
  return 0;
}

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

#include<iostream>
using namespace std;
int main() {
	long long int X, Y;
	cin >> X;
	Y = 100;
	for (long long int i = 1;; i++) {
		Y = long int(long double(Y) + long double(Y * 1 / 100));
		if (Y >= X) {
			cout << i << endl;
			return 0;
		}
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before 'long'
    8 |                 Y = long int(long double(Y) + long double(Y * 1 / 100));
      |                     ^~~~
Language: C

#include <iostream>
#include <cstdio>
#include <cstring>
#include <climits>
#include <string>
#include <algorithm>
#include <cmath>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <sstream>
#include <numeric>
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>

///////////////////////////////////////////////////////////////
// namespace
///////////////////////////////////////////////////////////////
using namespace std;
namespace mp = boost::multiprecision;

///////////////////////////////////////////////////////////////
// types
///////////////////////////////////////////////////////////////
using ll = long long int;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using mpi = mp::cpp_int;
using mpf = mp::number<mp::cpp_dec_float<1024>>;

///////////////////////////////////////////////////////////////
// mod https://qiita.com/drken/items/3b4fdf0a78e7a138cd9a
///////////////////////////////////////////////////////////////
// ll MOD = 1000000007;
//
// ll mod(long long val) {
//     long long res = val % MOD;
//     if (res < 0) res += MOD;
//     return res;
// }
//
// ll modinv(ll a) {
//     ll b = MOD, u = 1, v = 0;
//     while (b) {
//         ll t = a / b;
//         a -= t * b; swap(a, b);
//         u -= t * v; swap(u, v);
//     }
//     u %= MOD;
//     if (u < 0) u += MOD;
//     return u;
// }
//
// const int MAX = -1;
// ll fac[MAX], finv[MAX], inv[MAX];
// void com_init() {  // initialize nCk table with O(N)
//     fac[0] = fac[1] = 1;
//     finv[0] = finv[1] = 1;
//     inv[1] = 1;
//     for (int i = 2; i < MAX; i++){
//         fac[i] = fac[i - 1] * i % MOD;
//         inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
//         finv[i] = finv[i - 1] * inv[i] % MOD;
//     }
// }
// ll com(int n, int k){  // nCk
//     if (n < k) return 0;
//     if (n < 0 || k < 0) return 0;
//     return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
// }


int main() {
    string y; cin >> y;
    mpf x(y);
    int c = 0;
    mpf m(100.0);
    while (m < x) {
        ++c;
        m *= mpf(1.01);
        mpi tmp(m);
        m = mpf(tmp);
        // cout << m << endl;
    }
    cout << c << endl;
    return 0;
}


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

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

#define ll long long
#define ar array


ll solve()
{
    ll t=0,a=0,x;
    cin>>x;
    while(a<x){
    a=100*pow((1+0.01),t);
    t++;
    }
    cout<<t<<endl;
  return 0;
}

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

    
        solve();

    
}


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

#include<iostream>
#include <vector> 
#include <algorithm>
#include<iomanip>
#include<math.h>
#define SIZE_OF_ARRAY(array) (sizeof(array)/sizeof(array[0]))
using namespace std;

int main() {
    unsigned long long K,s=100;
    cin >> K;
    for (unsigned long long x = 1;; x++) {
        s = unsigned long long(s*1.01);
        if (K <= s) {
            cout << x << endl;
            return 0;
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: expected primary-expression before 'unsigned'
   13 |         s = unsigned long long(s*1.01);
      |             ^~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main() {
	long long int X, Y;
	cin >> X;
	Y = 100;
	for (long long int i = 1;; i++) {
		Y = long long int(long double(Y) + long double(Y * 1 / 100));
		if (Y >= X) {
			cout << i << endl;
			return 0;
		}
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before 'long'
    8 |                 Y = long long int(long double(Y) + long double(Y * 1 / 100));
      |                     ^~~~
Language: C++

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

int main(int argc, const char * argv[]) {



    cin.tie(0);
    ios::sync_with_stdio(false);

    /////////////////////
    // Write code below /
    /////////////////////
    long long int X,n=100,cnt=0;

    cin>>X;

    while(1){
        n=n*1.01;
        cnt++;
        if(n>=X)
            break;
    }
    cout<<cnt<<endl;


    return 0;

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:28:14: error: expected '}' at end of input
   28 |     return 0;
      |              ^
a.cc:5:41: note: to match this '{'
    5 | int main(int argc, const char * argv[]) {
      |                                         ^
Language: C

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

#define int long long

void solve(int tt)
{
    int x;cin>>x;
    int temp=100;
    for(int i=1;;i++)
    {
        temp+=(temp/100);
        if(temp>=x)
        {
            cout<<i;
            return;
        }
    }
}

int32_t main()
{
    int t=1;
    //cin>>t;
    for(int i=1;i<=t;i++)
        solve(i);
}

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<iostream>
using namespace std;
int main() {
	long long int X, Y;
	cin >> X;
	Y = 100;
	for (long long int i = 1;; i++) {
		Y = long long int(long double(Y) + long double(Y * 1 / 100));
		if (Y >= X) {
			cout << i << endl;
			return 0;
		}
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before 'long'
    8 |                 Y = long long int(long double(Y) + long double(Y * 1 / 100));
      |                     ^~~~
Language: C++

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

int main() {
  double x;
  cin >>x;
  double count=0,a=100;
  while(){
    a *= 1.01;
    count++;
    if(x <=a) break;
  }
  cout << count << endl;
}


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

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

int main(){
  double s = 100;
  int k=0;
  long long double x;
  cin >> x;
  while(s < x){
    s *= 1.01;
    k++;
  }
  
  cout << k << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'long long' specified with 'double'
    7 |   long long double x;
      |        ^~~~
Language: C

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

// 最小公倍数を求める
int euqlid (int a, int b){
  int temp;
  temp = a % b;
  if(temp == 0)return b;
  return euqlid(b,temp);
}
ll conbination(ll a,ll b){
  ll u = 1;
  ll d = 1;
  while(b != 0){
    u *= a;
    d *= b;
    a--;
    b--;
  }
  return u / d;
}
int fact(int n){
  if(n == 1)return 1;
  return n * fact(n-1);
  }
int main(){
  ll x;
  cin >> x;
  ll i = 1;
  ll save = 100;
  while(true){
    save = ll(1.01 * save);
    if(save >= x)break;
    i++;
  }
  cout << i << 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: C++

#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <algorithm>  // std::unique
using namespace std;

// 素数判定
template <typename T>
bool IsPrimeNumber(T value) {

	for (int i = 2; i * i <= value; ++i) {
		if ((value % i) == 0) {
			return true;
		}
	}
	return false;
}


int main(void) {
	long long money = 100;
	long long targetAmount;

	cin >> targetAmount;

	long long elapsedYear = 0;

	while (money < targetAmount) {
		money = floor(money * 1.01f);
		elapsedYear++;
	}

	auto output = elapsedYear;
	cout << output;
}


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

#include <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <math.h>
#include <set>

using namespace std;




int main(void) {
	long long n;
	long long i, j, k;
	long long res;
	long long a, b;
	long long year = 0;
	cin >> n;

	res = 100;

	while (1) {
		if (res >= n) {
			break;
		}

		res = res + long long(res * 0.01);
		year++;
	}

	cout << year << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:29: error: expected primary-expression before 'long'
   28 |                 res = res + long long(res * 0.01);
      |                             ^~~~
Language: C++

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

int main() {
  double x;
  cin >>x;
  double count=0,a=100;
  while(){
    a *= 1.01;
    count++;
    if(x <=a) break;
  }
  cout << a << endl;
}


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

#include <bits/stdc++.h>
using namespace std;
#define pp pair<int,int>
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define rep2(i,m,n) for(int (i)=(m);(i)<(n);(i)++)
#define ll long long
#define ld long double
#define all(a) (a).begin(),(a).end()
int main(){
  ll x;
  cin>>x;
  ld deposit=100;
  rep2(i,1,3761){
    deposit=floor(deposit*1.01/1);
    if(d>=deposit){
      cout<<i<<endl;
      return 0;
    }
 } 
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: 'd' was not declared in this scope
   15 |     if(d>=deposit){
      |        ^
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
using namespace std;
int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);    
    long long int x;
    cin>>x;
    m=100;
    int ans=0;
    while(1){
        m+=m/100;
        ans++;
        if(m>=x){
            cout<<ans;
            return 0;
        }
    }

}

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

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

int main() {
  long long double X;
  cin >> X;
  s = 100; 
  for (int i = 0; i < 1000000000000; i++) {
    s *= 1.01;
    if (s >= X) {
      cout >> s >> endl;
      break;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'long long' specified with 'double'
    5 |   long long double X;
      |        ^~~~
a.cc:7:3: error: 's' was not declared in this scope
    7 |   s = 100;
      |   ^
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    long x =sc.nextLong();
    int y=1;
    long z =100;
    long w=1;
    while(y!=0){
      z=z*101/100;
      if(z>=x){y=y+1;}
      else{
        w=w+1;}}
    System.out.ptintln(w);
  }
}


Compiler output:
Main.java:14: error: cannot find symbol
    System.out.ptintln(w);
              ^
  symbol:   method ptintln(long)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long x = sc.nextLong();
    y = 100;
    int count =0;
    while(y<x){
      y=y+(y/100);
      count++;
    }
    System.out.println(count);
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    y = 100;
    ^
  symbol:   variable y
  location: class Main
Main.java:8: error: cannot find symbol
    while(y<x){
          ^
  symbol:   variable y
  location: class Main
Main.java:9: error: cannot find symbol
      y=y+(y/100);
      ^
  symbol:   variable y
  location: class Main
Main.java:9: error: cannot find symbol
      y=y+(y/100);
        ^
  symbol:   variable y
  location: class Main
Main.java:9: error: cannot find symbol
      y=y+(y/100);
           ^
  symbol:   variable y
  location: class Main
5 errors
Language: C

#include<stdio.h>
int main(void){
  double x,sum=0;
  scanf("%lf",&x);
  double money=100;
  while(){
    money*=1.01;
    sum+=1;
    if(money==x){
      break;
    }
  }
  printf("%lf\n",sum);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: expected expression before ')' token
    6 |   while(){
      |         ^
Language: Java

import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc =new Scanner(System.in);
    long x =sc.nextLong();
    int y=1;
    long z =100;
    long w=1
    while(y!=0){
      z=z*101/100;
      if(z>=x){y=y+1;}
      else{
        w=w+1;}}
    System.out.ptintln(w);
  }
}

Compiler output:
Main.java:8: error: ';' expected
    long w=1
            ^
1 error
Language: C++

X = int(input())

dep = 100
year = 0
while dep <= X:
    dep += int(0.01*dep)
    year += 1
  #print(dep)
print(year)



Compiler output:
a.cc:8:4: error: invalid preprocessing directive #print
    8 |   #print(dep)
      |    ^~~~~
a.cc:1:1: error: 'X' does not name a type
    1 | X = int(input())
      | ^
Language: C++

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

int main(){
  
  long long x;
  cin>>x;
  long long dep = 100;
  for(int i=1;;i++){
    dep = (dep + dep/100);
    if(dep >= x)
      break;
  }
  cout<<i<<endl;
  
  
  
 return 0; 
  
}

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

#include<iostream>
using namespace std;
int main(){
  unsigned long long int x;
  cin>>x;
  unsigned long long int n=100;
  while(x<n){
    n=n+n/100;
    c++;}
  cout<<c;
  
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'c' was not declared in this scope
    9 |     c++;}
      |     ^
a.cc:10:9: error: 'c' was not declared in this scope
   10 |   cout<<c;
      |         ^
a.cc:10:11: error: expected '}' at end of input
   10 |   cout<<c;
      |           ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <queue>
#include <math.h>
#include <tuple>

#include <set>
#include <unordered_map>
#include <stack>
#include <map>

using namespace std;

#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define all(x) (x).begin(),(x).end()
using ll = long long;
template<class T>bool chmaxj(T &a, const T &b) { if (a < b) { a = b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1; } return 0; }
void YesNo(bool y) { cout << (y ? "Yes" : "No") << endl; } //true==yes


#define INF 21474836

//////////////////////////////////////////////////////////////



int main() {

	long long X;
	cin >> X;

	long long e = 100;
	long long Y = 0;
	while (e < X) {
		e = e * 1.01;
		Y++;
	}
	
	cout << Y << endl;

}


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

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define M 1000000007
//#define M 998244353
const int inf=4e18;
int32_t main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);cout.tie(NULL);
	int x;cin>>x;
	int c=100,o=0;
	while(c<x)
	{
		c=(101*c)/100;
		o++;
	}
	cout<<o<<endl;
}

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: invalid type argument of unary '*' (have 'double')
   10 |     A =* 1.01;
      |        ^~~~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
using i64 = int_fast64_t;
#define rep(i, N) for(i64 i = 0; i < N; i++)
#define Rep(i, k, N) for(i64 i = k; i < N; i++)
#define all(v) v.begin(), v.end()
#define eb emplace_back
#define Cout(s) cout << s << endl
string Yes(bool b) {if(b){return "Yes";} else {return "No";}}
string YES(bool b) {if(b){return "YES";} else {return "NO";}}

int main(){
    i64 X;
    cin >> X;
    i64 n = 100ll;
    
    int i = 0;
    while(n < X){
        n = n * (101.0 / 100.0);
        i++;
    }

    cout << i << endl;
}


Compiler output:
main.c: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;

#define ms(s, n) memset(s, n, sizeof(s))
#define FOR(i, a, b) for (int i = (a); i <= (b); i++)
#define FORd(i, a, b) for (int i = (a) ; i >= (b); i--)
#define FORall(it, a) for (__typeof((a).begin()) it = (a).begin(); it != (a).end(); it++)
#define sz(a) int((a).size())
#define present(t, x) (t.find(x) != t.end())
#define all(a) (a).begin(), (a).end()
#define uni(a) (a).erase(unique(all(a)), (a).end())
#define pb push_back
#define pf push_front
#define mp make_pair
#define fi first
#define se second
#define sp system("pause")
#define prec(n) fixed<<setprecision(n)
#define bit(n, i) (((n) >> (i)) & 1)
#define bitcount(n) __builtin_popcountll(n)
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef pair<int, int> pi;
typedef vector<int> vi;
typedef vector<pi> vii;
const int MOD = (int) 1e9 + 7;
const int INF = (int) 1e9;
const ll LINF = (ll) 1e18;
const ld PI = acos((ld) -1);
const ld EPS = 1e-9;
const int N = (int) 1e5 + 10;
void TimeExecution() {
    cout << "\n\n===>> Time Execution: " << clock() / (double)1000 << " sec(s).";
}
ll sqr(ll a)
{
    return ((a % MOD) * (a % MOD)) % MOD;
}
ll msub(ll a, ll b)
{
    return ((a - b) % MOD + MOD) % MOD;
}
ll madd(ll a, ll b)
{
    return (a + b) % MOD;
}
ll mmul(ll a, ll b)
{
    return ((a % MOD) * (b % MOD)) % MOD;
}
int t;
int main()
{
    ios_base::sync_with_stdio(0); cin.tie(0);
    /*
    #ifndef ONLINE_JUDGE
        freopen("in.txt", "r", stdin);
        freopen("out.txt", "w", stdout);
    #endif
    */
    ll x;
    cin >> x;
    ll a = 100;
    ll d = 0;
    while(a < x)
    {
        a += (a / 100);
        d++;
    }
    cout << d;
    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(){int N,M=100,x=0;cin>>N;
           while(N>M){M*=1.01;x++}
cout<<x<<endl;}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:34: error: expected ';' before '}' token
    4 |            while(N>M){M*=1.01;x++}
      |                                  ^
      |                                  ;
Language: C++

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

using namespace std;
using ll = long long;
using P = pair<int, int>;

template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}

template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}

int main() {
  ll x;
  cin >> x;
  ll price = 100;
  int year = 0;
  while (true) {
    year++;
    price = (ll)price * 1.01;
    if (price >= x) {
      cout << year << endl;
      break;
    }
  }

  return 0;
}

Compiler output:
a.cc:36:13: error: stray '\20' in program
   36 |       break;<U+0010>
      |             ^~~~~~~~
Language: C

#include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <string>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <iomanip>
using ll = long long;
using uint = unsigned int;
using graph = std::vector<std::vector<ll>>;
using wGraph = std::vector<std::vector<std::pair<ll,ll>>>;
#define rep(i,n) for (int i=0; i < int(n); i++)

using namespace std;
ll MOD7 = 1000000007;
ll MOD9 = 1000000009;
vector<ll> InputVec(ll N){
    vector<ll> A(N);
    for (int i = 0; i < N; ++i) {
        cin >> A[i];
    }
    return A;
}
void OutputVec(vector<ll> A){
    for (int i = 0; i < A.size(); ++i) {
        cout << A[i] << ",";
    }
    cout << endl;
}
vector<vector<ll>> InputVec2d(ll H,ll W){
    vector<vector<ll>> A(H);
    for (int yi = 0; yi < H; ++yi) {
        A[yi] = vector<ll>(W);
    }
    for (int yi = 0; yi < H; ++yi) {
        for (int xi = 0; xi < W; ++xi) {
            cin >> A[yi][xi];
        }
    }
    return A;
}
vector<vector<char>> InputVec2dStr(ll H,ll W){
    vector<vector<char>> A(H);
    for (int yi = 0; yi < H; ++yi) {
        A[yi] = vector<char>(W);
    }
    for (int yi = 0; yi < H; ++yi) {
        string S;
        cin >> S;
        for (int xi = 0; xi < W; ++xi) {
            A[yi][xi] = S[xi];
        }
    }
    return A;
}
void OutputVec2d(vector<vector<ll>> A){
    for (int yi = 0; yi < A.size(); ++yi) {
        for (int xi = 0; xi < A[yi].size(); ++xi) {
            cout << A[yi][xi] << ",";
        }
        cout << endl;
    }
}
graph InputGraph(ll N,ll M){
    graph G(N);
    for (int i = 0; i < M; ++i) {
        ll a,b;
        cin >> a >> b;
        a--;b--;
        G[a].push_back(b);
        G[b].push_back(a);
    }
    return G;
}
graph InputDGraph(ll N,ll M){
    graph G(N);
    for (int i = 0; i < M; ++i) {
        ll a,b;
        cin >> a >> b;
        a--;b--;
        G[a].push_back(b);
    }
    return G;
}
void OutputGraph(graph G){
    for (int i = 0; i < G.size(); ++i) {
        cout << i << ":";
        for (int j = 0; j < G[i].size(); ++j) {
            cout << G[i][j]<< ",";
        }
        cout << endl;
    }
}
void OutputAnswerBool(bool b,bool isUpperCase = false){
    if(b){
        if(isUpperCase){
            cout << "YES" << endl;
        }else{
            cout << "Yes" << endl;
        }
    }else{
        if(isUpperCase){
            cout << "NO" << endl;
        }else{
            cout << "No" << endl;
        }
    }
}

int main() {
    ll X;
    cin >> X;
    ll count = 100;
    ll res = 0;
    while(X > count){
        count = ((double) count * (double)1.01);
        //cout << count << endl;
        res++;
    }
    cout << res << endl;

}


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

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

typedef long long ll;

int main(){

    ll x;
    cin>>x;

    int cnt = 0;
    ll sum = 100;

    while(sum < x){
        ll add = sum/100;
        sum += add;
        cnt++;
    }

    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: Java

public class Main {

  public static void main(String[] args) {

    Scanner scan = new Scanner(System.in);

    long x = scan.nextLong();
    long tmp = 100;
    long cnt = 0;

    while (true) {
      cnt++;
      tmp += tmp * 1 / 100;
      if (tmp >= x) {
        System.out.println(cnt);
        return;
      }
    }

  }

}

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

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

int main(){
  int N,M,K=100;
  string S;
  
  cin>>N ;
  int cnt=0;
  whie(K>=N){
    cnt++;
    K*=1.01;
  }
  
  cout<<cnt<<endl;
  
}

//  cout<<"Yes"<<endl;
//  cout<<" No"<<endl;
//  cout<<" "<<endl;
//  if()  ;
//  for(int i=0; i < N; i++){}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'whie' was not declared in this scope
   10 |   whie(K>=N){
      |   ^~~~
Language: C

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

void solve(long long X) {
  long long n = 100;
  for (int i = 0;; i++) {
    if (n >= X) {
      cout << i << endl;
      return;
    }
    n = 1.01 * n;
  }
}

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long X;
  scanf("%lld", &X);
  solve(X);
}


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 long int x;
	int f=0;
	long long int m=100;
	int y=0;
	for(f==0){
		long long int m = m*1.01;
		y++;
		if(m>x){
			f =1;
		}
	}
	cout << y;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before ')' token
   10 |         for(f==0){
      |                 ^
      |                 ;
a.cc:18:1: error: expected primary-expression before '}' token
   18 | }
      | ^
a.cc:17:19: error: expected ')' before '}' token
   17 |         cout << y;
      |                   ^
      |                   )
   18 | }
      | ~                  
a.cc:10:12: note: to match this '('
   10 |         for(f==0){
      |            ^
a.cc:18:1: error: expected primary-expression before '}' token
   18 | }
      | ^
Language: C

#include <iostream>
#include <math.h>
#include <algorithm>
#include <string>
#include <string.h>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <tuple>
#include <stdlib.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
#define PI 3.14159265358979
typedef long long int ll;

const double pi=3.1415;
ll absc(ll a,ll b){return (a-b>0?a-b:b-a);
}
ll mini(ll a,ll b){return (a>b?b:a);}
ll gcd(ll a,ll b){
	if(a<b)swap(a,b);
	return (a%b?gcd(a%b,b):b);
}
int main()
{
   ll x,i,a,b,c,k;
   string s,t;
   cin>>k;
   x=100;
   for(i=1;;i++)
   {
   	x=x*101/100;
   	if(x>=k)break;
   }
   cout<<i;
}


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

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


int main(){
	long long int x;
	int f=0;
	long long int m=100;
	int y=0;
	for(f==0){
		long long int m = m*1.01;
		y++;
		if(m>x){
			f =1;
		}
	}
	cout << y;
}


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() {
  int x;
  cin >> x;
  int a = 100;
  int count = 0;
  while (a >= k) {
    a = a * 101 / 100;
    count++;
  }
  cout << count << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: 'k' was not declared in this scope
    9 |   while (a >= k) {
      |               ^
Language: C

#include<cstdio>
#include<cstring>
#include<algorithm>
#include<iostream>
#include<string>
#include<vector>
#include<stack>
#include<bitset>
#include<cstdlib>
#include<cmath>
#include<set>
#include<list>
#include<deque>
#include<map>
#include<queue>
using namespace std;
typedef long long ll;
const double PI = acos(-1.0);
const double eps = 1e-6;
const int INF = 1000000000;
const int mod = 1e9+7;
const int maxn = 2e5+5;
int main() {
	double n;
	cin>>n;
	int cnt = 1;
	double t = 100;
	while(1){
		t*=1.01;
		if(t>=n){
			break;
		}
		t = (ll)(t);
		cnt++;
		
	} 
	cout<<cnt<<endl;
    return 0;
}



Compiler output:
main.c:1:9: fatal error: cstdio: No such file or directory
    1 | #include<cstdio>
      |         ^~~~~~~~
compilation terminated.
Language: Java

import javafx.beans.binding.StringBinding;

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

public class Main {
    static PrintWriter out = new PrintWriter(System.out);
    static Scanner sc = new Scanner(System.in);
    static BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    long[] res;
    ArrayList<Integer>[] tree;
    public static void main(String[] args) throws IOException {
        Main main = new Main();
//        main.solve();
        out.println(main.solve());
        out.flush();
    }
    long solve(){
        long x = sc.nextLong();
        long cur = 100;
        for(int i=1;i<=500000;i++){
            cur += cur/100;
            if(cur>=x) return i;
        }
        return 0;
    }
}



Compiler output:
Main.java:1: error: package javafx.beans.binding does not exist
import javafx.beans.binding.StringBinding;
                           ^
1 error