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

#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cstring>
#include <ctime>

using namespace std;

#define dump(x)  cerr << #x << " = " << (x) << endl;
#define PB push_back
#define MP make_pair
#define ll long long

inline int toInt(string s){int v;istringstream sin(s);sin>>v;return v;}
template<class T> inline string toString(T x){ostringstream sout;sout<<x;return sout.str();}

int main(){
    std::ios::sync_with_stdio(false);
    ll a, b, c;
    cin >> a >> b >> c;

    cout << (sqrt(a) + sqrt(b) < sqrt(c)) ? "Yes" : "No") << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:57: error: expected ';' before ')' token
   39 |     cout << (sqrt(a) + sqrt(b) < sqrt(c)) ? "Yes" : "No") << endl;
      |                                                         ^
      |                                                         ;
Language: C++

/* ****TCIITB**** */

#include<bits/stdc++.h>
#define io          ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0); 
#define ll          long long
#define pb          push_back
#define	endl		'\n'
#define pii         pair<ll int,ll int>
#define vi          vector<ll int>
#define all(a)      (a).begin(),(a).end()
#define F           first
#define S           second
#define sz(x)       (ll int)x.size()
#define hell        1000000007
#define rep(i,a,b)	for(ll int i=a;i<b;i++)
#define lbnd        lower_bound
#define ubnd        upper_bound
#define bs          binary_search
#define mp          make_pair
#define time        cerr << "\nTime elapsed: " << 1000 * clock() / CLOCKS_PER_SEC << "ms\n";
using namespace std;

#define N  100005

