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

import java.util.Scanner;

public class MainB {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long h = sc.nextLong();
		long w = sc.nextLong();
		System.out.println(h * w / 2 + h * w % 2);
	}
}

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

#include<bits/stdc++.h>
using namespace std;
long long h,w;
int main()
{
   scanf("%lld%lld",&h,&w);
   if(h==1||w==1)
   reutrn 0*printf("1");
   if(h%2==0)
   printf("%lld",(h/2)*w);
   else if(h%2==1)
   printf("%lld",(h+1)/2*((w+1)/2)+h/2*(w/2));
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:4: error: 'reutrn' was not declared in this scope
    8 |    reutrn 0*printf("1");
      |    ^~~~~~
Language: C++

#include<bits/stdc++.h>

using namespace std;

long long ans;

int main() {
    long long h, w;
    cin >> h >> w;
    cout << long long (((h * w) + 1)/2);
}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected primary-expression before 'long'
   10 |     cout << long long (((h * w) + 1)/2);
      |             ^~~~
Language: C++

#include <iostream>
#include <vector>
#include <cmath>
#include <iomanip>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)

int main() {
    int h,w,ans;
    cin>>h>>w;
    ans=(h*w+1)/2
    cout<<ans;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: expected ';' before 'cout'
   11 |     ans=(h*w+1)/2
      |                  ^
      |                  ;
   12 |     cout<<ans;
      |     ~~~~
Language: Java

package panasonic2020;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long h = sc.nextLong();
		long w = sc.nextLong();
		System.out.println(h * w / 2 + h * w % 2);
	}
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
  long long h , w , k = 2;
  cin >> h >> w;
  cout<< ceil((h*w)/k));
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: expected ';' before ')' token
    6 |   cout<< ceil((h*w)/k));
      |                       ^
      |                       ;
Language: C++

#include <cstdio>
using namespace std;

int main(int argc, char** argv)
{
	int h, w;
	scanf("%d%d", &h, &w);
	long long t = long long(h) * w;
	printf("%lld\n", t & 1LL? (t >> 1LL) + 1LL: t >> 1LL);
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:8:23: error: expected primary-expression before 'long'
    8 |         long long t = long long(h) * w;
      |                       ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  long long int x,y,mul;
  cin>>x>>y;
  mul=x*y;
  if(mul%2==0)
    cout<<mul/2;
  else
    cout<<mul/2=1;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: no match for 'operator=' (operand types are 'std::basic_ostream<char>::__ostream_type' {aka 'std::basic_ostream<char>'} and 'int')
   11 |     cout<<mul/2=1;
      |                 ^
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:458:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator=(std::basic_ostream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  458 |       operator=(basic_ostream&& __rhs)
      |       ^~~~~~~~
/usr/include/c++/14/ostream:458:33: note:   no known conversion for argument 1 from 'int' to 'std::basic_ostream<char>&&'
  458 |       operator=(basic_ostream&& __rhs)
      |                 ~~~~~~~~~~~~~~~~^~~~~
Language: C

#include <stdio.h>

int main(){
  int a,b = 0;
  scanf("%d",&a);
  scanf("%d",&b);
  int aasnwer,basnwer;
  aanswer = a%2;
  banswer = b%2;
  
  if(aanswer == 0 && banswer == 0){
    printf("%d",a*b/2);
  }else if(aanswer == 0 || banswer == 0){
    int answer = (a*b/2)+1;
    printf("%d",answer);
  }else{
    printf("%d",a*b/2);
  }
  return 1;
}

Compiler output:
main.c: In function 'main':
main.c:8:3: error: 'aanswer' undeclared (first use in this function); did you mean 'aasnwer'?
    8 |   aanswer = a%2;
      |   ^~~~~~~
      |   aasnwer
main.c:8:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:3: error: 'banswer' undeclared (first use in this function); did you mean 'basnwer'?
    9 |   banswer = b%2;
      |   ^~~~~~~
      |   basnwer
Language: Java

import java.util.*;

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

        int H = sc.nextInt;
        int W = sc.nextInt;
        int S = H * W;
        if(S%2==1){
        System.out.println((S-1)/2+1);
        }else{
        System.out.println(S/2);
        }
    }
}



Compiler output:
Main.java:7: error: cannot find symbol
        int H = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:8: error: cannot find symbol
        int W = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
2 errors
Language: C++

#include<bits/stdc++.h?
using namespace std;
int main(){
  long long h , w , k = 2;
  cin >> h >> w;
  cout<< ceil((h*w)/k));
}

Compiler output:
a.cc:1:24: error: missing terminating > character
    1 | #include<bits/stdc++.h?
      |                        ^
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/stc++.h>
using namespace std;
int main()
{
   int64_t h,w,ans;
  cin >> h >> w ;
  if((h*w)%2==1)
  {
    cout << (h*w+1)/2 << endl;
  }
  else
  {
    cout << (h*w)/2;
  }
}


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

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
 
 
int main(void){
long long int h,w;
scanf("%lld %lld",&h,&w);
if(h==1||w==1){printf("1\n");}
else if(a*b%2!=0){printf("%lld\n",h*w/2+1);}
 else{printf("%lld\n",h*w/2);}
}

