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

#include <bits/stdc++.h>
#define repr(i,a,b) for(int i=a;i<b;i++)
#define rep(i,n) for(int i=0;i<n;i++)
#define reprrev(i,a,b) for(int i=b-1;i>=a;i--) // [a, b)
#define reprev(i,n) reprrev(i,0,n)
#define _GLIBCXX_DEBUG

using ll = long long;
using ull = unsigned long long;
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; }
const ll mod = 1e9+7;
void chmod(ll &M){
  if(M >= mod) M %= mod;
  else if(M < 0){
     M += (abs(M)/mod + 1)*mod;
    M %= mod;
}
}
ll modpow(ll x, ll n){
   if(n==0) return 1;
  ll res=modpow(x, n/2);
 if(n%2==0) return res*res%mod;
else return res*res%mod*x%mod;
}
int getl(int i, int N) { return i==0? N-1:i-1; };
int getr(int i, int N) { return i==N-1? 0:i+1; };
long long GCD(long long a, long long b) {
  if (b == 0) return a;
  else return GCD(b, a % b);
}

using namespace std;
/* <-----------------------------------------------------------------------------------> */
/* <-----------------------------------------------------------------------------------> */
/* <-----------------------------------------------------------------------------------> */
/* <-----------------------------------------------------------------------------------> */
int main()
{
    ull X;
    cin >> X;
    ull sum = 100; 
    ull year = 0;
    while(sum < X) {
        sum += 0.01*sum
        // sum *= 1.01;
        year++;
    }
cout << year << "\n";

}


Compiler output:
a.cc: In function 'int main()':
a.cc:45:24: error: expected ';' before 'year'
   45 |         sum += 0.01*sum
      |                        ^
      |                        ;
   46 |         // sum *= 1.01;
   47 |         year++;
      |         ~~~~
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <iomanip>
#include <algorithm>

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

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

	long double yokin = 100;
	int ans = 1;
	while (true) {
		yokin *= 1.01;
		yokin = floor(yokin);
		if (X <= yokin) {
			break;
		}
		ans++;
	}
	cout << ans << endl;
	return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
	