int main()
{
	
	io

	ll a,b,c;
	cin>>a>>b>>c;
	long long double v1=sqrt(a*1.0);
	long long double v2=sqrt(b*1.0);
	long long double v3=sqrt(c*1.0);
	long long double lhs=v1+v2;
	long long double rhs=v3;
	if(lhs<rhs)
		cout<<"Yes";
	else
		cout<<"No";
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:14: error: 'long long' specified with 'double'
   32 |         long long double v1=sqrt(a*1.0);
      |              ^~~~
a.cc:33:14: error: 'long long' specified with 'double'
   33 |         long long double v2=sqrt(b*1.0);
      |              ^~~~
a.cc:34:14: error: 'long long' specified with 'double'
   34 |         long long double v3=sqrt(c*1.0);
      |              ^~~~
a.cc:35:14: error: 'long long' specified with 'double'
   35 |         long long double lhs=v1+v2;
      |              ^~~~
a.cc:36:14: error: 'long long' specified with 'double'
   36 |         long long double rhs=v3;
      |              ^~~~
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-1;i>=0;i--)
#define MAX(a,b) a=a>b?a:b
#define MIN(a,b) a=a<b?a:b
#define REP(i,x,n) for(int i=x;i<n;i++)
#define REPR(i,x,n) for(int i=n-1;i>=x;i--)
#define pb  push_back
#define ALL(obj) (obj).begin(), (obj).end()
#define ALLr(obj) (obj).rbegin(), (obj).rend()
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const ll MOD = 1e9 + 7;
int main(){
   ll a,b,c;
   cin>>a>>b>>c;
   long long double x=sqrt(a),y=sqrt(b),z=sqrt(c);
   if(x+y<z)cout<<"Yes"<<endl;
   else cout<<"No"<<endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:9: error: 'long long' specified with 'double'
   20 |    long long double x=sqrt(a),y=sqrt(b),z=sqrt(c);
      |         ^~~~
a.cc:20:9: error: 'long long' specified with 'double'
a.cc:20:9: error: 'long long' specified with 'double'
Language: C++

#include <bits/stdc++.h>

int main() {
  long long a, b, c;
  std::cin >> a >> b >> c;
  if (std::sqrt(a) + std::sqrt(b) < std::sqrt(c) std::cout << "Yes" << std::endl;
  else std::cout << "No" << std::endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:49: error: expected ';' before 'std'
    6 |   if (std::sqrt(a) + std::sqrt(b) < std::sqrt(c) std::cout << "Yes" << std::endl;
      |                                                 ^~~~
      |                                                 ;
a.cc:7:3: error: expected primary-expression before 'else'
    7 |   else std::cout << "No" << std::endl;
      |   ^~~~
a.cc:6:82: error: expected ')' before 'else'
    6 |   if (std::sqrt(a) + std::sqrt(b) < std::sqrt(c) std::cout << "Yes" << std::endl;
      |      ~                                                                           ^
      |                                                                                  )
    7 |   else std::cout << "No" << std::endl;
      |   ~~~~
Language: C++

a,b,c = gets.split.map(&:to_i)
if 4*a*b<(c-a-b)**2
    puts "Yes"
else
    puts "No"
end

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b,c = gets.split.map(&:to_i)
      | ^
Language: C++

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

int main() {
  double a,b,c;
  cin >> a >> b >> c;
  if(a+b+2*sqrt(a)*srqt(b) < c){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
  
  
      
 
}

// int型の2次元配列(3×4要素の)の宣言
  //vector<vector<int>> data(3, vector<int>(4));
 
  // 入力 (2重ループを用いる)
  //for (int i = 0; i < 3; i++) {
    //for (int j = 0; j < 4; j++) {
      //cin >> data.at(i).at(j);
   // }
  //}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: 'srqt' was not declared in this scope; did you mean 'sqrt'?
    7 |   if(a+b+2*sqrt(a)*srqt(b) < c){
      |                    ^~~~
      |                    sqrt
Language: C++

a,b,c = list(map(int,input().split()))
if a**0.5+b**0.5 < c**0.5:
	print("Yes");
else:
	print("No")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b,c = list(map(int,input().split()))
      | ^
a.cc:4:1: error: expected unqualified-id before 'else'
    4 | else:
      | ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	int a, b, c;
	cin >> a >> b >> c;

	double fa = sqrt(a);
	double fb = sqrt(b);
	double fc = sqrt(c);

	if (fa + fb < fc) {
		cout << "Yes" << "\n";
	}
	else {
		cout << "No" << "\n";
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: 'sqrt' was not declared in this scope
    8 |         double fa = sqrt(a);
      |                     ^~~~
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<utility>
#include<vector>

using namespace std;

int main(){
	int a, b, c;
	double sa, sb, sc;
	cin >> a >> b >> c;
	sa = sqrt(a);
	sb = sqrt(b);
	sc = sqrt(c);
	if (sa + sb < sc) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
}

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

//P.C.2.0.
#include <bits/stdc++.h>
#include <unordered_map>
using namespace std;
#define speed ios_base::sync_with_stdio(false);cin.tie(NULL);
#define ll long long int
#define ul unsigned long int
#define mod 1000007
#define endl "\n"
////fast power
ll power(ll a,ll b){
    if(b==0)return 1;
    ll smallans=power(a,b/2);
    smallans=smallans*smallans;
    if(b%2==0)return smallans;
    else return a*smallans;}
////
int main(){
    ////
    speed
    ////
    ll a;
    ll b;
    ll c;
    cin>>a>>b>>c;
    if(sqrt(c)=>(sqrt(a)+sqrt(b))){
        cout<<"Yes"<<endl;
    }
    else{
        cout<<"No"<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:16: error: expected primary-expression before '>' token
   26 |     if(sqrt(c)=>(sqrt(a)+sqrt(b))){
      |                ^
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <math.h>
using namespace std;
typedef long long ll;
const double EPS = 1e-9;
typedef vector<int> vint;
typedef pair<int, int> pint;
#define inf 1e+9
#define rep(i, n) REP(i, 0, n)
#define all(v) v.begin(), v.end()
#define msg(a) cout << #a << " " << a << endl;
#define REP(i, x, n) for(int i = x; i < n; i++)
#define pri(a) cout << a << endl;

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

  ll a,b,c,ans=0;
  cin >> a >> b >> c;

  num = a*b;

  if(a+b+2*sqrt(num)<c){
    pri("Yes");
  }
  else{
    pri("No");
  }

}


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

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

int main(){
  long int a,b,c;
  scanf("%ld%ld%ld",a,b,c);
  as = long double sqrt(long double a);
  bs = long double sqrt(long double b);
  cs = long double sqrt(long double c);
  printf("%lf",as);
  
  
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'as' was not declared in this scope; did you mean 'a'?
    8 |   as = long double sqrt(long double a);
      |   ^~
      |   a
a.cc:8:8: error: expected primary-expression before 'long'
    8 |   as = long double sqrt(long double a);
      |        ^~~~
a.cc:9:3: error: 'bs' was not declared in this scope; did you mean 'b'?
    9 |   bs = long double sqrt(long double b);
      |   ^~
      |   b
a.cc:9:8: error: expected primary-expression before 'long'
    9 |   bs = long double sqrt(long double b);
      |        ^~~~
a.cc:10:3: error: 'cs' was not declared in this scope; did you mean 'c'?
   10 |   cs = long double sqrt(long double c);
      |   ^~
      |   c
a.cc:10:8: error: expected primary-expression before 'long'
   10 |   cs = long double sqrt(long double c);
      |        ^~~~
Language: C++

#include <iostream>
#include <string>
#include <math.h>
#include <vector>
#include <algorithm>
#include <iomanip>
#include <set>
#include <queue>
#include <deque>
#include <map>
using namespace std;

#define mod 1000000007
#define ten5 100005
#define ten52 200005
#define ten6 1000005
#define PI 3.1415926
#define pb(x) push_back(x)
#define all(x) x.begin(),x.end()

typedef long long int ll;

//ll num[50];
//ll num2[50];
ll num[10];
//set<ll> sll;
//map<string,ll> mp,mp1;
//map<string,ll>::iterator iter;
//deque<char> deq;

int main(void)
{
    double ans=0.0,d,d1,d2;
    //float f,g,h;
    long long int m,n,i,j,k=1;
    long long int a,a1=0,a2=0,a3=0;
    string s;
    char c,c1;
    a=a1=a2=a3=0;
    cin>>d1>>d2>>d;
    d1*=10000;
    d2*=10000;
    d3*=10000;
    d1=sqrt(d1);
    d2=sqrt(d2);
    d=sqrt(d);
    if(d1+d2>=d) cout<<"No";
    else cout<<"Yes";
    return 0;
}





Compiler output:
a.cc: In function 'int main()':
a.cc:43:5: error: 'd3' was not declared in this scope; did you mean 'a3'?
   43 |     d3*=10000;
      |     ^~
      |     a3
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<utility>
#include<vector>

using namespace std;

int main(){
	double a, b, c, sa, sb, sc;
	cin >> a >> b >> c;
	sa = sqrt(a);
	sb = sqrt(b);
	sc = sqrt(c);
	if (sa + sb < sc) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
}

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

//
// Created by misclicked on 2020/3/14.
//

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
typedef pair<int, int> pii;

#define ONLINE_JUDGE
#ifdef ONLINE_JUDGE
#define cerr if (false) cerr
#endif

int main() {
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    freopen("debug.txt", "w", stderr);
#else
    ios_base::sync_with_stdio(false);
    cin.tie();
#endif
    long double a, b, c;
    cin >> a >> b >> c;
    long double left = a + b + 2 * sqrtl(a * b);
    long double right = c;
    if (left < right) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}}

Compiler output:
a.cc:34:2: error: expected declaration before '}' token
   34 | }}
      |  ^
Language: C++

#include "stdafx.h"
#include <bits/stdc++.h>
#define f(i,n) for(int i=0;i<n;i++)
#define P pair<int,int>
#define F first
#define S second
#define int long long
#define mod 1000000007
#define mmod 998244353
#define all(v) v.begin(), v.end()
using namespace std;
int mypow(int a, int b, int c) {
	if (b == 0)return 1;
	if (b % 2)return mypow(a, b - 1, c)*a%c;
	int z = mypow(a, b / 2, c);
	return z * z%c;
}
signed main() {
	double a, b, c;
	cin >> a >> b >> c;
	if (c>=a+b&&(c-a-b)*(c-a-b)>4*a*b)cout << "Yes" << endl;
	else puts("No");
}


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

//
// Created by misclicked on 2020/3/14.
//

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
typedef pair<int, int> pii;

#define ONLINE_JUDGE
#ifdef ONLINE_JUDGE
#define cerr if (false) cerr
#endif

int main() {
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    freopen("debug.txt", "w", stderr);
#else
    ios_base::sync_with_stdio(false);
    cin.tie();
#endif
    long double a, b, c;
    cin >> a >> b >> c;
    long double left = a + b + 2 * sqrtl(a * b);
    long double right = c;
    if (left < right) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}//
// Created by misclicked on 2020/3/14.
//

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
typedef pair<int, int> pii;

#define ONLINE_JUDGE
#ifdef ONLINE_JUDGE
#define cerr if (false) cerr
#endif

int main() {
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    freopen("debug.txt", "w", stderr);
#else
    ios_base::sync_with_stdio(false);
    cin.tie();
#endif
    long double a, b, c;
    cin >> a >> b >> c;
    long double left = a + b + 2 * sqrtl(a * b);
    long double right = c;
    if (left < right) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}

Compiler output:
a.cc:49:5: error: redefinition of 'int main()'
   49 | int main() {
      |     ^~~~
a.cc:16:5: note: 'int main()' previously defined here
   16 | int main() {
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	float n,m,k;
	cin>>n>>m>>k;
	n=sqrt(n);
	m=sqrt(m);
	k=sqrt(k)
	if(n+m<k)
		cout<<"Yes";
	else
		cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected ';' before 'if'
    9 |         k=sqrt(k)
      |                  ^
      |                  ;
   10 |         if(n+m<k)
      |         ~~        
a.cc:12:9: error: 'else' without a previous 'if'
   12 |         else
      |         ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <math.h>
using namespace std;
typedef long long ll;
const double EPS = 1e-9;
typedef vector<int> vint;
typedef pair<int, int> pint;
#define inf 1e+9
#define rep(i, n) REP(i, 0, n)
#define all(v) v.begin(), v.end()
#define msg(a) cout << #a << " " << a << endl;
#define REP(i, x, n) for(int i = x; i < n; i++)
#define pri(a) cout << a << endl;

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

  ll a,b,c,ans=0;
  cin >> a >> b >> c;

  if(a*a+b*b+sqrt(a*b)<c{
    pri("Yes");
  }
  else{
    pri("No");
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:25:25: error: expected ')' before '{' token
   25 |   if(a*a+b*b+sqrt(a*b)<c{
      |     ~                   ^
      |                         )
a.cc:32:1: error: expected primary-expression before '}' token
   32 | }
      | ^
Language: C

import numpy as np
a, b, c = map(int,input().split())
if np.sqrt(a)+np.sqrt(b) < np.sqrt(c):
  print("Yes")
else :
  print("No")

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import numpy as np
      | ^~~~~~
main.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'as'
    1 | import numpy as np
      |              ^~
main.c:1:14: error: unknown type name 'as'
Language: C++

#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <cmath>
typedef long long ll;
#define all(x) (x).begin(), (x).end()  // sortなどの引数を省略
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define max3(x, y, z) max(x, max(y, z))

#ifdef _MSC_FULL_VER  //デバッグ出力
#define dout cout
#define debug() if (true)
#define check(x) std::cout << "★" << #x << "の値:" << (x) << endl
#define pass(x) std::cout << "☆" << x << endl
#else
#define dout \
  if (false) cout
#define debug() if (false)
#define check(x) \
  if (false) cout << "★" << #x << "の値:" << (x) << endl
#define pass(x) \
  if (false) cout << "☆" << x << endl
#endif
using namespace std;
int main() {
  ll a,b,c;
  if (sqrt(a) + sqrt(b) < sqrt(c)) {
    cout << "No"
  } else {
    cout << "Yes"
  }
  return 0;
}
/*
//よく使うやつ
int N;
cin >> N;
vector<int> list(N);
for (int i = 0; i < N; i++) {
  cin >> list[i];
}
// for文
for (int i = 0; i < N; i++) {
}
//配列
vector<int> vec;
vec.at(i)
vector<vector<int>> vec(10, vector<int>(10));
sort(all(vec));
sort(all(vec), greater<int>());
    //配列の内容表示
dout << "====vecの内容====\n";
for (int i = 0; i < N; i++) dout << vec[i] << endl;
dout << "====ここまで====\n";
*/

Compiler output:
a.cc: In function 'int main()':
a.cc:29:17: error: expected ';' before '}' token
   29 |     cout << "No"
      |                 ^
      |                 ;
   30 |   } else {
      |   ~              
a.cc:31:18: error: expected ';' before '}' token
   31 |     cout << "Yes"
      |                  ^
      |                  ;
   32 |   }
      |   ~
Language: C++

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


#define MOD 1000000007

using namespace std;

long long int modpow(long long int a, long long int n) {
	if (n == 0)return 1;
	if (n == 1)return (a % MOD);

	long long int hanbun = n / 2;
	long long int amari = n % 2;

	long long int ans = (a * a) % MOD;
	ans = modpow(ans, hanbun);

	if (amari == 1)ans *= a;

	ans %= MOD;

	return ans;

}

long long int gcd(long long int a, long long int b) {
	if (a < b) {
		long long int tmp = a;
		a = b;
		b = tmp;
	}

	long long int amari = a % b;

	if (amari == 0)return b;

	return gcd(b, amari);
}

long long int lcm(long long int a, long long int b) {
	long long int ans = (a * b) % MOD;
	long long int wari = modpow(gcd(a, b), MOD - 2);
	ans = (ans * wari) % MOD;
	return ans;
}

long long int factElement[10000] = { 0 };

long long int factrial(int n) {

	if (factElement[n] != 0)return factElement[n];

	if (n == 0) {
		factElement[0] = 1;
		return factElement[n];
	}

	long long int ans = n * factrial(n - 1);
	factElement[n] = ans;
	return factElement[n];

}


int main()
{

	double a, b, c;

	cin >> a >> b >> c;

	if (sqrt(a) + sqrt(b) < sqrt(c)) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}



	




	return 0;

}



Compiler output:
a.cc: In function 'int main()':
a.cc:79:13: error: 'sqrt' was not declared in this scope
   79 |         if (sqrt(a) + sqrt(b) < sqrt(c)) {
      |             ^~~~
Language: C++

#include<bits/stdc++.h> 

using namespace std;

typedef short sho;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef double db;
typedef string str; 
 
typedef pair<int,int> pii;
typedef pair<ll,ll> pll; 
typedef pair<ld,ld> pld;
 
typedef vector<int> vi; 
typedef vector<ll> vl; 
typedef vector<ld> vd;
typedef vector<str> vs;
typedef vector<pii> vpi;
typedef vector<pll> vpl;
typedef vector<pld> vpd;

#define STDIO
#define mp make_pair 
#define FF first
#define SS second
#define sz(x) (int)x.size()
#define begin(x) (x).begin() 
#define end(x) (x).end()
#define rbegin(x) (x).rbegin()
#define rend(x) (x).rend()
#define all(x) begin(x), end(x)
#define rall(x) rbegin(x), rend(x)
#define rsz resize
#define ins insert
#define ft front()
#define bk back()
#define pf push_front 
#define pb push_back
#define pp push
#define lb lower_bound 
#define ub upper_bound

inline void checkmin(int &x, int y){x = min(x, y);}
inline void checkmax(int &x, int y){x = max(x, y);}

int a,b,c;

int main() 
{
	#ifndef STDIO
		freopen("input.txt","r",stdin);
		freopen("output.txt","w",stdout);
	#endif
	ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    /* start code */
    cin>>a>>b>>c;
    lb sa=sqrt(a),sb=sqrt(b),sc=sqrt(c);
    lb sum=sa+sb;
    if(sum<sc)
    {
    	cout<<"Yes"<<endl;
	}
	else
	{
		cout<<"No"<<endl;
	}
    /* end code */
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:61:8: error: expected ';' before 'sa'
   61 |     lb sa=sqrt(a),sb=sqrt(b),sc=sqrt(c);
      |        ^~
a.cc:61:40: error: statement cannot resolve address of overloaded function
   61 |     lb sa=sqrt(a),sb=sqrt(b),sc=sqrt(c);
      |                                        ^
a.cc:62:8: error: expected ';' before 'sum'
   62 |     lb sum=sa+sb;
      |        ^~~
a.cc:62:17: error: statement cannot resolve address of overloaded function
   62 |     lb sum=sa+sb;
      |                 ^
a.cc:63:8: error: 'sum' was not declared in this scope
   63 |     if(sum<sc)
      |        ^~~
a.cc:63:12: error: 'sc' was not declared in this scope; did you mean 'c'?
   63 |     if(sum<sc)
      |            ^~
      |            c
Language: C++

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

typedef long long ll;
typedef pair<ll,ll> pi;
typedef vector <ll> vi;
typedef vector <pi> vpi;
#define f first
#define s second
#define FOR(i,s,e) for(ll i=s;i<=ll(e);++i)
#define DEC(i,s,e) for(ll i=s;i>=ll(e);--i)
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define lbd(x, y) lower_bound(all(x), y)
#define ubd(x, y) upper_bound(all(x), y)
#define aFOR(i,x) for (auto i: x)
#define mem(x,i) memset(x,i,sizeof x)
#define fast ios_base::sync_with_stdio(false),cin.tie(0)
#define int ll
int a,b,c;

int main(){
	fast;
	
	cin>>a>>b>>c;
	
	int d = c - a - b;
	
	if (d < 0){
		if (4 * a * b > d * d) cout<<"Yes";
		else cout<<"No";
	}else{
		if (4 * a * b < d * d) cout<<"Yes";
		else cout<<"No";
	}
	
}



Compiler output:
a.cc:19:13: error: '::main' must return 'int'
   19 | #define int ll
      |             ^~
a.cc:22:1: note: in expansion of macro 'int'
   22 | int main(){
      | ^~~
Language: C++

// C.

#include <iostream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <numeric>
#include <set>
#include <cassert>

using namespace std;

typedef long double LD;

int main(int argc, char* argv[]) {
#ifdef _MSC_VER
	while (true)
#endif
	{
		int a = -1, b, c;
		cin >> a >> b >> c;
		if (a < 0) return 0;
		LD A = a, B = b, C = c;
		LD p = sqrt(A) + sqrt(B) + 1e-12, q = sqrt(C);
		bool ans = p < q;
		cout << (ans ? "Yes" : "No") << endl;
	}
	return 0;
}


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:24:24: error: 'sqrt' was not declared in this scope
   24 |                 LD p = sqrt(A) + sqrt(B) + 1e-12, q = sqrt(C);
      |                        ^~~~
a.cc:25:32: error: 'q' was not declared in this scope
   25 |                 bool ans = p < q;
      |                                ^
Language: C++

#include <bits/stdc++.h>
#define max(x, y) ((x) > (y) ? (x) : (y))
#define min(x, y) ((x) < (y) ? (x) : (y))
#define rep(i,a,m) for((i) = (a) ; (i) < (m) ; ++(i))
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define all(x) x.begin(),x.end()
#define rall(x) x.end(),x.begin()
#define sz(x) ((int)x.size())
using namespace std;
#ifdef JUDGE
#include <fstream>
std::ifstream cin("input.txt");
std::ofstream cout("output.txt");
#else
#include <iostream>
using std::cin;
using std::cout;
#endif
typedef unsigned long long ull;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vi> vvi;
typedef vector<vl> vvl;
typedef pair<int,int> pi;

int main ()
{
	int t,T;
    long long a,b,c;
	scanf("%lld%lld%lld",&a,&b,&c);
    ll f = a-b;
    ll x = a*c, y = b*c;
    //cout << f << " " << sqrt(x) << " " << sqrt(y) << endl;
    bool x = (f < sqrt(x) - sqrt(y));
    if (a-b > 0){
        cout << "No\n";
    } else {
        cout << "Yes\n";

    }
   
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:38:10: error: conflicting declaration 'bool x'
   38 |     bool x = (f < sqrt(x) - sqrt(y));
      |          ^
a.cc:36:8: note: previous declaration as 'll x'
   36 |     ll x = a*c, y = b*c;
      |        ^
Language: C++

import math
a, b, c = map(float, input().split())
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
  print("Yes")
else:
  print("No")

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;
#define pb push_back
#define fi first
#define se second
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repp(i, a, b) for (int i = a; i <= (b); ++i)
#define repr(i, a, b) for (int i = a; i >= (b); --i)
#define bit(n) (1LL << (n))
#define len(x) ((ll)(x).size())
#define debug(var) cout << "[" << #var << "]\n" << var << endl
#define int long long
typedef long long ll;
const int INF = 1001001001001001001ll;
const ll LINF = 1001001001001001001ll;
const int MOD = 1000000007;
const double EPS = 1e-9;

template <typename T>
ostream& operator<<(ostream& s, const vector<T>& v) {
  int len = v.size();
  for (int i = 0; i < len; ++i) {
    s << v[i];
    if (i < len - 1)
      s << ' ';
  }
  return s;
}

template <typename T>
ostream& operator<<(ostream& s, const vector<vector<T>>& vv) {
  int len = vv.size();
  for (int i = 0; i < len; ++i) {
    s << vv[i];
    if (i != len - 1)
      s << '\n';
  }
  return s;
}

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;
}

__attribute__((constructor)) void initial() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(15);
}

#include <boost/multiprecision/cpp_int.hpp>
typedef boost::multiprecision::cpp_int bint;

signed main() {
  bint a, b, c;
  cin >> a >> b >> c;

  bint lhs = a * b * 4;
  bint rhs = (c - a - b) * (c - a - b);

  if (lhs < rhs)
    cout << "Yes\n";
  else
    cout << "No\n";
}

Compiler output:
a.cc:67:10: fatal error: boost/multiprecision/cpp_int.hpp: No such file or directory
   67 | #include <boost/multiprecision/cpp_int.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<bits/stdc++.h>
#include<cmath>
#include<bitset>
#include<stack>
#include<queue>
#define ll long long
#define itn int
#define co(ans) cout<<ans<<endl;
#define COYE cout<<"YES"<<endl;
#define COYe cout<<"Yes"<<endl;
#define COye cout<<"yes"<<endl;
#define CONO cout<<"NO"<<endl;
#define CONo cout<<"No"<<endl;
#define COno cout<<"no"<<endl;
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define FFOR(i,a,b) for(int i=(a);i<=(b);++i)
#define REP(i,n)  FOR(i,0,n)
#define RREP(i,n)  FFOR(i,1,n)
#define SORT(V) sort((V).begin(),(V).end())
#define REVERSE(V) reverse((V).begin(),(V).end())
#define INF ((1LL<<62)-(1LL<<31))
#define MOD 1000000007
#define MAX 510000
template<class T>bool chmax(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;}
using namespace std;


int main(){
  long long double A,B,C;
  cin>>A>>B>>C;
  
  if(A+B+2*sqrt(A*B)<C) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:8: error: 'long long' specified with 'double'
   34 |   long long double A,B,C;
      |        ^~~~
a.cc:34:8: error: 'long long' specified with 'double'
a.cc:34:8: error: 'long long' specified with 'double'
Language: C++

a, b, c = map(int, input().split())
if (a + b >= c):
	lhs = (a + b - c) * (a + b - c)
	rhs = 4 * a * b
else:
	lhs = 4 * a * b
	rhs = (c - a - b) * (c - a - b)
	
if (lhs < rhs):
	print("Yes")
else:
	print("No")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b, c = map(int, input().split())
      | ^
Language: C++

#include<iostream>

using namespace std;

typedef long long ll;

int main() {
	ll a, b, c;
	cin >> a >> b >> c;
	ll tmp = c - a - b;
	double tmp2 = (double)tmp;
	if (tmp2 > 2.0 * sqrt(a * b))cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:26: error: 'sqrt' was not declared in this scope
   12 |         if (tmp2 > 2.0 * sqrt(a * b))cout << "Yes" << endl;
      |                          ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <bitset>
#include <functional>
#include <queue>
#include <algorithm>
#include <map>
#include <set>
#include <tuple>
using namespace std;

template <class T> void chmax(T &x, T y) {if(x<y) x=y;}
template <class T> void chmin(T &x, T y) {if(x>y) x=y;}



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

    long double a,b,c;
    cin>>a>>b>>c;
    if(sqrt(a)+sqrt(b)<sqrt(c))
    {
        cout << "Yes" << "\n";
    }
    else
    {
        cout << "No" << "\n";
    }
}

Compiler output:
a.cc:17:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   17 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:23:8: error: 'sqrt' was not declared in this scope
   23 |     if(sqrt(a)+sqrt(b)<sqrt(c))
      |        ^~~~
Language: C++

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

int main() {
long long a,b,c;
cin >> a >> b >>c;
long double sahen=(long double)a+(long double)b+2*sqrt(a*b);
long double uhenn=(long double)c;
if(sahen<uhenn){cout << "Yes";}
else{cout << "No"}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: expected ';' before '}' token
   10 | else{cout << "No"}
      |                  ^
      |                  ;
Language: C

#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<stdint.h>
#include<stdbool.h>
#include<tgmath.h>
#include<time.h>
#define ll long long
#define min(a,b) ((a)>(b)?(b):(a))
#define max(a,b) ((a)>(b)?(a):(b))
#define miin(a,b,c) min((a), min((b), (c)))
#define maax(a,b,c) max((a), max((b), (c)))

int a, b, c;
int main(){
    scanf("%d%d%d",&a,&b,&c);
    put(sqrt(a)+sqrt(b)<sqrt(c)?"Yes":"No");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:5: error: implicit declaration of function 'put'; did you mean 'puts'? [-Wimplicit-function-declaration]
   17 |     put(sqrt(a)+sqrt(b)<sqrt(c)?"Yes":"No");
      |     ^~~
      |     puts
Language: C++

#include "stdafx.h"
#include <bits/stdc++.h>
#define f(i,n) for(int i=0;i<n;i++)
#define P pair<int,int>
#define F first
#define S second
#define int long long
#define mod 1000000007
#define mmod 998244353
#define all(v) v.begin(), v.end()
using namespace std;
int mypow(int a, int b, int c) {
	if (b == 0)return 1;
	if (b % 2)return mypow(a, b - 1, c)*a%c;
	int z = mypow(a, b / 2, c);
	return z * z%c;
}
signed main() {
	double a, b, c;
	cin >> a >> b >> c;
	if (sqrt(a) + sqrt(b) < sqrt(c))cout << "Yes" << endl;
	else puts("No");
}


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

//JAI SAI RAM.//
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
ll P=1000000007;
int main()
{
    ll i,j,k,l,m,n,o,p,q,r,s,t,a,b,c;
    double x,y,z,xx,yy,zz;
    cin>>a>>b>>c
    x=a;
    y=b;
    z=c;
    xx=sqrt(x);
    yy=sqrt(y);
    zz=sqrt(z);
   if(zz>(xx+yy))
   {
       cout<<"Yes\n";
   }
   else 
   cout<<"No\n";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before 'x'
   10 |     cin>>a>>b>>c
      |                 ^
      |                 ;
   11 |     x=a;
      |     ~
Language: C++

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

int main() {
long long a,b,c;
cin >> a >> b >>c;
double sahen=(double)a+(double)b+2*sqrt(a*b);
double uhenn=(double)c;
if(sahen<uhenn){cout << "Yes";}
else{cout << "No"}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: expected ';' before '}' token
   10 | else{cout << "No"}
      |                  ^
      |                  ;
Language: C++

/*
 * Codeforces Contest
 * Au: Lost_Deviation
 */
#ifndef open_dbg_func
#define err(args...)
#endif
#include <bits/stdc++.h>
using namespace std;
#define ll long long
static auto XxXOxO = []() {
    std::ios::sync_with_stdio(false); // turn off sync
    cin.tie(nullptr);                 // untie in/out streams
    return 0;
}();
struct T {
    int x, y;
};
int cmp(const T &a, const T &b) {
    if (a.x != b.x)
        return (a.x < b.x);
    else
        return (a.y < b.y);
}
int a[32] = {1, 1, 1, 2, 1, 2, 1, 5,  2, 2, 1, 5, 1, 2, 1, 14,
             1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51};
const double esp = 1e-8;
int main(void) {
    double a, b, c;
    cin >> a >> b >> c;
    if (abs(sqrt(a) + sqrt(b) - sqrt(c)) <= esp)
        cout << "Yes";
    else
        cout << "No";


Compiler output:
a.cc: In function 'int main()':
a.cc:34:22: error: expected '}' at end of input
   34 |         cout << "No";
      |                      ^
a.cc:28:16: note: to match this '{'
   28 | int main(void) {
      |                ^
Language: Java

//PanasonicD
import java.io.*;
import java.util.*;
public class Solution{
static int t,n;
static int[] arr;
static StringBuilder ans=new StringBuilder();
public static void solve(char[] ch,int i,int c){
	//base case
	if(i==ch.length){
		System.out.println(new String(ch));
		return;
	}
	for(int x=0;x<=c;x++){
		ch[i]=(char)(x+'a');
		solve(ch,i+1,c+1);
	}
}
public static void main(String[] args) throws IOException{
		// BufferedReader br = new BufferedReader(new
  //      FileReader("sampleinp.txt"));
    	BufferedReader br = new BufferedReader( 
                             new InputStreamReader(System.in)); 
	 	
	 	n=Integer.parseInt(br.readLine());
	 	char[] ch=new char[n];
	 	solve(ch,0,0);
    }
}

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

/*------------------------------------
........Bismillahir Rahmanir Rahim....
..........created by Abdul Aziz.......
------------------------------------*/
#include <iostream>
#include <algorithm>
#include <stdio.h>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <cstring>
#include <unordered_map>
#include <queue>
#define   mod  998244353
#define   int  long long 
#define   ld   long double
#define   pb   push_back
#define   vi  vector<int> 
#define   dbg(x)  cerr << #x << " = " << x << '\n'
#define   sz(x)  (int)x.size()
#define   all(a) (a.begin(),a.end())
#define   ff   first
#define   ss   second
#define   pii  pair<int,int> 
#define   lcm(a,b) (a*b)/__gcd(a,b) 
using namespace std; 

void  fun(char c,string s,int l,int n) { 
	if (l==n) { 
		cout << s << endl; 
		return; 
	} 
	for (char i='a';i<=c;i++){ 
		fun(i+1,s+i,l+1,n); 
	} 
} 
 
inline void solve(){ 
    int n; cin>>n; 
    fun('a',"",0,n); 
    cout << ans << endl;
    return; 
} 

signed main()
{
    int n=1; // cin>>n;
    while (n--) solve();
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:42:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
   42 |     cout << ans << endl;
      |             ^~~
      |             abs
Language: C++

#include <bits/stdc++.h>

void dfs(std::string s,char mx) {
  if (s.size() == n) {
    std::cout << s << std::endl;
    return;
  }
  for (char c = 'a'; c <= mx + 1; ++c) {
    std::string t = s;
    t += c;
    dfs(t, std::max(mx, c));
  }
}

int main() {
  std::cin >> n;
  dfs("", 'a'-1);
  return 0;
}

Compiler output:
a.cc: In function 'void dfs(std::string, char)':
a.cc:4:19: error: 'n' was not declared in this scope
    4 |   if (s.size() == n) {
      |                   ^
a.cc: In function 'int main()':
a.cc:16:15: error: 'n' was not declared in this scope; did you mean 'yn'?
   16 |   std::cin >> n;
      |               ^
      |               yn
Language: C++

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

int n;
void solve(string now, char mx){
    if(now.length()==n)cout << now << endl;
    else{
        for(char c='a';c<=mx;c++){
            if(c<mx) solve(now+c,mx);
            else solve(now+c,mx+1);
        }
    }
}
int main(){
    cin >> n;
    solve("",'a')
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:18: error: expected ';' before '}' token
   16 |     solve("",'a')
      |                  ^
      |                  ;
   17 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, from, to) for (int i = from; i < (to); ++i)
#define mp(x,y) make_pair(x,y)
#define all(x) (x).begin(),(x).end()
#define sz(x) (int)(x).size()
#define pb push_back
using ll = long long;
using vin=vector<int>;
using vll=vector<ll>;
using P = pair<int, int>;
const int inf=1e9+7;
const ll INF=1e18;
template <typename T> void chmin(T &a, T b) { a = min(a, b); }
template <typename T> void chmax(T &a, T b) { a = max(a, b); }

むず

Compiler output:
a.cc:18:1: error: '\U00003080\U0000305a' does not name a type
   18 | むず
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int,int>;

int n;

void dfs(string s, char mx){
  if(s.size() == n){
    cout << s << endl;
    return;
  }
  for(char c = 'a'; c <= mx+1; c++){
    string t = s;
    t += c;
    dfs(t, max(c, mx));
  }
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>

using namespace std;
using ll = long long;
const int mod = 998244353;

struct mint {
    ll x; // typedef long long ll;
    mint(ll x = 0) : x((x % mod + mod) % mod) {}

    mint operator-() const { return mint(-x); }

    mint &operator+=(const mint a) {
        if ((x += a.x) >= mod) x -= mod;
        return *this;
    }

    mint &operator-=(const mint a) {
        if ((x += mod - a.x) >= mod) x -= mod;
        return *this;
    }

    mint &operator*=(const mint a) {
        (x *= a.x) %= mod;
        return *this;
    }

    mint operator+(const mint a) const { return mint(*this) += a; }

    mint operator-(const mint a) const { return mint(*this) -= a; }

    mint operator*(const mint a) const { return mint(*this) *= a; }

    mint pow(ll t) const {
        if (!t) return 1;
        mint a = pow(t >> 1);
        a *= a;
        if (t & 1) a *= *this;
        return a;
    }

    // for prime mod
    mint inv() const { return pow(mod - 2); }

    mint &operator/=(const mint a) { return *this *= a.inv(); }

    mint operator/(const mint a) const { return mint(*this) /= a; }
};

istream &operator>>(istream &is, const mint &a) { return is >> a.x; }

ostream &operator<<(ostream &os, const mint &a) { return os << a.x; }

int main() {
    int n;
    cin >> n;
    map<int, bool> m;
    for (int i = 0; i < (1 << n); ++i) {
        if (m[i])continue;
        string s = "";
        char c = 'a' + bitset<10>(i).count();
        int x = 0;
        for (int j = 0; j < n; ++j) {
            if (i & (1 << j))s = c-- + s;
            else {
                s = 'a' + s;
                x += pow(2, j);
            }
        }
        m[x] = true;
        cout << s << endl;

        return 0;

}


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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
typedef pair<int, int> P;
ll Mod = 1000000007;
int N;
vector<string> ans;
void DFS(string s,int a) {
  if (S.size() == N) {
    ans.push_back(s);
    return;
  } else {
    for (int i = 0; i < a + 1; i++) {
      char c = 'a' + i;
      s += c;
      if (i == a) {
        DFS(s,a+1);
      } else {
        DFS(s,a);
      }
      s.pop_back();
    }
  }
}  

int main() {
  cin >> N;
  DFS("a",1);
  sort(ans.begin(),ans.end());
  for (int i = 0; i < ans.size(); i++) {
    cout << ans[i] << endl; 
  }
  return 0;
}

Compiler output:
a.cc: In function 'void DFS(std::string, int)':
a.cc:9:7: error: 'S' was not declared in this scope
    9 |   if (S.size() == N) {
      |       ^
Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <map>
using namespace std;
typedef __int64 LL;
//typedef long long int LL;
typedef pair<int,int> P;

const int MOD=1000000007;

int n;

void ans(vector<char> &v,int count)
{
	if(v.size()==n)
	{
		for(int i=0;i<v.size();i++)cout<<v[i];
		cout<<"\n";
	}
	else
	{
		for(int i=1;i<=count+1;i++)
		{
			char moji=(char)('a'+i-1);
			v.push_back(moji);
			if(i==count+1)ans(v,count+1);
			else ans(v,count);
			v.pop_back();
		}
	}
}
int main()
{
	cin>>n;
	vector<char> po;
	ans(po,0);
	return 0;
}

Compiler output:
a.cc:13:9: error: '__int64' does not name a type; did you mean '__int64_t'?
   13 | typedef __int64 LL;
      |         ^~~~~~~
      |         __int64_t
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
template<typename T> using min_priority_queue = priority_queue<T, vector<T>, greater<T>>;
const ll INF = 1LL<<60;
const ll MOD = 1e9 + 7;

ll N;

void dfs(vector<char> vec,char c) {
    vec.push_back(c);
    if (vec.size() == N) {
        for (ll i = 0;i<N;i++) {
            if (i == N-1) cout << vec.at(i) << endl;
            else cout << vec.at(i);
        }
    }
    for (ll i = -1;i<=1;i++) {
        if (c == 'a' && i == -1) continue;
        c += i;
        dfs(vec,c);
}

int main() {
    char c = 'a';
    vector<char> vec;
    ll N;
    cin >> N;
    dfs(vec,c);
}

Compiler output:
a.cc: In function 'void dfs(std::vector<char>, char)':
a.cc:27:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   27 | int main() {
      |         ^~
a.cc:27:9: note: remove parentheses to default-initialize a variable
   27 | int main() {
      |         ^~
      |         --
a.cc:27:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:27:12: error: a function-definition is not allowed here before '{' token
   27 | int main() {
      |            ^
a.cc:33:2: error: expected '}' at end of input
   33 | }
      |  ^
a.cc:13:35: note: to match this '{'
   13 | void dfs(vector<char> vec,char c) {
      |                                   ^
Language: C++

#include <iostream>
#include <string>

using namespace std;

int N;

void dfs(string s, char mx){
if(s.length() == N){
printf("%s\n", s.c_str());
} else {
for(char c=’a’;c<=mx;c++){
dfs(s + c, ((c == mx) ? (char)(mx + 1) : mx));
}
}
}
int main(void){
cin >> N;
dfs("", ’a’);
return 0;
}

Compiler output:
a.cc:12:12: error: extended character ’ is not valid in an identifier
   12 | for(char c=’a’;c<=mx;c++){
      |            ^
a.cc:12:12: error: extended character ’ is not valid in an identifier
a.cc:19:9: error: extended character ’ is not valid in an identifier
   19 | dfs("", ’a’);
      |         ^
a.cc:19:9: error: extended character ’ is not valid in an identifier
a.cc: In function 'void dfs(std::string, char)':
a.cc:12:12: error: '\U00002019a\U00002019' was not declared in this scope
   12 | for(char c=’a’;c<=mx;c++){
      |            ^~~
a.cc: In function 'int main()':
a.cc:19:9: error: '\U00002019a\U00002019' was not declared in this scope
   19 | dfs("", ’a’);
      |         ^~~
Language: C++

#include <iostream>
 #include <string>

 using namespace std;

 int N;

 void dfs(string s, char mx){
 if(s.length() == N){
 printf("%s\n", s.c_str());
 } else {
 for(char c=’a’;c<=mx;c++){
 dfs(s + c, ((c == mx) ? (char)(mx + 1) : mx));
 }
 }
 }

 int main(void){
 cin >> N;
 dfs("", ’a’);
 return 0;
 }

Compiler output:
a.cc:12:13: error: extended character ’ is not valid in an identifier
   12 |  for(char c=’a’;c<=mx;c++){
      |             ^
a.cc:12:13: error: extended character ’ is not valid in an identifier
a.cc:20:10: error: extended character ’ is not valid in an identifier
   20 |  dfs("", ’a’);
      |          ^
a.cc:20:10: error: extended character ’ is not valid in an identifier
a.cc: In function 'void dfs(std::string, char)':
a.cc:12:13: error: '\U00002019a\U00002019' was not declared in this scope
   12 |  for(char c=’a’;c<=mx;c++){
      |             ^~~
a.cc: In function 'int main()':
a.cc:20:10: error: '\U00002019a\U00002019' was not declared in this scope
   20 |  dfs("", ’a’);
      |          ^~~
Language: C++

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

void dfs(string str, int n){
  if(str.length()==n){
    cout << str << '\n';
  }else{
    rep0(i,(int)(str.back()-'a'+2)){
      dfs(str+(char)('a'+i), n);
    }
  }

}
int main(){
  int n;
  cin >> n;

  dfs("a",n);
}
  

Compiler output:
a.cc: In function 'void dfs(std::string, int)':
a.cc:9:10: error: 'i' was not declared in this scope
    9 |     rep0(i,(int)(str.back()-'a'+2)){
      |          ^
a.cc:9:5: error: 'rep0' was not declared in this scope
    9 |     rep0(i,(int)(str.back()-'a'+2)){
      |     ^~~~
Language: C++

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

 using namespace std;

 int N;

 void dfs(string s, char mx){
 if(s.length() == N){
 printf("%s\n", s.c_str());
 } else {
 for(char c=’a’;c<=mx;c++){
 dfs(s + c, ((c == mx) ? (char)(mx + 1) : mx));
 }
 }
 }

 int main(void){
 cin >> N;
 dfs("", ’a’);
return 0;
 }

Compiler output:
a.cc:13:13: error: extended character ’ is not valid in an identifier
   13 |  for(char c=’a’;c<=mx;c++){
      |             ^
a.cc:13:13: error: extended character ’ is not valid in an identifier
a.cc:21:10: error: extended character ’ is not valid in an identifier
   21 |  dfs("", ’a’);
      |          ^
a.cc:21:10: error: extended character ’ is not valid in an identifier
a.cc: In function 'void dfs(std::string, char)':
a.cc:13:13: error: '\U00002019a\U00002019' was not declared in this scope
   13 |  for(char c=’a’;c<=mx;c++){
      |             ^~~
a.cc: In function 'int main()':
a.cc:21:10: error: '\U00002019a\U00002019' was not declared in this scope
   21 |  dfs("", ’a’);
      |          ^~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int n;
  cin>>n;
  for(int i=0;i<n;i++)
  {
    if(a==1)
    {
      cout<<"aa"<<endl"ab";
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'a' was not declared in this scope
    9 |     if(a==1)
      |        ^
a.cc:11:23: error: expected ';' before string constant
   11 |       cout<<"aa"<<endl"ab";
      |                       ^~~~
      |                       ;