Compiler output:
main.c: In function 'main':
main.c:10:9: error: 'a' undeclared (first use in this function)
   10 | else if(a*b%2!=0){printf("%lld\n",h*w/2+1);}
      |         ^
main.c:10:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:11: error: 'b' undeclared (first use in this function)
   10 | else if(a*b%2!=0){printf("%lld\n",h*w/2+1);}
      |           ^
Language: C++

//@author yash
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define x first
#define y second
#define fast() ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
int main()
{
	fast();
	ll x,y;
	cin>>x>>y;
	ll c=x*y;
	ll d=ceil((long long double)c/2);
	cout<<d<<endl;	
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:25: error: 'long long' specified with 'double'
   14 |         ll d=ceil((long long double)c/2);
      |                         ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
    ll h,w;
    cin>>h>>w;
    if(h==1 or w==1)
        cout<<1<<endl;
    else
    {
        h = h*w;
        h++;
        h = h/2;
        cout<<h<<endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'll' was not declared in this scope
    5 |     ll h,w;
      |     ^~
a.cc:6:10: error: 'h' was not declared in this scope
    6 |     cin>>h>>w;
      |          ^
a.cc:6:13: error: 'w' was not declared in this scope
    6 |     cin>>h>>w;
      |             ^
Language: Java

import java.util.*;

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

        Scanner sc = new Scanner(System.in);

        int H = sc.nextInt;
        int W = sc.nextInt;
        int S = H * W;
        if(S%2==1){
        System.out.println((S-1)/2+1);
        }else{
        System.out.println(S/2);
        }
    }
}



Compiler output:
Main.java:8: error: cannot find symbol
        int H = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:9: error: cannot find symbol
        int W = sc.nextInt;
                  ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
2 errors
Language: C++

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

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;
  cin >> a >> b;
  cout << ceil(a*b/2);
  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:11: error: 'ceil' was not declared in this scope
   29 |   cout << ceil(a*b/2);
      |           ^~~~
Language: C

#include <cstdio>
#define ll long long int
using namespace std;
ll H, W, ans;
int main()
{
	scanf("%lld%lld", &H, &W);
	ll temp = H*W;
	if(temp%2==0)
	    printf("%lld\n", temp/2);
	else printf("%lld\n", (temp+1)/2);
	return 0;
}

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

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

int main(){
  long long int h,w
  cin >> h >> w;
  long long int ans = (h*w)/2+(h*w)%2;
  cout << ans << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> h >> w;
      |   ^~~
a.cc:7:26: error: 'w' was not declared in this scope
    7 |   long long int ans = (h*w)/2+(h*w)%2;
      |                          ^
Language: C++

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

typedef long long ll;
typedef vector<ll> vi;
typedef pair<ll, ll> ii;
typedef vector<ii> vii;
typedef set<ll> si;
typedef map<string, ll> msi;
#define hell 1000000007
#define MAX 1000000000
#define max_int 1000000
#define F first
#define re 15000000
#define S second
#define pb push_back
#define all(a)  (a).begin(),(a).end()
#define rep(i,a,b) for(ll i = a;i<b;i++)
#define pi 3.1415926536
#define r0 return 0
#define rep(i,a,b) for(ll i = a;i<b;i++)

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
 
    //freopen("input.txt", "r", stdin);
    //freopen("output.txt", "w", stdout);

    double n,m;
    cin>>n>>m;
    cout<< ceil((n*m)/2)

}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:34:25: error: expected ';' before '}' token
   34 |     cout<< ceil((n*m)/2)
      |                         ^
      |                         ;
   35 | 
   36 | }
      | ~
Language: C++

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

int main() {
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
  int64_t H,N;
  cin>>H>>W;
  if(H%2==1&&W%2==1)
    cout<<H*W/2+1;
  else
    cout<<H*W/2;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'W' was not declared in this scope
    7 |   cin>>H>>W;
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
long H, W, ans=0; cin >> H >> W;
long E1=H/2, E2=W/2, O1=H-E1, O2=W-E2, ans=E1*E2+O1*O2;
cout << ans << "\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:40: error: redeclaration of 'long int ans'
    5 | long E1=H/2, E2=W/2, O1=H-E1, O2=W-E2, ans=E1*E2+O1*O2;
      |                                        ^~~
a.cc:4:12: note: 'long int ans' previously declared here
    4 | long H, W, ans=0; cin >> H >> W;
      |            ^~~
Language: C++

//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
typedef long long ll;
#define pb push_back
#define mii map <int, int>
#define mll map <ll, ll>
#define pii pair <int, int>
#define pll pair <ll, ll>
#define vi vector <int>
#define vd vector <double>
#define vll vector <ll>
#define fi first
#define se second
#define si set <int>
#define sll set <ll>
#define spii set <pii>
#define vs vector <string>
#define vpii vector <pair <int,int> >
#define vpll vector <pair <long long,long long> >
#define vvi vector <vector <int> >
#define vvpii vector <vector <pii > >
#define forn(i, n) for (int i = 0; i < (n); i++)
#define rep(i, n) for (int i = 0; i < (n); i++)
#define for1(i, n) for (int i = 1; i < (n); i++)
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(),(x).rend()


using namespace std;
const ll INFLL = 1e18;
const int MAXN = 1e6+100;
const ll INF = 1e9;
const ll mod1=1e9+7;
const ll mod2=2e9+11;

int main() {
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    #ifdef LOCAL
    freopen("a.in","r",stdin);
    #endif
    ll h,w;
    cin>>h>>w;
    if (h!=1&&w!=1)
        cout<<(h*w+1)/2;
    else
        cout<<1



}

Compiler output:
a.cc: In function 'int main()':
a.cc:47:16: error: expected ';' before '}' token
   47 |         cout<<1
      |                ^
      |                ;
......
   51 | }
      | ~