int main() {
 
  long long A;
  int B = 0;
  long long C = 100;
  cin >> A;
  while(C < A){
      C *= 1.01l;
      B++;
  }
  cout << B <<endl;

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

#include <bits/stdc++.h>
using namespace std;
	
int main() {
 
  long long A;
  int B = 0;
  long long C = 100;
  cin >> A;
  while(C < A){
      C *= 1.01L;
      B++;
  }
  cout << B <<endl;

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

class Myapp
{
    static void Main()
    {
        var x = long.Parse(Console.ReadLine());

        int count = 0;
        long money = 100;
        while (money < x)
        {
            money += money / 100;
            count += 1;
        }
        Console.WriteLine(count);
    }
}
    


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:21:2: error: expected ';' after class definition
   21 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Myapp::Main()':
a.cc:10:9: error: 'var' was not declared in this scope
   10 |         var x = long.Parse(Console.ReadLine());
      |         ^~~
a.cc:14:24: error: 'x' was not declared in this scope
   14 |         while (money < x)
      |                        ^
a.cc:19:9: error: 'Console' was not declared in this scope
   19 |         Console.WriteLine(count);
      |         ^~~~~~~
Language: C++

using Microsoft.VisualBasic;
using System;
using System.Linq.Expressions;
using System.Security.Cryptography.X509Certificates;
using System.Collections.Generic;
using System.Linq;



class Myapp
{
    static void Main()
    {
        var x = long.Parse(Console.ReadLine());

        int count = 0;
        long money = 100;
        while (money < x)
        {
            money += money / 100;
            count += 1;
        }
        Console.WriteLine(count);
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'Microsoft'
    1 | using Microsoft.VisualBasic;
      |       ^~~~~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq.Expressions;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Security.Cryptography.X509Certificates;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:6:7: error: expected nested-name-specifier before 'System'
    6 | using System.Linq;
      |       ^~~~~~
a.cc:25:2: error: expected ';' after class definition
   25 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Myapp::Main()':
a.cc:14:9: error: 'var' was not declared in this scope
   14 |         var x = long.Parse(Console.ReadLine());
      |         ^~~
a.cc:18:24: error: 'x' was not declared in this scope
   18 |         while (money < x)
      |                        ^
a.cc:23:9: error: 'Console' was not declared in this scope
   23 |         Console.WriteLine(count);
      |         ^~~~~~~
Language: C

#include <stdio.h>
int main(void)
{
    int X,money,year;
    money = 100;
    year = 1;
    scanf("%d",&X);
    while(money <= X;){
        money*101/100;
        year++;
    }
    printf("%d",year);
} 

Compiler output:
main.c: In function 'main':
main.c:8:21: error: expected ')' before ';' token
    8 |     while(money <= X;){
      |          ~          ^
      |                     )
Language: C

#include <stdio.h>
int main(void)
{
    int X,money,year;
    money = 100;
    year = 1;
    scanf("%d",&X);
    while(money <= X;){
        money*101/100;
        year++
    }
    printf("%d",year);
} 

Compiler output:
main.c: In function 'main':
main.c:8:21: error: expected ')' before ';' token
    8 |     while(money <= X;){
      |          ~          ^
      |                     )
main.c:10:15: error: expected ';' before '}' token
   10 |         year++
      |               ^
      |               ;
   11 |     }
      |     ~
Language: C++

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

int main() {
    long long x, a = 100, ans = 0;
    cin >> x;

    double temp;
    while (a >= x) {
        temp = double(a)*1.01;
        a = long long(temp);
        ans++;
    }

    cout << ans << endl;

}

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

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

int main(){
 long lomg x,t;
  
 for(int i=0;i<100000;i++) 
 t*=100*1.01*i;
  
 }

 return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: expected initializer before 'x'
    5 |  long lomg x,t;
      |            ^
a.cc:8:2: error: 't' was not declared in this scope
    8 |  t*=100*1.01*i;
      |  ^
a.cc: At global scope:
a.cc:12:2: error: expected unqualified-id before 'return'
   12 |  return 0;
      |  ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long double ll;
typedef unsigned long long ull;
const long long INF = 1LL << 60;
using ping = pair<ll, ll>;

int main(){
    ll X;
    cin >> X;
    ll out = 100;
    for (int i = 1;; i++){
      out += out /100;
      if(out>=X){
          cout << i << endl;
          break;
      }
    }
    return 0;
}

Compiler output:
a.cc:3:14: error: 'long long' specified with 'double'
    3 | typedef long long double ll;
      |              ^~~~
Language: C++

import math

x = int(input())
c = 100

for i in range(1, 3761):
    c += math.floor(c * 0.01)
    if c >= x: break

print(i)

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import math
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a,b,i;
  b = 100;
  i = 0;
  cin >> a;
  while(b < a){
    ll c = b / 100;
    b = b + c;
    i++;
  }
  cout << i;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'll' was not declared in this scope
    9 |     ll c = b / 100;
      |     ^~
a.cc:10:13: error: 'c' was not declared in this scope
   10 |     b = b + c;
      |             ^
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:6:3: error: 'longlongP' was not declared in this scope
    6 |   longlongP=100,step=0;
      |   ^~~~~~~~~
a.cc:6:17: error: 'step' was not declared in this scope; did you mean 'strsep'?
    6 |   longlongP=100,step=0;
      |                 ^~~~
      |                 strsep
a.cc:7:9: error: 'P' was not declared in this scope
    7 |   while(P < X){
      |         ^
Language: C++

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

int main(){
    ll x,p=100,k=0;
    cin>>x;
    while(1){
        p=(ll)(1.0101*p);
        k++;
        if(p>=x){
            break;
        }
    }
    cout << k;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:10:5: error: 'cin' was not declared in this scope
   10 |     cin>>x;
      |     ^~~
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout << k;
      |     ^~~~
Language: C

#include <stdio.h>
int main(){
  long long y=100, x i=0;
  scanf("%lld", &x);
  while(y<x){
    y*=1.01;
    i++;
    if(y>=x)break;
  }
  printf("%lld\n", i);
}

Compiler output:
main.c: In function 'main':
main.c:3:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'i'
    3 |   long long y=100, x i=0;
      |                      ^
main.c:4:18: error: 'x' undeclared (first use in this function)
    4 |   scanf("%lld", &x);
      |                  ^
main.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: 'i' undeclared (first use in this function)
    7 |     i++;
      |     ^
Language: C

long long x;
  int y=100, i=0;
  scanf("%lld", &x);
  while(1){
    y=y+y/100;
    i++;
    if(y>=x)break;
  }
  printf("%d\n", i);

Compiler output:
main.c:3:9: error: expected declaration specifiers or '...' before string constant
    3 |   scanf("%lld", &x);
      |         ^~~~~~
main.c:3:17: error: expected declaration specifiers or '...' before '&' token
    3 |   scanf("%lld", &x);
      |                 ^
main.c:4:3: error: expected identifier or '(' before 'while'
    4 |   while(1){
      |   ^~~~~
main.c:9:10: error: expected declaration specifiers or '...' before string constant
    9 |   printf("%d\n", i);
      |          ^~~~~~
main.c:9:18: error: expected declaration specifiers or '...' before 'i'
    9 |   printf("%d\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() {
 int X;
 int Y;
 int Z;
 int C;
 cin >> X;
 Y = X - 100;
 while( Y > Z ){
	X += X * 0.01
	Z += X * 0.01;
	C += 1;
 }
 cout << C << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:22: error: expected ';' before 'Z'
   13 |         X += X * 0.01
      |                      ^
      |                      ;
   14 |         Z += X * 0.01;
      |         ~
Language: Java

<bits/stdc++.h>
using namespace std;
rep(i, n) for (int i = 0; i < (int)(n); i++)
 
int main() {
 int X;
 int Y;
 int Z;
 int C;
 cin >> X;
 Y = X - 100;
 while( Y > Z ){
	X += X * 0.01;
	Z = X + Z;
	C += 1;
 }
 cout << C << endl;
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
<bits/stdc++.h>
^
Main.java:3: error: class, interface, enum, or record expected
rep(i, n) for (int i = 0; i < (int)(n); i++)
^
Main.java:3: error: class, interface, enum, or record expected
rep(i, n) for (int i = 0; i < (int)(n); i++)
                          ^
Main.java:3: error: class, interface, enum, or record expected
rep(i, n) for (int i = 0; i < (int)(n); i++)
                                        ^
Main.java:7: error: unnamed classes are a preview feature and are disabled by default.
 int Y;
 ^
  (use --enable-preview to enable unnamed classes)
Main.java:10: error: class, interface, enum, or record expected
 cin >> X;
 ^
Main.java:11: error: class, interface, enum, or record expected
 Y = X - 100;
 ^
Main.java:12: error: class, interface, enum, or record expected
 while( Y > Z ){
 ^
Main.java:14: error: class, interface, enum, or record expected
	Z = X + Z;
	^
Main.java:15: error: class, interface, enum, or record expected
	C += 1;
	^
Main.java:16: error: class, interface, enum, or record expected
 }
 ^
Main.java:18: error: class, interface, enum, or record expected
}
^
12 errors
Language: Java

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
 
int main() {
 int X;
 int Y;
 int Z;
 int C;
 cin >> X;
 Y = X - 100;
 while( Y > Z ){
	X += X * 0.01;
	Z = X + Z;
	C += 1;
 }
 cout << C << endl;
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:3: error: illegal character: '#'
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
^
Main.java:3: error: class, interface, enum, or record expected
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
        ^
Main.java:3: error: class, interface, enum, or record expected
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
                                  ^
Main.java:3: error: class, interface, enum, or record expected
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
                                                ^
Main.java:7: error: unnamed classes are a preview feature and are disabled by default.
 int Y;
 ^
  (use --enable-preview to enable unnamed classes)
Main.java:10: error: class, interface, enum, or record expected
 cin >> X;
 ^
Main.java:11: error: class, interface, enum, or record expected
 Y = X - 100;
 ^
Main.java:12: error: class, interface, enum, or record expected
 while( Y > Z ){
 ^
Main.java:14: error: class, interface, enum, or record expected
	Z = X + Z;
	^
Main.java:15: error: class, interface, enum, or record expected
	C += 1;
	^
Main.java:16: error: class, interface, enum, or record expected
 }
 ^
Main.java:18: error: class, interface, enum, or record expected
}
^
14 errors
Language: C++

#include<iostream>
#include<vector>
#include <algorithm>
#include<cstdlib>
#include<set>
#include<math.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
#define rep(i,n) for(ll i=0;i<n;i++)

int main()
{
	ull x;
	cin >> x;
	ull ans = 0;
	ull n = 100;
	whil1e (n < x)
	{
		ans++;
		n *= 1.01;
	}

	cout << ans;


	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'whil1e' was not declared in this scope
   18 |         whil1e (n < x)
      |         ^~~~~~
Language: C

#include <iostream>

int main()
{
  int a;
  std::cin >> a;
  long takahashi_money = 100;
  int count = 0;
  while(takahashi_money < a)
  {
    takahashi_money *= 1.01;
    count++;
  }
  std::cout << count << std::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++.h>

int main()
{
  int a;
  std::cin >> a;
  long takahashi_money = 100;
  int count = 0;
  while(takahashi_money < a)
  {
    takahashi_money *= 1.01;
    count++;
  }
  std::cout << count << std::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>

int main()
{
  int a;
  std::in >> a;
  long takahashi_money = 100;
  int count = 0;
  while(takahashi_money < a)
  {
    takahashi_money *= 1.01;
    count++;
  }
  std::cout << count << std::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>

int main()
{
  int a;
  std::in >> a;
  long takahashi_money = 100;
  int count = 0;
  while(takahash_money < a)
  {
    takahashi_money *= 1.01;
    count++;
  }
  std::cout << count << std::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>

int main()
{
  int a;
  std::in >> a;
  long takahashi_money = 100;
  int count = 0;
  while(takahash_money < a)
  {
    takahashi_money *= 1.01;
    count++;
  }
  std::cout << count << endl;
  
  return 0;
}


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

main = do
     x <- read <$> getLine
     (putStrLn . show . solve x 100) 0


solve::Integer->Integer->Integer->Integer
solve x p count
    | p < x = solve x (p + p `div` 100) (count+1)
    | otherwise = count



Compiler output:
a.cc:8:30: error: stray '`' in program
    8 |     | p < x = solve x (p + p `div` 100) (count+1)
      |                              ^
a.cc:8:34: error: stray '`' in program
    8 |     | p < x = solve x (p + p `div` 100) (count+1)
      |                                  ^
a.cc:1:1: error: 'main' does not name a type
    1 | main = do
      | ^~~~
Language: C

#include <stdio.h>
int main(void){
  long long int  x;
  double a;
  int y=0;
  int b;

  scanf("%lld",&x);

  while(x>b){
    a=a*a/100
    b=a;
    y++;
  }


  printf("%d",y);

  return 0;
  }

Compiler output:
main.c: In function 'main':
main.c:11:14: error: expected ';' before 'b'
   11 |     a=a*a/100
      |              ^
      |              ;
   12 |     b=a;
      |     ~
Language: C

#include <stdio.h>
int main(void){
  long long int  x;
  double a=100;
  int y=0;
  int b;
  scanf("%lld",&x);
  
   while(a<x){
    a=b*1.01;
    b=a;
    y++;
  }
  }

  printf("%d",y);

  return 0;
  }

Compiler output:
main.c:16:10: error: expected declaration specifiers or '...' before string constant
   16 |   printf("%d",y);
      |          ^~~~
main.c:16:15: error: unknown type name 'y'
   16 |   printf("%d",y);
      |               ^
main.c:18:3: error: expected identifier or '(' before 'return'
   18 |   return 0;
      |   ^~~~~~
main.c:19:3: error: expected identifier or '(' before '}' token
   19 |   }
      |   ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin >> x;
  int m = 100;
  for (int i = 0; i <4000; i++){
  #ループ回数は4000回としています
    m = floor(m*1.01);
    if (m >= x){
      cout << i+1 << endl;
      break;
    }
  }
}

Compiler output:
a.cc:8:4: error: invalid preprocessing directive #\U000030eb\U000030fc\U000030d7\U000056de\U00006570\U0000306f4000\U000056de\U00003068\U00003057\U00003066\U00003044\U0000307e\U00003059
    8 |   #ループ回数は4000回としています
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:14: error: expected ';' before 'if'
    6 |     k=k+k/100
      |              ^
      |              ;
    7 |     if((int)k>=x)break;
      |     ~~
Language: C

#include<stdio.h>
int main(void){
  long i,x;
  double k=100;
  scanf("%d",&x);
  for(i=0;;i++){
    k=(1.01)*k;
    if((int)k>=x)break;
  }
  printf("%d",i+1)
  
 return 0; 
}

Compiler output:
main.c: In function 'main':
main.c:10:19: error: expected ';' before 'return'
   10 |   printf("%d",i+1)
      |                   ^
      |                   ;
   11 | 
   12 |  return 0;
      |  ~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll =long long;
#define all(v) v.begin(),v.end()
 
int main() {
  ll X;
  ll a=100;
  ll count=0;
  while(a<X) {
    a+=a/100;
    count++
  }
  
  cout<<count<<endl;
}



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

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

int main() {
  int64_t X, ans;
  cin >> X;
  ans=0;
  vector<int64_t> P(4000);
  for (int6_t i=0; i<4000; i++) {
    P[i]=5000000000000000000;
  }
  P[0]=100;
  for (int64_t j=0; j<3762; j++) {
    P[j+1]=floor(1.01*P[j]);
  }
  for (int64_t k=0; k<4000; k++) {
    if (P[k]<X) {
      ans=ans+1;
    }
  }
  cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:8: error: 'int6_t' was not declared in this scope; did you mean 'int8_t'?
   13 |   for (int6_t i=0; i<4000; i++) {
      |        ^~~~~~
      |        int8_t
a.cc:13:20: error: 'i' was not declared in this scope
   13 |   for (int6_t i=0; i<4000; i++) {
      |                    ^
Language: C++

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

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 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:1: error: 'longlong' was not declared in this scope
    6 | longlong P=100,step=0;
      | ^~~~~~~~
a.cc:7:7: error: 'P' was not declared in this scope
    7 | while(P < X){
      |       ^
a.cc:9:1: error: 'step' was not declared in this scope; did you mean 'strsep'?
    9 | step++;
      | ^~~~
      | strsep
a.cc:11:9: error: 'step' was not declared in this scope; did you mean 'strsep'?
   11 | 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:6:1: error: 'longlongP' was not declared in this scope
    6 | longlongP=100,step=0;
      | ^~~~~~~~~
a.cc:6:15: error: 'step' was not declared in this scope; did you mean 'strsep'?
    6 | longlongP=100,step=0;
      |               ^~~~
      |               strsep
a.cc:7:7: error: 'P' was not declared in this scope
    7 | while(P < X){
      |       ^
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++;
 }
 cout << step << 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 <iostream>
#include <math.h>
using namespace std;

int main()
{
    double x;
    double answer = 0;
    double wewant;
    wewant = x/100;
    while(wewant)
    {
        answer = answer + 1;
        wewant = wewant / .01;
    }
    
    return 0;
}


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

#include<stdio.h>

int main(){
  int X;
  scanf("%d",&X);
  
  int sum=100,step=0;
  
  while(sum < X){
    sum += sum/100;
    step++;
  }
  retun 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:3: error: 'retun' undeclared (first use in this function)
   13 |   retun 0;
      |   ^~~~~
main.c:13:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:8: error: expected ';' before numeric constant
   13 |   retun 0;
      |        ^~
      |        ;
Language: Java

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

public class BN {
	public static void main(String[] args) {
		FastScanner sc = new FastScanner(System.in);
		long x = sc.nextLong();
		long money = 100;
		int count = 0;

		while(money < x) {
			money += (long)(money*0.01);
			count++;
		}

		System.out.println(count);
	}

	static class FastScanner {
			private BufferedReader reader = null;
		    private StringTokenizer tokenizer = null;
		    public FastScanner(InputStream in) {
		        reader = new BufferedReader(new InputStreamReader(in));
		        tokenizer = null;
		    }

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

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

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

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

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

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

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

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


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

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

int main() {
  int X,money;
  cin>>X;
  money=100;
  while(money>X){
    money*100/1
  }
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before '}' token
    9 |     money*100/1
      |                ^
      |                ;
   10 |   }
      |   ~
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++;
              }
              cout<<step<<endl;
    return0;
}

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

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

int main(void)
{
long long int A[4000];
A[0] = 100;
long long int k;
cin>>k;
for(int i=1 ; i<4000 ; i++)
{
 A[i] = A[i-1]  + ( 0.01 * A[i-1])
if(A[i] >= k)
{
cout<<i<<endl;
return 0;
}
}

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:35: error: expected ';' before 'if'
   12 |  A[i] = A[i-1]  + ( 0.01 * A[i-1])
      |                                   ^
      |                                   ;
   13 | if(A[i] >= k)
      | ~~
Language: C++

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

int main() {
  int X;
  cin >> X;
  int P = 100;
  int counter = 1;
  for (int i = 0; i < 3760; i++) {
    P = (P * 101) / 100
    if (P < X) {
      counter++;
    }
    else
      break;
  }
  cout << counter << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:24: error: expected ';' before 'if'
   10 |     P = (P * 101) / 100
      |                        ^
      |                        ;
   11 |     if (P < X) {
      |     ~~                  
a.cc:14:5: error: 'else' without a previous 'if'
   14 |     else
      |     ^~~~
Language: C++

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

int main() {
  int X;
  cin >> X;
  int P = 100;
  int counter = 0;
  for (while P <= X) {
    P = P * 101 / 100;
    counter++;
  }
  cout << counter << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: expected primary-expression before 'while'
    9 |   for (while P <= X) {
      |        ^~~~~
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
a.cc:13:27: error: expected ')' before '}' token
   13 |   cout << counter << endl;
      |                           ^
      |                           )
   14 | }
      | ~                          
a.cc:9:7: note: to match this '('
    9 |   for (while P <= X) {
      |       ^
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(void){
long long n;cin>>n;
int m=100,a=0;
  for(int i=0;i<100000;i++){
    if(m>=n) braek;
    m+=m/100;
    a++;}
  cout<<a<<endl;
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: 'braek' was not declared in this scope; did you mean 'brk'?
    7 |     if(m>=n) braek;
      |              ^~~~~
      |              brk
Language: C++

#include<cstdio>
#include<cmath>
#include<iostream>
#include<algorithm>
#include<queue>
using namespace std;
int main(){
    long long int now=100;
    long long int X;
    cin>>X;
    for(int i=0;;i++){
        if(now>=X){
            cout<<i<<endl;
            return 0;
        }
        now=now+now/100;
 
    }
    return 0;

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

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

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

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

import java.util.Scanner;
//import java.util.Arrays;
public class Main{
	Scanner sc = new Scanner(System.in);
	long x = sc.nextLong();
	
	public static void main(String[] args){
		
		int count = 0;
		int yokin = 100;
		while(true){
			if(check100(yokin)){
				yokin += yokin;
				count += 100;
			}else{
				yokin += yokin / 100;
				count++;
				if(yokin >= x){break;}
			}
		}
		System.out.println(count);
	}
	
	static boolean check100(long y){
		y += y;
		return !(y >= x);
	}
}


Compiler output:
Main.java:18: error: non-static variable x cannot be referenced from a static context
				if(yokin >= x){break;}
				            ^
Main.java:26: error: non-static variable x cannot be referenced from a static context
		return !(y >= x);
		              ^
2 errors
Language: C++

#include<iostream>
using namespace std;
int main(){
int i;
  long long x;
  cin >> x;
long long money=100;
  int i;
  for(i=0;money<x;i++){
    money=money+money*101/100
  }
  cout << i << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: redeclaration of 'int i'
    8 |   int i;
      |       ^
a.cc:4:5: note: 'int i' previously declared here
    4 | int i;
      |     ^
a.cc:10:30: error: expected ';' before '}' token
   10 |     money=money+money*101/100
      |                              ^
      |                              ;
   11 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;
int main(){
int i;
  long long x;
  cin >> x;
long long money=100;
  int i;
  for(i=0;money<x;i++){
    money=money*101/100
  }
  cout << i << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: redeclaration of 'int i'
    8 |   int i;
      |       ^
a.cc:4:5: note: 'int i' previously declared here
    4 | int i;
      |     ^
a.cc:10:24: error: expected ';' before '}' token
   10 |     money=money*101/100
      |                        ^
      |                        ;
   11 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected ',' or ';' before 'int'
    8 |     int i;
      |     ^~~
a.cc:9:7: error: 'i' was not declared in this scope
    9 |   for(i=0;money<x;i++){
      |       ^
a.cc:12:11: error: 'i' was not declared in this scope
   12 |   cout << i << endl;
      |           ^
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected ',' or ';' before 'int'
    8 |     int i;
      |     ^~~
a.cc:9:7: error: 'i' was not declared in this scope
    9 |   for(i=0;money<x;i++){
      |       ^
a.cc:12:11: error: 'i' was not declared in this scope
   12 |   cout << i << endl;
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:14: error: expected initializer before 'x'
    4 |   long long0 x;
      |              ^
a.cc:5:10: error: 'x' was not declared in this scope
    5 |   cin >> x;
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: redeclaration of 'int i'
    8 |   int i;
      |       ^
a.cc:4:5: note: 'int i' previously declared here
    4 | int i;
      |     ^
a.cc:10:21: error: expected ';' before '}' token
   10 |     money=money*1.01
      |                     ^
      |                     ;
   11 |   }
      |   ~
Language: C++

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

Compiler output:
a.cc:11:1: error: 'cout' does not name a type
   11 | cout << i << endl:
      | ^~~~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: redeclaration of 'int i'
    8 |   int i;
      |       ^
a.cc:4:5: note: 'int i' previously declared here
    4 | int i;
      |     ^
a.cc:10:21: error: expected ';' before '}' token
   10 |     money=money*1.01
      |                     ^
      |                     ;
   11 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;
int main(){
  long long x;
  cin >> x;
  long long money=100;
  int i;
  for(i=0;money<x;i++){
    money=money*i.0i;
  }
  cout << i << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected ';' before numeric constant
    9 |     money=money*i.0i;
      |                  ^~~
      |                  ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: expected ';' before 'x'
    5 |   cin x;
      |      ^~
      |      ;
Language: C++

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

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

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

int main() {
  long long x;cin>>x;
  long long s=0;
  long long d=100;
  while(d<n){
    d*=1.01;
    s++;
  }cout<<s+1<<endl;
}


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: 'n' was not declared in this scope
    5 |   long long x;cin>>n;
      |                    ^
a.cc:11:12: error: expected primary-expression before '<<' token
   11 |   }cout<<s+<<endl;
      |            ^~
Language: C++

    #include <bits/stdc++.h>
    #include<cmath>
    #include<iostream>
    using namespace std; 
     
    int main() 
    { 
      float h=100;
      int count=0;
      while(h<x)
      {
          h=h+(0.01)*h;
        count++;
      }
      cout<<count;
      
     
    }

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

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

int main() 
{ 
  int h=100;
  int count=0;
  while(sum<x)
  {
     float f=h+(0.01)*h;
    count++;
  }
  cout<<count;
  
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'sum' was not declared in this scope
   10 |   while(sum<x)
      |         ^~~
a.cc:10:13: error: 'x' was not declared in this scope
   10 |   while(sum<x)
      |             ^
Language: C++

#include<iostream>
using namespace std;

int main() {
	long long goal = 0;
	cin >> goal;

	long long box = 100;

	for (int i = 0; i < 1e18; i++) {
		floor(box *= 1.01);
		if (goal <= box) {
			cout << box << endl;
			break;
		}
	}
}

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

#include<iostream>
#include <bits/stdc++.h> 
using namespace std; 
int main() 
{
   long long int t,c=0;
    scanf("%lld",&t);
  long long int yen=100,amt=0;
  while(yen<=t)
  {
      ++c;
    yen=yen+(long long int)(yen)/100;
  }
  printf("%lld",c);
}

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

import math
x = int(input())
money = 100.0
year = 0

while money < x:
    money += money / 100;
    money = math.floor(money)
    year += 1
    
print(year)

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import math
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:8:5: error: 'money' does not name a type
    8 |     money = math.floor(money)
      |     ^~~~~
Language: C++

#include <iostream>
using namespace std;
#define int long loong

signed main(void){
// Your code here!
int i,p;
int ans = 0;
cin >> i;
p=100;
/*
for(int o=1;;o++){
    p=p*1.01;
    if(p>=i){
        cout << o;
        return 0;
    }
}*/

while(p < i)
{
    ans ++;
    p *= 1.01;
}
cout << ans;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected initializer before 'i'
    7 | int i,p;
      |     ^
a.cc:8:5: error: expected initializer before 'ans'
    8 | int ans = 0;
      |     ^~~
a.cc:9:8: error: 'i' was not declared in this scope
    9 | cin >> i;
      |        ^
a.cc:10:1: error: 'p' was not declared in this scope
   10 | p=100;
      | ^
a.cc:22:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   22 |     ans ++;
      |     ^~~
      |     abs
a.cc:25:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   25 | cout << ans;
      |         ^~~
      |         abs
Language: C

#include <bits/stdc++.h>
 using namespace std;
int main(){
long long X;
cin >> X;
long long Point = 100, s = 0;
while(Point < X){
 Point += Point / 100;
s++;
 }
cout << s << 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++

using namespace std;
int main(){
    long long x;
    cin >> x;
    long long p = 100, yr = 0;
    while p < x{
        p += p / 100;
        yr ++;
    }
    cout << yr << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     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:6:11: error: expected '(' before 'p'
    6 |     while p < x{
      |           ^
      |           (
a.cc:6:16: error: expected ')' before '{' token
    6 |     while p < x{
      |           ~    ^
      |                )
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << yr << endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:19: error: 'endl' was not declared in this scope
   10 |     cout << yr << 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++

using namespace std;
int main(){
    long long x;
    cin >> x;
    long long p, yr = 0;
    while p < x{
        p += p / 100;
        yr ++;
    }
    cout << yr << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     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:6:11: error: expected '(' before 'p'
    6 |     while p < x{
      |           ^
      |           (
a.cc:6:16: error: expected ')' before '{' token
    6 |     while p < x{
      |           ~    ^
      |                )
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << yr << endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:19: error: 'endl' was not declared in this scope
   10 |     cout << yr << 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++

using namespace std;
int main(){
    long long x;
    cin >> x,
    long long p, yr = 0;
    while p < x{
        p += p / 100;
        yr ++;
    }
    cout << yr << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     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:5:5: error: expected primary-expression before 'long'
    5 |     long long p, yr = 0;
      |     ^~~~
a.cc:6:11: error: expected '(' before 'p'
    6 |     while p < x{
      |           ^
      |           (
a.cc:6:11: error: 'p' was not declared in this scope
a.cc:6:16: error: expected ')' before '{' token
    6 |     while p < x{
      |           ~    ^
      |                )
a.cc:8:9: error: 'yr' was not declared in this scope
    8 |         yr ++;
      |         ^~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << yr << endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:13: error: 'yr' was not declared in this scope
   10 |     cout << yr << endl;
      |             ^~
a.cc:10:19: error: 'endl' was not declared in this scope
   10 |     cout << yr << 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++

using namespace std;
int main(){
    long long x;
    cin >> x,
    long long p, yr = 0;
    while p < x{
        p += p / 100
        yr ++
    }
    cout << yr << endl;
    return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     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:5:5: error: expected primary-expression before 'long'
    5 |     long long p, yr = 0;
      |     ^~~~
a.cc:6:11: error: expected '(' before 'p'
    6 |     while p < x{
      |           ^
      |           (
a.cc:6:11: error: 'p' was not declared in this scope
a.cc:6:16: error: expected ')' before '{' token
    6 |     while p < x{
      |           ~    ^
      |                )
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << yr << endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:13: error: 'yr' was not declared in this scope
   10 |     cout << yr << endl;
      |             ^~
a.cc:10:19: error: 'endl' was not declared in this scope
   10 |     cout << yr << 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;
a.cc:11:13: error: expected ';' before '}' token
   11 |     return 0
      |             ^
      |             ;
   12 | }
      | ~