Language: C++

#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>
#include<string>
#include<stack>
#include<queue>
#include<vector>
#include<algorithm>
#include<iomanip>
#include<set>
#include<unordered_set>
#include<map>
typedef long long int ll;
using namespace std;
#define FOR(i,a,b) for (int i=(a);i<(b);i++)
#define REP(i,n) for (int i=0;i<(n);i++)
#define EREP(i,n) for (int i=1;i<=(n);i++)
#define ALL(a) (a).begin(),(a).end()
//#define EVEL 1

#ifdef EVEL
#define DEB(X) cout << #X << ":" <<X<<" " ;
#define TF(f) f ? cout<<"true  " : cout<<"false ";
#define END cout<<"\n";
#else
#define DEB(X) {}
#define TF(f) {}
#define END {}
#endif
const ll MOD = 1000000007;
const int INF = 2000000000;
std::pair<string,pair<int,int>> Q[101];
    ll N,M;
    ll A,B,C;
    bool F[5][5];
    bool ad=false;
    ll ans=0;
int main(){
    ios_base::sync_with_stdio(false);
    cin>>A>>B;
    ans=A*B/2
    if((A*B)%2==1){
        ans++;
    }
    cout<<ans<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:42:14: error: expected ';' before 'if'
   42 |     ans=A*B/2
      |              ^
      |              ;
   43 |     if((A*B)%2==1){
      |     ~~
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <queue>
#include <map>
#include <string.h>
#include <math.h>
#include <stdio.h>
#include <deque>
#include <bits/stdc++.h>
//#include "testlib.h"
using namespace std;
#define ll long long
#define pii pair<int,int>
#define qi ios::sync_with_stdio(0)

bool debug=true;

/*    *************************************
	  * Written in New Computer           *
	  * The following code belongs to     *
	  * XiaoGeNintendo of HellHoleStudios *
	  *************************************
*/
template<typename T1,typename T2>ostream& operator<<(ostream& os,pair<T1,T2> ptt){
	os<<ptt.first<<","<<ptt.second;
	return os;
}
template<typename T>ostream& operator<<(ostream& os,vector<T> vt){
	os<<"{";
	for(int i=0;i<vt.size();i++){
		os<<vt[i]<<" ";
	}
	os<<"}";
	return os;
}

ll x,y;
int main(int argc,char* argv[]){
	cin>>x>>y;
	if(x==1 || y==1){
		cout<<1<<<endl;
		return 0;
	}
	cout<<(x*y+1)/2<<endl;
	return 0;
}



Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:43:26: error: expected primary-expression before '<' token
   43 |                 cout<<1<<<endl;
      |                          ^
Language: C++

int h,w;
signed main(){
  cin>>h>>w;
  if(h == 1 || w == 1)cout << 1 << endl;
  else cout << (h*w+1)/2 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>h>>w;
      |   ^~~
a.cc:4:23: error: 'cout' was not declared in this scope
    4 |   if(h == 1 || w == 1)cout << 1 << endl;
      |                       ^~~~
a.cc:4:36: error: 'endl' was not declared in this scope
    4 |   if(h == 1 || w == 1)cout << 1 << endl;
      |                                    ^~~~
a.cc:5:8: error: 'cout' was not declared in this scope
    5 |   else cout << (h*w+1)/2 << endl;
      |        ^~~~
a.cc:5:29: error: 'endl' was not declared in this scope
    5 |   else cout << (h*w+1)/2 << endl;
      |                             ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define X first
#define Y second
#define PB push_back
#define ll long long
#define pii pair<ll,ll>
#define MEM(x,y) memset(x,y,sizeof(x))
#define bug(x) cout<<"debug "#x" is "<<x<<endl;
#define FIO ios::sync_with_stdio(false);
#define ALL(x) x.begin(),x.end()
#define LOG 20
#define lson(x) ((x)<<1)
#define rson(x) ((x)<<1|1)
const int maxn=1e6+10;
using namespace std;


int main(){
    ll a,b;
    cin>>a>>b;
    cout<<a*b/2<<endl;
}
/* a
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};
int main(){
    int n;
    cin>>n;
    cout<<a[n-1]<<endl;
}
/* a



Compiler output:
a.cc:24:1: error: unterminated comment
   24 | /* a
      | ^
Language: C++

#include <iostream>
using namespace std;

int main()
{
    long long h, w;
    cin >> h >> w;
    if (h == 1 || w == 1) {cout <<< 1 << endl;}
    else {cout << (h * w + 1) / 2 << endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:35: error: expected primary-expression before '<' token
    8 |     if (h == 1 || w == 1) {cout <<< 1 << endl;}
      |                                   ^
a.cc:8:39: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |     if (h == 1 || w == 1) {cout <<< 1 << endl;}
      |                                     ~~^~~~~~~
Language: C++

//
//  atcoder.cpp
//
//
///
#include <bits/stdc++.h>
#include <boost/optional.hpp>
#include <boost/range/irange.hpp>
#include <boost/range/algorithm.hpp>
#include <boost/range/numeric.hpp>
#include <boost/bimap/bimap.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/multi_array.hpp>
#include <boost/math/common_factor.hpp>
#include <boost/algorithm/string.hpp>

#define REP(i, N) for(int i=0; i<(N); i++)
#define REC(f, ...) (void)0; const auto f = [&](const auto f, __VA_ARGS__)
using namespace std;
using namespace boost::math;

using ll = long long;
namespace bst = boost;
template<typename T> class in {
    T value;
public:
    in() { cin >> value; }
    operator const T&() const { return value; }
    operator T&() { return value; }
    in& operator=(T source) { value = source; return *this; }
};
template<> class in<string> : public string {
public:
    in() { cin >> *this; }
};
template<class T> class inseq : public T {
public:
    template<typename... Arg> inseq(Arg... arg) : T(forward<Arg>(arg)...) { for (auto&& i : *this) cin >> i; }
};
template<class T> using invec = inseq<vector<T>>;

auto solve() {
  in<ll> H, W;


  return (ll)ceil((double)H * W / 2.0));
}

template<typename T> void plot(const T& func) { cout << func() << endl; }
template<> void plot<void()>(void(&func)()) { func(); }
template<> void plot<double()>(double(&func)()) { cout << setprecision(9) << func() << endl; }

int main() {
  plot(solve);

  return 0;
}


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

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <utility>
#include <numeric>
#include <array>
#include <cmath>
#include <memory>
using namespace std;
//変数デバッグ
#define DEB(variable) cout << #variable << '=' << variable << endl

//for簡易表記(引数ミス防止)
#define FOR(LoopVariable,numberOFbegin,numberOFend) for (long long int LoopVariable = (numberOFbegin); (LoopVariable) < (numberOFend); (LoopVariable)++)
#define DEFOR(LoopVariable,numberOFbegin,numberOFend) for (long long int LoopVariable = (numberOFbegin)-1; (LoopVariable) >= (numberOFend); (LoopVariable)--)
#define REP(LoopVariable,numberOFend) for(long long int LoopVariable = 0;(LoopVariable)<(numberOFend);LoopVariable++)

constexpr long long int linf = numeric_limits<long long int>::max()-5;
constexpr int inf= numeric_limits<int>::max()-5;
constexpr long long int mod = 1000000007;

int main(){

    long long int a,b;
    cin>>a>>b;
    if(a*b%2==0){
        cout<<a*b/2<<endl;
    }else{
        cout<<(a*b+1)/2<<endl;s
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:30:31: error: 's' was not declared in this scope
   30 |         cout<<(a*b+1)/2<<endl;s
      |                               ^
Language: Java

import java.util.Scanner;

public class Test {

	public static void main(String[] args) {
		// TODO
		Scanner sc = new Scanner(System.in);
		long h = sc.nextInt();
		long w = sc.nextInt();
		System.out.println((h*w+1)/2);
	}
	

}


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

#include <iostream>
using namespace std;
int main() {
	long long int a, b, c;
	cin >> a >> b >> c;
	if (4*a*b>=(c-a-b)*(c-a-b)||c-a-b>0)
		cout << "No";
	else
		cout << "Yes";


Compiler output:
a.cc: In function 'int main()':
a.cc:9:31: error: expected '}' at end of input
    9 |                 cout << "Yes";
      |                               ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
namespace mp = boost::multiprecision;
int main(){
    mp::cpp_int a, b, c;
// long long int a,b,c;
cin>>a>>b>>c;

if(4*a*b < ((c-a-b)*(c-a-b))){
    cout<<"Yes"<<endl;
}
else{
    cout<<"No"<<endl;
}
    return 0;
}

Compiler output:
a.cc:3:16: error: 'boost' has not been declared
    3 | namespace mp = boost::multiprecision;
      |                ^~~~~
a.cc:3:23: error: 'multiprecision' is not a namespace-name
    3 | namespace mp = boost::multiprecision;
      |                       ^~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'mp' has not been declared
    5 |     mp::cpp_int a, b, c;
      |     ^~
a.cc:7:6: error: 'a' was not declared in this scope
    7 | cin>>a>>b>>c;
      |      ^
a.cc:7:9: error: 'b' was not declared in this scope
    7 | cin>>a>>b>>c;
      |         ^
a.cc:7:12: error: 'c' was not declared in this scope
    7 | cin>>a>>b>>c;
      |            ^
Language: C

#include <stdio.h>
#include <math.h>
int main(){
  long double a,b,c;
  scanf("%Lf %Lf %Lf",&a,&b,&c);
  d=c-a-b; //展開は誤差の元　項が増える
  if(d*d>4.0L*a*b)
    puts("Yes");
  else
    puts("No");
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:3: error: 'd' undeclared (first use in this function)
    6 |   d=c-a-b; //展開は誤差の元　項が増える
      |   ^
main.c:6:3: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <bits/stdc++.h>
using ll = long long;
using namespace std;
#define _overload3(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for(int i = int(a); i < int(b); ++i)
#define rep(...) _overload3(__VA_ARGS__, repi, _rep, )(__VA_ARGS__)
#define all(x) (x).begin(), (x).end()
template <typename T> bool chmax(T &a, const T &b) {
    if(a < b) {
        a = b;
        return 1;
    }
    return 0;
}
template <typename T> bool chmin(T &a, const T &b) {
    if(a > b) {
        a = b;
        return 1;
    }
    return 0;
}
const long long INFLL = 1LL << 60;
const long long MOD = 1e9 + 7;

int main() {
    ll a, b, c;
    cin >> a >> b >> c;
    ll d = c - a - b;
    cout << (((d > 0) && (d * d -

Compiler output:
a.cc: In function 'int main()':
a.cc:30:34: error: expected primary-expression at end of input
   30 |     cout << (((d > 0) && (d * d -
      |                                  ^
a.cc:30:34: error: expected ')' at end of input
   30 |     cout << (((d > 0) && (d * d -
      |                          ~       ^
      |                                  )
a.cc:30:34: error: expected ')' at end of input
   30 |     cout << (((d > 0) && (d * d -
      |              ~                   ^
      |                                  )
a.cc:30:34: error: expected ')' at end of input
   30 |     cout << (((d > 0) && (d * d -
      |             ~                    ^
      |                                  )
a.cc:30:34: error: expected '}' at end of input
a.cc:26:12: note: to match this '{'
   26 | int main() {
      |            ^
Language: C++

#include <iostream>
2 #include <cmath>
3
4 using namespace std;
5 typedef long long ll;
6
7 int main(void){
8 ll a,b,c;
9
10 cin >> a >> b >> c;
11
12 ll d = c - a - b;
13 if(d > 0 && d * d > 4 * a * b){
14 cout << "Yes" << endl;
15 } else {
16 cout << "No" << endl;
17 }
18
19 return 0;
20 }

Compiler output:
a.cc:2:3: error: stray '#' in program
    2 | 2 #include <cmath>
      |   ^
a.cc:2:1: error: expected unqualified-id before numeric constant
    2 | 2 #include <cmath>
      | ^
a.cc:5:1: error: expected unqualified-id before numeric constant
    5 | 5 typedef long long ll;
      | ^
a.cc:6:1: error: expected unqualified-id before numeric constant
    6 | 6
      | ^
Language: C++

//
#include <vector>
#include <set>
#include <map>
#include <array>
#include <iostream>
#include <cstdio>
#include <cstdint>
#include <algorithm>
#include <numeric>
#include <bitset>
//
using ll = long long;
using namespace std;
#define rep(i,n) for(ll i=0;i<(n);++i)
inline void yes(bool cond) { cond ? puts("Yes") : puts("No"); }
template<typename Type> inline void chmin(Type& a, Type b) { if (a > b) a = b; }
template<typename Type> inline void chmax(Type& a, Type b) { if (a < b) a = b; }
template<typename Arr, typename Type> inline void fill(Arr& arr, Type v) { std::fill(arr.begin(), arr.end(), v); }
template<typename Type> inline void sort(Type& arr) { std::sort(arr.begin(), arr.end()); }
template<typename Type> inline Type nth(vector<Type>& arr, size_t pos) { std::nth_element(arr.begin(), arr.begin() + pos, arr.end()); return arr[pos]; }
constexpr double BIGP = 1000000007L;
constexpr double INF_I = std::numeric_limits<double>::max();
constexpr double INF_F = std::numeric_limits<float>::infinity();
constexpr double PI = 3.14159265358979323846L;
//
int main()
{
    cin.tie(0); ios::sync_with_stdio(false);
    ll a,b,c;
    cin >> a >> b >> c;
    ll t = c - a - b;
    if (t < 0)
    {
        cout << "No";
        return;
    }
    ll l = 4 * a * b;
    ll r = t * t;
    yes(l < r);
    //
    return 0;
}

Compiler output:
a.cc:23:31: error: 'numeric_limits' is not a member of 'std'
   23 | constexpr double INF_I = std::numeric_limits<double>::max();
      |                               ^~~~~~~~~~~~~~
a.cc:23:46: error: expected primary-expression before 'double'
   23 | constexpr double INF_I = std::numeric_limits<double>::max();
      |                                              ^~~~~~
a.cc:24:31: error: 'numeric_limits' is not a member of 'std'
   24 | constexpr double INF_F = std::numeric_limits<float>::infinity();
      |                               ^~~~~~~~~~~~~~
a.cc:24:46: error: expected primary-expression before 'float'
   24 | constexpr double INF_F = std::numeric_limits<float>::infinity();
      |                                              ^~~~~
a.cc: In function 'int main()':
a.cc:36:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
   36 |         return;
      |         ^~~~~~
Language: C++

#include<iostream>
using namespace std;
int man(){
int a,b,c;
  cin >> a >> b >> c;
  if(a*a+b*b>c*c){
    cout << "Yes";
  }
  else{
    cout << "No";
  }
  return 0;
}

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 <iostream>
using namespace std;
int main(){
  long long int a,b,c,d,e;
  cin >> a >> b >> c;
  d=c-a-b;
  d*=d;
  e=4*a*b;
  if(d<e) cout << "Yes" << endl;
  else cout << "No" << endl;
  return;
}

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

#include<iostream>
using namespace std;
int man(){
int a,b,c;
  cin >> a,b,c;
  if(a*a+b*b>c*c){
    cout << "Yes";
  }
  else{
    cout << "No";
  }
  return 0;
}

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 <iostream>
using namespace std;
int main(){
  int a,b,c,d,e;
  cin >> a >> b >> c;
  d=c*c-a*a-b*b;
  d*=d;
  e=4*a*b;
  if(d<e) cout << "Yes" << endl;
  else cout << "No" << endl;
  return;
}

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

#include <iostream>
usig namespace std;
int main(){
  int a,b,c,d,e;
  cin >> a >> b >> c;
  d=c*c-a*a-b*b;
  d=d*d;
  e=4*a*b;
  if(e<d) cout << "Yes" << endl;
  else cout << "No" << endl;
  return;
}

Compiler output:
a.cc:2:1: error: 'usig' does not name a type
    2 | usig namespace std;
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a >> b >> c;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   if(e<d) cout << "Yes" << endl;
      |           ^~~~
      |           std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:28: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   if(e<d) cout << "Yes" << endl;
      |                            ^~~~
      |                            std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |   else cout << "No" << endl;
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |   else cout << "No" << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   11 |   return;
      |   ^~~~~~
Language: C++

#include<iostream>
using namespace std;
int man(){
int a,b,c;
  cin >> a,b,c;
  if(a*a+b*b>c*c){
    cout << "Yes";
  }
  else{
    cout << "No";
  }
}

Compiler output:
a.cc: In function 'int man()':
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
/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<iostream>
#include <algorithm>
using namespace std;
int main(){
  int N, A[200000], B[200000], b, ans=0;
  map<int, int> mp;
  cin >> N;
  for(int i=0; i<N; i++){
    cin >> A[i];
    B[i] = A[i]-i-1;
  }

  sort(B, B+N);
  if(N%2==0) b = (B[N/2-1] + B[N/2])/2;
  else b = B[N/2];
  for(int i=0; i<N; i++){
    ans += abs(B[i]-b);
  }
  cout << ans << "\n";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'map' was not declared in this scope
    6 |   map<int, int> mp;
      |   ^~~
a.cc:3:1: note: 'std::map' is defined in header '<map>'; this is probably fixable by adding '#include <map>'
    2 | #include <algorithm>
  +++ |+#include <map>
    3 | using namespace std;
a.cc:6:7: error: expected primary-expression before 'int'
    6 |   map<int, int> mp;
      |       ^~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  double a, b, c;
  cin >> a >> b >> c;
  double ab = sqrt(a*b);
  if(a+b+ab < c){
    printf("Yes");
  } else{
    printf("No");
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'sqrt' was not declared in this scope
    6 |   double ab = sqrt(a*b);
      |               ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a, b, c;
  double ab = sqrt(double(a*b));
  if(a+b+ab < c){
    printf("Yes");
  } else{
    printf("No");
  }
}

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

#include<iostream>
using namespace std;
int main(){
  int a, b, c;
  double ab = sqrt(a*b);
  if(a+b+ab < c){
    printf("Yes");
  } else{
    printf("No");
  }
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;cin>>a>>b>>c;
	if(4*a*b<(c-a-b)*(c-a-b))cout<<"YES";
	else cout<<"NO";
	return 0;
}
/*
//NOT EXACT!!!!!!!!!
#include<bits/stdc++.h>
using namespac std;
int main()
{
	int a,b,c;cin>>a>>b>>c;
	cout<<(sqrt(a)+sqrt(b)<sqrt(c)?"YES":"NO");
	return 0;
}
/*

Compiler output:
a.cc:10:1: error: unterminated comment
   10 | /*
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;cin>>a>>b>>c;
	if(c-a-b>0&&4*a*b<(c-a-b)*(c-a-b))cout<<"YES";
	else cout<<"NO";
	return 0;
}
/*
//NOT EXACT!!!!!!!!!
#include<bits/stdc++.h>
using namespac std;
int main()
{
	int a,b,c;cin>>a>>b>>c;
	cout<<(sqrt(a)+sqrt(b)<sqrt(c)?"YES":"NO");
	return 0;
}
/*

Compiler output:
a.cc:10:1: error: unterminated comment
   10 | /*
      | ^
Language: C++

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

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

Compiler output:
a.cc:1:5: error: stray '#' in program
    1 | 2 3 #include <bits/stdc++.h>
      |     ^
a.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 2 3 #include <bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b >> c;
      |   ^~~
a.cc:10:15: error: 'sqrt' was not declared in this scope
   10 |   int x=a+b+2*sqrt(a*b);
      |               ^~~~
a.cc:12:11: error: 'cout' was not declared in this scope
   12 |   if(x<c) cout << "Yes" << endl;
      |           ^~~~
a.cc:12:28: error: 'endl' was not declared in this scope
   12 |   if(x<c) cout << "Yes" << endl;
      |                            ^~~~
a.cc:13:8: error: 'cout' was not declared in this scope
   13 |   else cout << "No" << endl;
      |        ^~~~
a.cc:13:24: error: 'endl' was not declared in this scope
   13 |   else cout << "No" << endl;
      |                        ^~~~
Language: C++

#include<iostream>
#include<math.h>
using namespace std;
int main()
{
  double k1,k2,k3;
  long long a,b,c;
  cin>>a>>b>>c;
  k1=aqrt(a);
  k2=sqrt(b);
  k3=sqrt(c);
  if(k1+k2<k3)
  {
    cout<<"Yes"<<endl;
  }
  else
  {
    cout<<"No"<<endl;
  }
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: 'aqrt' was not declared in this scope; did you mean 'sqrt'?
    9 |   k1=aqrt(a);
      |      ^~~~
      |      sqrt
Language: C++

#include <numeric>
#include <string>
#include <stdio.h>
#include <set>
#include <cmath>
#include <iomanip>
using namespace std;
 
int main(){
    long double a, b, c;
    cin >> a >> b >> c;
    if (c-a-b > 0 and 4*a*b < (c-a-b)*(c-a-b)){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'cin' was not declared in this scope
   11 |     cin >> a >> b >> c;
      |     ^~~
a.cc:7:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    6 | #include <iomanip>
  +++ |+#include <iostream>
    7 | using namespace std;
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << "No" << endl;
      |         ^~~~
a.cc:15:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <queue>
#include <random>
#include <chrono>
#include <tuple>
#include <random>
#include <cmath>

using namespace std;

typedef long long ll;
typedef long double ld;
#define fastInp cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);

const ll SIZE = 1e5 * 2 + 10, INF = 1e9 * 1e9 + 10;

int main()
{
    fastInp;

    ll a, b, c;
    cin >> a >> b >> c;
    ld a1 = sqrt(a), b1 = sqrt(b);
    if (ld(a + b + 2 * a1 * b1)) < ld(c)) {
        cout << "Yes";
    } else {
        cout << "No";
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:34: error: expected primary-expression before '<' token
   29 |     if (ld(a + b + 2 * a1 * b1)) < ld(c)) {
      |                                  ^
Language: C++

#include<iostream>
#incldue<cmath>
#define pb push_back
#define inf 0x3f3f3f3f
#define ll unsigned long long
#define endl '\n'
#define pii pair<int,int>
#define mem(a,val) memset(a,val,sizeof(a))
#define mkp make_pair
#define all(n) (n).begin(),(n).end()
#define speed ios_base::sync_with_stdio(0);cin.tie(0);
using namespace std;
int main(){
	ll a,b,c;
	cin >> a >> b >> c;
	ll  x = c-a-b;

	if( x > 0 &&  x*x > 4*a*b )
		cout<<"Yes\n";
	else cout<<"No\n";
}

Compiler output:
a.cc:2:2: error: invalid preprocessing directive #incldue; did you mean #include?
    2 | #incldue<cmath>
      |  ^~~~~~~
      |  include
Language: C++

#include<iostream>
#include<algorithm>
#include<cmath>
#define AC ios_base::sync_with_stdio(0),cin.tie(0)
#define ll unsigned long long 
#define eps 1e-6
using namespace std;
int main(){
	AC;
	double a,b,c;
	cin>>a>>b>>c;
	long long double p,q,r;
	p=sqrt(a);
	q=sqrt(b);
	r=sqrt(c);
	if(p+q<r) cout<<"Yes\n";
	else cout<<"No\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: 'long long' specified with 'double'
   12 |         long long double p,q,r;
      |              ^~~~
a.cc:12:14: error: 'long long' specified with 'double'
a.cc:12:14: error: 'long long' specified with 'double'
Language: C++

#include <iostream>
#include <iomanip>
#include <algorithm>
#include <bitset>
#include <string>
#include <cmath>
#include <complex>
#include <numeric>
#include <cassert>

#include <vector>
#include <array>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <deque>
#include <utility>

#define PI 3.14159265358979323846

#define int64 long long
#define uint64 unsigned long long
using namespace std;

int main()
{
	int64 aa, bb, cc;
	cin >> aa >> bb >> cc;
	int64 tmp = cc - aa - bb;
	if(tmp > 0 && tmp * tmp > 4 * a * b)
	{
		puts("Yes");
	}
	else
	{
		puts("No");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:39: error: 'a' was not declared in this scope; did you mean 'aa'?
   31 |         if(tmp > 0 && tmp * tmp > 4 * a * b)
      |                                       ^
      |                                       aa
a.cc:31:43: error: 'b' was not declared in this scope; did you mean 'bb'?
   31 |         if(tmp > 0 && tmp * tmp > 4 * a * b)
      |                                           ^
      |                                           bb
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = (s); i < (int)(n); i++)
#define pi 3.14159265359
#define all(i) i.begin(),i.end()
using namespace std;
const long long INF=1e9+7;
const string alp="abcdefghijklmnopqrstuvwxyz"; //26
const string ALP="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
typedef long long ll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef pair<ll,ll> P;
typedef tuple<ll,ll,ll> T;
//const ll MOD=998244353LL;
//const ll MOD=1777777777LL;


int main() {
  ll a,b,c;
  cout<<fixed<<setprecision(30);
  cin>>a>>b>>c;
  long long double aa=sqrt(a)*INF,bb=sqrt(b)*INF,cc=sqrt(c)*INF;
  if(aa+bb<cc) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:8: error: 'long long' specified with 'double'
   23 |   long long double aa=sqrt(a)*INF,bb=sqrt(b)*INF,cc=sqrt(c)*INF;
      |        ^~~~
a.cc:23:8: error: 'long long' specified with 'double'
a.cc:23:8: error: 'long long' specified with 'double'
Language: C++

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

using ll = long long;
using vi = vector<int>;
using vvi = vector<vi>;
using ii = pair<int, int>;
using vii = vector<ii>;

#define rep(i, n)   for (int i = 0; i < (n); i++)
#define sz(x)       (int)x.size()
#define eb          emplace_back
#define pb          push_back
#define all(x)      x.begin(), x.end()
#define rall(x)     x.rbegin(), x.rend()
#define fi          first
#define se          second

signed main() {
    ios::sync_with_stdio(0);
    cin.tie(0);
#ifdef LOCAL
    freopen("io\\in.txt", "r", stdin);
    freopen("io\\out.txt", "w", stdout);
#endif

    int a, b, c;
    cin >> a >> b >> c;

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

    return 0;
}


Compiler output:
a.cc:30:52: warning: missing terminating " character
   30 |     cout << (sqrt(a) + sqrt(b) < sqrt(c) ? "Yes" : "No);
      |                                                    ^
a.cc:30:52: error: missing terminating " character
   30 |     cout << (sqrt(a) + sqrt(b) < sqrt(c) ? "Yes" : "No);
      |                                                    ^~~~~
a.cc: In function 'int main()':
a.cc:32:5: error: expected primary-expression before 'return'
   32 |     return 0;
      |     ^~~~~~
a.cc:30:51: error: expected ')' before 'return'
   30 |     cout << (sqrt(a) + sqrt(b) < sqrt(c) ? "Yes" : "No);
      |             ~                                     ^
      |                                                   )
   31 | 
   32 |     return 0;
      |     ~~~~~~
Language: C++

using namespace std;

void Main() {
    long long a, b, c;
    cin >> a >> b >> c;
    bool s = false;
    if (sqrt(a) + sqrt(b) < sqrt(c)) {
    //if (0< c * c + a * a + b * b + 2 * a * b - 2 * b * c - 2 * c * a - 4 * a * b) {
        s = true;
    }
    cout << (s ? "Yes" : "No") << endl;
}

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


Compiler output:
a.cc: In function 'void Main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b >> c;
      |     ^~~
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:7:9: error: 'sqrt' was not declared in this scope
    7 |     if (sqrt(a) + sqrt(b) < sqrt(c)) {
      |         ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << (s ? "Yes" : "No") << endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:35: error: 'endl' was not declared in this scope
   11 |     cout << (s ? "Yes" : "No") << 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: In function 'int main()':
a.cc:15:10: error: 'cout' is not a member of 'std'
   15 |     std::cout << std::fixed << std::setprecision(15);
      |          ^~~~
a.cc:15:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:23: error: 'fixed' is not a member of 'std'
   15 |     std::cout << std::fixed << std::setprecision(15);
      |                       ^~~~~
a.cc:1:1: note: 'std::fixed' is defined in header '<ios>'; this is probably fixable by adding '#include <ios>'
  +++ |+#include <ios>
    1 | using namespace std;
a.cc:15:37: error: 'setprecision' is not a member of 'std'
   15 |     std::cout << std::fixed << std::setprecision(15);
      |                                     ^~~~~~~~~~~~
a.cc:1:1: note: 'std::setprecision' is defined in header '<iomanip>'; this is probably fixable by adding '#include <iomanip>'
  +++ |+#include <iomanip>
    1 | using namespace std;
Language: Java


#include <bits/stdc++.h>
using namespace std;
 
int main() {
  long long A,B,C;
  cin>>A>>B>>C;
  long double AA=sqrt(A);
  long double BB=sqrt(B);
  long double CC=sqrt(C);
  if(AA+BB<CC){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}

Compiler output:
Main.java:2: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:2: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:6: error: not a statement
  long long A,B,C;
  ^
Main.java:7: error: not a statement
  cin>>A>>B>>C;
           ^
Main.java:8: error: not a statement
  long double AA=sqrt(A);
  ^
Main.java:9: error: not a statement
  long double BB=sqrt(B);
  ^
Main.java:10: error: not a statement
  long double CC=sqrt(C);
  ^
Main.java:12: error: not a statement
    cout<<"Yes"<<endl;
               ^
Main.java:15: error: not a statement
    cout<<"No"<<endl;
              ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
Main.java:6: error: ';' expected
  long long A,B,C;
      ^
Main.java:8: error: ';' expected
  long double AA=sqrt(A);
      ^
Main.java:9: error: ';' expected
  long double BB=sqrt(B);
      ^
Main.java:10: error: ';' expected
  long double CC=sqrt(C);
      ^
14 errors
Language: C++

#include"bits/stdc++.h"
using namespace std;
#define int long long
 
int main() {
  int a,b,c;
  cin >> a >> b >> c;
  if (a+b<c) {
    if (4 * a*b < (c - a - b)*(c - a - b)) {
      cout << "Yes" << endl;
    }
  }
  cout << "No" << endl;
}

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

#include"bits/stdc++.h"
using namespace std;
#define int long long
 
int main(void) {
  int a,b,c;
  cin >> a >> b >> c;
  if (a+b<c) {
    if (4 * a*b < (c - a - b)*(c - a - b)) {
      cout << "Yes" << endl;
    }
  }
  cout << "No" << endl;
}

Compiler output:
cc1plus: error: '::main' must return 'int'