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

#include <bits/stdc++.h>
using namespace std;
// √a+√b<√c ですか？
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  double sqrtA, sqrtB, sqrtC;
  string answer;

  sqrtA = sqrt(a);
  sqrtB = sqrt(b);
  sqrtC = sqrt(c);

  if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
    answer = "Yes";
  } else {
    answer = "No";
  }

  cout << answer << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:30: error: expected '(' before 'sqrtA'
   14 |   if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
      |                              ^~~~~
      |                              (
a.cc:14:62: error: expected '(' before 'sqrtB'
   14 |   if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
      |                                                              ^~~~~
      |                                                              (
a.cc:14:94: error: expected '(' before 'sqrtC'
   14 |   if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
      |                                                                                              ^~~~~
      |                                                                                              (
a.cc:14:100: error: expected ')' before '{' token
   14 |   if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
      |                                                                                                    ^
      |                                                                                                    )
a.cc:14:100: error: expected ')' before '{' token
   14 |   if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
      |                                                                                                    ^
      |                                                                                                    )
a.cc:14:100: error: expected ')' before '{' token
   14 |   if(static_cast<long double>sqrtA + static_cast<long double>sqrtB < static_cast<long double>sqrtC){
      |     ~                                                                                              ^
      |                                                                                                    )
Language: C

#include <stdio.h>
#include <math.h>

int main()
{
    int a, b, c;
    int r, l;
    
    scanf("%d %d %d", &a, &b, &c);

    r=4*a*b;
    l=pow(c-a-b, 2)

    if(r<l&&l>0)
        printf("Yes");
    else
        printf("No");
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:12:20: error: expected ';' before 'if'
   12 |     l=pow(c-a-b, 2)
      |                    ^
      |                    ;
   13 | 
   14 |     if(r<l&&l>0)
      |     ~~              
main.c:16:5: error: 'else' without a previous 'if'
   16 |     else
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
  unsigned long long a,b,c;
  cin >> a >> b >> c;
  if((4*a*b)<(c-b-a)*(c-b-a)){
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return;
}


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

#include <bits/stdc++.h>
using namespace std;
// √a+√b<√c ですか？
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  unsigned double sqrtA, sqrtB, sqrtC;
  string answer;

  sqrtA = sqrt(a);
  sqrtB = sqrt(b);
  sqrtC = sqrt(c);

  if(sqrtA + sqrtB < sqrtC){
    answer = "Yes";
  } else {
    answer = "No";
  }

  cout << answer << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'unsigned' specified with 'double'
    7 |   unsigned double sqrtA, sqrtB, sqrtC;
      |   ^~~~~~~~
a.cc:7:3: error: 'unsigned' specified with 'double'
a.cc:7:3: error: 'unsigned' specified with 'double'
Language: C++

#include <bits/stdc++.h>
using namespace std;
// √a+√b<√c ですか？
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  unsigned double sqrtA=0.0, sqrtB=0.0, sqrtC=0.0;
  string answer;

  sqrtA = sqrt(a);
  sqrtB = sqrt(b);
  sqrtC = sqrt(c);

  if(sqrtA + sqrtB < sqrtC){
    answer = "Yes";
  } else {
    answer = "No";
  }

  cout << answer << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'unsigned' specified with 'double'
    7 |   unsigned double sqrtA=0.0, sqrtB=0.0, sqrtC=0.0;
      |   ^~~~~~~~
a.cc:7:3: error: 'unsigned' specified with 'double'
a.cc:7:3: error: 'unsigned' specified with 'double'
Language: C++

package main

import (
	"bufio"
	"fmt"
	"math"
	"os"
	"strconv"
	"strings"
)

func main() {
	buf, _, _ := bufio.NewReader(os.Stdout).ReadLine()
	s := strings.Split(string(buf), " ")
	a, _ := strconv.ParseFloat(s[0], 64)
	b, _ := strconv.ParseFloat(s[0], 64)
	c, _ := strconv.ParseFloat(s[0], 64)
	if math.Sqrt(a)+math.Sqrt(b) < math.Sqrt(c) {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}

}


Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package main
      | ^~~~~~~
Language: C++

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

using namespace std;
using ll = long long;
using ld = long double;
using p = pair<int, int>;
#define rep(i,n)  for(int i = 0; i < n ; i++)

vector<vector<char>> maps (500 ,vector<char>(500));
static bool reached[500][500];
bool isGoal = false;

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

	long d = c - a - b;
	if (d * d > 4 * a * b && d > 0) {
		cout << "Yes" << endl;
	}
	else
	{
		cout << "No" << endl;
	}
}


Compiler output:
a.cc:6:11: error: 'pair' does not name a type
    6 | using p = pair<int, int>;
      |           ^~~~
a.cc:9:1: error: 'vector' does not name a type
    9 | vector<vector<char>> maps (500 ,vector<char>(500));
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:15:9: error: 'cin' was not declared in this scope
   15 |         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 | //#include <bits/stdc++.h>
a.cc:19:17: error: 'cout' was not declared in this scope
   19 |                 cout << "Yes" << endl;
      |                 ^~~~
a.cc:19:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:19:34: error: 'endl' was not declared in this scope
   19 |                 cout << "Yes" << endl;
      |                                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | //#include <bits/stdc++.h>
a.cc:23:17: error: 'cout' was not declared in this scope
   23 |                 cout << "No" << endl;
      |                 ^~~~
a.cc:23:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:33: error: 'endl' was not declared in this scope
   23 |                 cout << "No" << endl;
      |                                 ^~~~
a.cc:23:33: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

int main() {
    int64_t a,b,c,d;

    cin >> a >> b >> c;

    d = c-a-b;

    if(d>0 && 4*a*b < d*d cout << "Yes" << endl;
    else cout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:26: error: expected ';' before 'cout'
   11 |     if(d>0 && 4*a*b < d*d cout << "Yes" << endl;
      |                          ^~~~~
      |                          ;
a.cc:12:5: error: expected primary-expression before 'else'
   12 |     else cout << "No" << endl;
      |     ^~~~
a.cc:11:49: error: expected ')' before 'else'
   11 |     if(d>0 && 4*a*b < d*d cout << "Yes" << endl;
      |       ~                                         ^
      |                                                 )
   12 |     else cout << "No" << endl;
      |     ~~~~
Language: Java

import java.util.Scanner;
 
public class Main {
  public static void main(String[] args) {
    long a, b, c;
    Scanner scan = new Scanner(System.in);
    
    a = scan.nextDouble();
    b = scan.nextDouble();
    c = scan.nextDouble();
    
    double a1 = Math.sqrt(a);
    double b1 = Math.sqrt(b);
    double c1 = Math.sqrt(c);
    
    if(a1 + b1 < c1) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}

Compiler output:
Main.java:8: error: incompatible types: possible lossy conversion from double to long
    a = scan.nextDouble();
                       ^
Main.java:9: error: incompatible types: possible lossy conversion from double to long
    b = scan.nextDouble();
                       ^
Main.java:10: error: incompatible types: possible lossy conversion from double to long
    c = scan.nextDouble();
                       ^
3 errors
Language: C++

#include<math.h>
#include<stdio.h>
typedef long double ld;
int main(void)
{
  ld a,b,c;
  ld eps = 1.0^-14;
  scanf("%lf %lf %lf",&a,&b,&c);
  if(sqrt(a)+sqrt(b)+eps<sqrt(c)){
    printf("Yes");
  }
  else {
    printf("No");
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: invalid operands of types 'double' and 'int' to binary 'operator^'
    7 |   ld eps = 1.0^-14;
      |            ~~~^~~~
      |            |   |
      |            |   int
      |            double
Language: C++

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

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:9:27: error: expected primary-expression before '<' token
    9 |     if(sqrt(a) + sqrt(b)) <sqrt(c)){
      |                           ^
Language: C++

#include<math.h>
#include<stdio.h>
typedef long double ld;
int main(void)
{
  d a,b,c;
  scanf("%lf %lf %lf",&a,&b,&c);
  if(sqrt(a)+sqrt(b)>sqrt(c)){
    printf("Yes");
  }
  else {
    printf("No");
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'd' was not declared in this scope; did you mean 'ld'?
    6 |   d a,b,c;
      |   ^
      |   ld
a.cc:7:24: error: 'a' was not declared in this scope
    7 |   scanf("%lf %lf %lf",&a,&b,&c);
      |                        ^
a.cc:7:27: error: 'b' was not declared in this scope
    7 |   scanf("%lf %lf %lf",&a,&b,&c);
      |                           ^
a.cc:7:30: error: 'c' was not declared in this scope
    7 |   scanf("%lf %lf %lf",&a,&b,&c);
      |                              ^
Language: C++

#include <iostream>
#include <cmath>

 using namespace std;
 typedef long long ll;

 int main(void){
long double a,b,c;
  cin >> a >> b >> c;
long double eps = 1.0E-14;
 if(sqrt(a) + sqrt(b) + eps < sqrt(c)){
 cout << "Yes" << endl;
}
  else {
  cout << "No" << endl;
}
 return 0;

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

#include <iostream>

using namespace std;

int main(void) {

	long double a, b, c;
	cin >> a >> b >> c;
	
	if (a + b + 2 * sqrtl(a*b) < c) {
		cout << "Yes" << endl;
	}
	else {
		cout << "No" << endl;
	}
	

	return 0;
}

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

#include <iostream>

using namespace std;

int main(void) {

	long double a, b, c;
	cin >> a >> b >> c;

	cout << (a + b + 2 * sqrtl(a*b) < c ? "Yes" : "No") << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:30: error: 'sqrtl' was not declared in this scope; did you mean 'strtol'?
   10 |         cout << (a + b + 2 * sqrtl(a*b) < c ? "Yes" : "No") << endl;
      |                              ^~~~~
      |                              strtol
Language: C++

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
using namespace std;

#define each(i, c) for (auto& i : c)
#define mkp(a, b) make_pair(a, b)

typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> Pll;
const ll MOD = 1e9+7;

template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << ": " << p.second << ")"; return os; }
template<typename T> ostream& operator << (ostream& os, vector<T> v) { os << "("; each (i, v) os << i << ", "; os << ")"; return os; }
template<typename K, typename V> ostream& operator << (ostream& os, map<K, V> m) { os << "{"; each (i, m) os << i << ", "; os << "}"; return os; }

typedef boost::multiprecision::cpp_dec_float_100 lld;

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

  lld ra = boost::multiprecision::sqrt(a);
  lld rb = boost::multiprecision::sqrt(b);
  lld rc = boost::multiprecision::sqrt(c);

  if (ra+rb < rc) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  
  return 0;
}

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

#include <bits/stdc++.h>
#include <boost/multiprecision/cpp_dec_float.hpp>
using namespace std;

#define each(i, c) for (auto& i : c)
#define mkp(a, b) make_pair(a, b)

typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> Pll;
const ll MOD = 1e9+7;

template<typename P, typename Q> ostream& operator << (ostream& os, pair<P, Q> p) { os << "(" << p.first << ": " << p.second << ")"; return os; }
template<typename T> ostream& operator << (ostream& os, vector<T> v) { os << "("; each (i, v) os << i << ", "; os << ")"; return os; }
template<typename K, typename V> ostream& operator << (ostream& os, map<K, V> m) { os << "{"; each (i, m) os << i << ", "; os << "}"; return os; }

typedef lld boost::multiprecision::cpp_dec_float_100;

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

  lld ra = boost::multiprecision::sqrt(a);
  lld rb = boost::multiprecision::sqrt(b);
  lld rc = boost::multiprecision::sqrt(c);

  if (ra+rb < rc) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  
  return 0;
}

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

#include <iostream>
#include <cmath>
#include <limits>

using namespace std;

typedef  long long ll;

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

	double eps = DBL_EPSILON;

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


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: unable to find numeric literal operator 'operator""ab'
    9 |   } else if(4ab < (c - a - b) * (c - a - b)) {
      |             ^~~
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:7:42: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if((c-b-a)>0&&4*a*b<((c-b-a)*(c-b-a))) cout<<"Yes";
      |                                          ^~~~
      |                                          std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else cout<<"No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: unable to find numeric literal operator 'operator""ab'
    9 |   } else if(4ab < (c - a + b) * (c - a + b)) {
      |             ^~~
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:7:16: error: expected identifier before numeric constant
    7 |   if((c-b-a)>&&4*a*b<((c-b-a)*(c-b-a))) cout<<"Yes";
      |                ^
a.cc:7:16: error: expected ')' before numeric constant
    7 |   if((c-b-a)>&&4*a*b<((c-b-a)*(c-b-a))) cout<<"Yes";
      |     ~          ^
      |                )
a.cc:7:41: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if((c-b-a)>&&4*a*b<((c-b-a)*(c-b-a))) cout<<"Yes";
      |                                         ^~~~
      |                                         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else cout<<"No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

include<bits/stdc++.h>
# define ll long long
# define mod 1000000007
# define lar 1000
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	double x=(double)sqrt(a);
	double y=(double)sqrt(b);
	double z=(double)sqrt(c);
	double p=x+y-z;
	if(p<0.00000000000000000)
	cout<<"Yes";
	else
	cout<<"No";
}
#include<bits/stdc++.h>
# define ll long long
# define mod 1000000007
# define lar 1000
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	double x=(double)sqrt(a);
	double y=(double)sqrt(b);
	double z=(double)sqrt(c);
	double p=x+y-z;
	if(p<0.00000000000000000)
	cout<<"Yes";
	else
	cout<<"No";
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin>>a>>b>>c;
      |         ^~~
a.cc:10:26: error: 'sqrt' was not declared in this scope
   10 |         double x=(double)sqrt(a);
      |                          ^~~~
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout<<"Yes";
      |         ^~~~
a.cc:17:9: error: 'cout' was not declared in this scope
   17 |         cout<<"No";
      |         ^~~~
a.cc: At global scope:
a.cc:24:5: error: redefinition of 'int main()'
   24 | int main()
      |     ^~~~
a.cc:6:5: note: 'int main()' previously defined here
    6 | int main()
      |     ^~~~
Language: Java

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
import java.util.logging.LoggingMXBean;

/**
 * @author wuyue
 *
 */
public class Main4 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
		long m = sc.nextLong();
		long k = sc.nextLong();
		
//		int nn = (int) Math.sqrt(n);
//		int mm = (int) Math.sqrt(m);
//		int kk = (int) Math.sqrt(k);
//		if (nn + mm < kk) {
//			System.out.println("Yes");
//		} else {
//			System.out.println("No");
//		}
		 
		if (k - m- n>0) {
			if (((k-m-n) *(k-m-n) - 4.0*n*m) > 0) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
		} else {
				System.out.println("No");
		}
		
		
		
	}

}


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

#include <iostream>
 #include <cmath>

 using namespace std;
 typedef long long ll;

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

 long double eps = 1.0E-14; 12
 if(sqrt(a) + sqrt(b) + eps < sqrt(c)){
 cout << "Yes" << endl;
 } else {
 cout << "No" << endl;
 }

 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:31: error: expected ';' before 'if'
   11 |  long double eps = 1.0E-14; 12
      |                               ^
      |                               ;
   12 |  if(sqrt(a) + sqrt(b) + eps < sqrt(c)){
      |  ~~                            
a.cc:14:4: error: 'else' without a previous 'if'
   14 |  } else {
      |    ^~~~
Language: Java

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
import java.util.logging.LoggingMXBean;

/**
 * @author wuyue
 *
 */
public class Main4 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
		long m = sc.nextLong();
		long k = sc.nextLong();
		
//		int nn = (int) Math.sqrt(n);
//		int mm = (int) Math.sqrt(m);
//		int kk = (int) Math.sqrt(k);
//		if (nn + mm < kk) {
//			System.out.println("Yes");
//		} else {
//			System.out.println("No");
//		}
		 
		if (k - m- n>0) {
			if ((k-m-n) *(k-m-n) > 4*n*m) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
		} else {
				System.out.println("No");
		}
		
		
		
	}

}


Compiler output:
Main.java:12: error: class Main4 is public, should be declared in a file named Main4.java
public class Main4 {
       ^
1 error
Language: Java

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
import java.util.logging.LoggingMXBean;

/**
 * @author wuyue
 *
 */
public class Main4 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
		long m = sc.nextLong();
		long k = sc.nextLong();
		
//		int nn = (int) Math.sqrt(n);
//		int mm = (int) Math.sqrt(m);
//		int kk = (int) Math.sqrt(k);
//		if (nn + mm < kk) {
//			System.out.println("Yes");
//		} else {
//			System.out.println("No");
//		}
		 
		if (k - m- n>0) {
			if (((k-m-n) *(k-m-n) - 4*n*m) > 0) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
		} else {
				System.out.println("No");
		}
		
		
		
	}

}


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

#include<bits/stdc++.h>
# define ll long 
# define mod 1000000007
# define lar 1000
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	l ldouble x=(ll double)sqrtl(a);
	ll double y=(ll double)sqrtl(b);
	ll double z=(ll double)sqrtl(c);
	ll double p=x+y-z;
	if(p<0.000000000000000000000000000)
	cout<<"Yes";
	else
	cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'l' was not declared in this scope
   10 |         l ldouble x=(ll double)sqrtl(a);
      |         ^
a.cc:13:21: error: 'x' was not declared in this scope
   13 |         ll double p=x+y-z;
      |                     ^
Language: Java

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

/**
 * @author wuyue
 *
 */
public class Main4 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
		long m = sc.nextLong();
		long k = sc.nextLong();
		
//		int nn = (int) Math.sqrt(n);
//		int mm = (int) Math.sqrt(m);
//		int kk = (int) Math.sqrt(k);
//		if (nn + mm < kk) {
//			System.out.println("Yes");
//		} else {
//			System.out.println("No");
//		}
		if (k - m- n>0) {
			if ((k-m-n) *(k-m-n) - 4*n*m > 0) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
		} else {
				System.out.println("No");
		}
		
		
		
	}

}


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

#include<iostream>
using namespace std;
inr main(){
    int n , m,k;
    cin >> n >> m >> k;
    
    if(4*n*m<(k-n-m)*(k-n-m) && k > n+m){
        cout << "Yes";
    }else{
        cout << "No";
    }
  return 0;
}

Compiler output:
a.cc:3:1: error: 'inr' does not name a type; did you mean 'int'?
    3 | inr main(){
      | ^~~
      | int
Language: C++

#include<bits/stdc++.h>
# define ll long long
# define mod 1000000007
# define lar 1000
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	ll double x=(ll double)sqrtl(a);
	ll double y=(ll double)sqrtl(b);
	ll double z=(ll double)sqrtl(c);
	ll double p=x+y-z;
	if(p<0.000000000000000000000000000)
	cout<<"Yes";
	else
	cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:10:9: note: in expansion of macro 'll'
   10 |         ll double x=(ll double)sqrtl(a);
      |         ^~
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:10:22: note: in expansion of macro 'll'
   10 |         ll double x=(ll double)sqrtl(a);
      |                      ^~
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:11:9: note: in expansion of macro 'll'
   11 |         ll double y=(ll double)sqrtl(b);
      |         ^~
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:11:22: note: in expansion of macro 'll'
   11 |         ll double y=(ll double)sqrtl(b);
      |                      ^~
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:12:9: note: in expansion of macro 'll'
   12 |         ll double z=(ll double)sqrtl(c);
      |         ^~
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:12:22: note: in expansion of macro 'll'
   12 |         ll double z=(ll double)sqrtl(c);
      |                      ^~
a.cc:2:18: error: 'long long' specified with 'double'
    2 | # define ll long long
      |                  ^~~~
a.cc:13:9: note: in expansion of macro 'll'
   13 |         ll double p=x+y-z;
      |         ^~
Language: C++

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: 'long long' specified with 'double'
    5 | long long double a,b,c;
      |      ^~~~
a.cc:5:6: error: 'long long' specified with 'double'
a.cc:5:6: error: 'long long' specified with 'double'
Language: C++

#include <bits/stdc++.h>
#define rep(i, a) for(int i = 0; i < a; i++)
using namespace std;
int long double
signed main() {
    int 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:4:1: error: two or more data types in declaration of 'main'
    4 | int long double
      | ^~~
Language: C++

// C - Sqrt Inequality 2020/03/14
#include <bits/stdc++.h>
#define rep(i ,n) for(int i=0;i<(int)(n);++i)
using namespace std;
typedef long long int int64;
typedef unsigned long long uint64;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected ',' or ';' before 'if'
   12 |     if(( d > 0 ) && ( d * d > 4 * a * b )) cout << "Yes" << endl;
      |     ^~
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else cout << "No" << endl;
      |     ^~~~
Language: C++

li = list(map(int,input().split()))
a = li[0]
b = li[1]
c = li[2]
if 4*a*b < (c - a - b) ** 2:
    if c - a - b > 0:
        print('Yes')
else:
    print('No')


Compiler output:
a.cc:7:15: warning: multi-character character constant [-Wmultichar]
    7 |         print('Yes')
      |               ^~~~~
a.cc:9:11: warning: multi-character character constant [-Wmultichar]
    9 |     print('No')
      |           ^~~~
a.cc:1:1: error: 'li' does not name a type
    1 | li = list(map(int,input().split()))
      | ^~
Language: C++

#include <iostream>
#include <cmath>
using namespace std;
int main(){
  long double a, b, c, a1, b1, c1;
  cin >> a >> b >> c;
  a1 = long double sqrt（a);
  b1 = long double sqrt(b);
  c1 = long double sqrt(c);
  if(a1 + b1 < c1){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before 'long'
    7 |   a1 = long double sqrt（a);
      |        ^~~~
a.cc:8:8: error: expected primary-expression before 'long'
    8 |   b1 = long double sqrt(b);
      |        ^~~~
a.cc:9:8: error: expected primary-expression before 'long'
    9 |   c1 = long double sqrt(c);
      |        ^~~~
Language: C++

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

#define fRead(x)        freopen(x,"r",stdin)
#define fWrite(x)       freopen (x,"w",stdout)

#define LL              long long
#define ULL             unsigned long long
#define ff              first
#define ss              second
#define pb              push_back
#define INF             2e16
#define PI              acos(-1.0)
#define mk              make_pair
#define pii             pair<int,int>
#define pll             pair<LL,LL>


#define min3(a,b,c)     min(a,min(b,c))
#define max3(a,b,c)     max(a,max(b,c))
#define min4(a,b,c,d)   min(a,min(b,min(c,d)))
#define max4(a,b,c,d)   max(a,max(b,max(c,d)))
#define SQR(a)          ((a)*(a))
#define FOR(i,a,b)      for(int i=a;i<=b;i++)
#define ROF(i,a,b)      for(int i=a;i>=b;i--)
#define REP(i,b)        for(int i=0;i<b;i++)
#define MEM(a,x)        memset(a,x,sizeof(a))
#define ABS(x)          ((x)<0?-(x):(x))

#define SORT(v)         sort(v.begin(),v.end())
#define REV(v)          reverse(v.begin(),v.end())


#define FastRead        ios_base::sync_with_stdio(0);cin.tie(nullptr);

const int N=2;
const LL MOD = 1e9 + 7;





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

 if(sqrt(a)+sqrt(b) < sqrt(c))
 cout<<"Yes"<<"\n";

 else
 cout<<"No"<<"\n";













   return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:46:2: error: 'll' was not declared in this scope; did you mean 'pll'?
   46 |  ll a,b,c;
      |  ^~
      |  pll
a.cc:47:7: error: 'a' was not declared in this scope
   47 |  cin>>a>>b>>c;
      |       ^
a.cc:47:10: error: 'b' was not declared in this scope
   47 |  cin>>a>>b>>c;
      |          ^
a.cc:47:13: error: 'c' was not declared in this scope
   47 |  cin>>a>>b>>c;
      |             ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: expected ';' before 'if'
    9 |         sum=c-b-a
      |                  ^
      |                  ;
   10 |         if(sum*sum>4*a*b && sum>0){
      |         ~~        
a.cc:12:10: error: 'else' without a previous 'if'
   12 |         }else{
      |          ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: 'eps' was not declared in this scope
   10 |   if(sqrt(A)+sqrt(B)+eps<sqrt(C)){
      |                      ^~~
Language: C++

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

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

#include <iostream>
#include <cmath>
using namespace std;
int main(){
  long double a, b, c, a1, b1, c1;
  cin >> a >> b >> c;
  a1 = sqrt（a);
  b1 = sqrt(b);
  c1 = sqrt(c);
  if(a1 + b1 < c1){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'sqrt\U0000ff08a' was not declared in this scope
    7 |   a1 = sqrt（a);
      |        ^~~~~~~
Language: C++

#include<iostream>
#include<vector>
#include<math.h>
#include<algorithm>
using namespace std;
int main()
{
	double a=0;
	double b=0;
	double c=0;
	cin>>a>>b>>c;
	a=(sqrt(a))^2;
	b=(sqrt(b))^2;
	c=(sqrt(c))^2;
	if(a+b<c)
	{
		cout<<"Yes";
	}
	else
	{
		cout<<"No";
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:20: error: invalid operands of types 'double' and 'int' to binary 'operator^'
   12 |         a=(sqrt(a))^2;
      |           ~~~~~~~~~^~
      |                |    |
      |                |    int
      |                double
a.cc:13:20: error: invalid operands of types 'double' and 'int' to binary 'operator^'
   13 |         b=(sqrt(b))^2;
      |           ~~~~~~~~~^~
      |                |    |
      |                |    int
      |                double
a.cc:14:20: error: invalid operands of types 'double' and 'int' to binary 'operator^'
   14 |         c=(sqrt(c))^2;
      |           ~~~~~~~~~^~
      |                |    |
      |                |    int
      |                double
Language: C++

#include <iostream>
 
using namespace std;
 
int main(){
  long long a,b,c;
  cin>>a>>b>>c;
  if (2*sqrt(a*b)<c-a-b) cout<<"Yes";
  else cout<<"No";
  return;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'sqrt' was not declared in this scope
    8 |   if (2*sqrt(a*b)<c-a-b) cout<<"Yes";
      |         ^~~~
a.cc:10:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   10 |   return;
      |   ^~~~~~
Language: C++

/*
a + 2sqrt(ab) + b < c
4ab < (c-a-b)**2
*/

#include <iostream>
using namespace std;

signed main(){
  long long a, b, c;
  cin >> a >> b >> c;
  if(c>=a+b && 4*a*b<(c-a-b)*(c-a-b)) puts("Yes");
  else puts("No")
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: expected ';' before 'return'
   13 |   else puts("No")
      |                  ^
      |                  ;
   14 |   return 0;
      |   ~~~~~~
Language: C++

#include<iostream>
#include<vector>
#include<iomanip>
#include<algorithm>
#include<map>
#include<utility>
#include<cmath>
#include<tuple>
#include<string>
#include<bitset>
#include<set>
#include<queue>
#include<stack>
#include<cfloat>
#include<cstdio>
using namespace std;
typedef long long ll;

int main(){
    ll a,b,c; cin>>a>>b>>c;
    if(c-a-b>&&4*a*b-(c-a-b)*(c-a-b)<0) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:16: error: expected identifier before numeric constant
   21 |     if(c-a-b>&&4*a*b-(c-a-b)*(c-a-b)<0) cout<<"Yes"<<endl;
      |                ^
a.cc:21:16: error: expected ')' before numeric constant
   21 |     if(c-a-b>&&4*a*b-(c-a-b)*(c-a-b)<0) cout<<"Yes"<<endl;
      |       ~        ^
      |                )
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  long double a, b, c, a1, b1, c1;
  cin >> a >> b >> c;
  a1 = sqrt（a * 1.0);
  b1 = sqrt(b * 1.0);
  c1 = sqrt(c * 1.0);
  if(a1 + b1 < c1){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'sqrt\U0000ff08a' was not declared in this scope
    6 |   a1 = sqrt（a * 1.0);
      |        ^~~~~~~
Language: C++

#include<bits/stdc++.h>
# define ll long long
# define mod 1000000007
# define lar 1000
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	double x=(double)sqrlt(a);
	double y=(double)sqrtl(b);
	double z=(double)sqrtl(c);
	double p=x+y-z;
	if(p<0.00000000000000000)
	cout<<"Yes";
	else
	cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:26: error: 'sqrlt' was not declared in this scope; did you mean 'sqrtl'?
   10 |         double x=(double)sqrlt(a);
      |                          ^~~~~
      |                          sqrtl
Language: C++

#include <iostream>
#include <cstring>
#include <string>
#include <cstdio>
#include <algorithm>
#include <cstdlib>
#include <cmath>

using namespace std;

int main() {
    long 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:16:38: error: expected ';' before '{' token
   16 |     if ((sqrt(a) + sqrt(b) < sqrt(c)) {
      |                                      ^~
      |                                      ;
a.cc:18:7: error: expected primary-expression before 'else'
   18 |     } else {
      |       ^~~~
a.cc:18:6: error: expected ')' before 'else'
   18 |     } else {
      |      ^~~~~
      |      )
a.cc:16:8: note: to match this '('
   16 |     if ((sqrt(a) + sqrt(b) < sqrt(c)) {
      |        ^
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <limits>

using namespace std;
typedef unsigned long long int ull;


int main(){
   ull a, b, c;
   cin >> a >> b >> c;
   // cout << (c*c+a*a+b*b-2*a*c-2*b*c+2*a*b) << endl;
   // cout << (c-a-b)*(c-a-b) << endl;
   ull d = (c-a-b)
   if(d > 0 & (d > 4*a*b)){
      cout << "Yes" << endl;
   }
   else{
      cout << "No" << endl;
   }
}

// 1_000_000_000 1_000_000_000 1_000_000_000

Compiler output:
a.cc: In function 'int main()':
a.cc:17:4: error: expected ',' or ';' before 'if'
   17 |    if(d > 0 & (d > 4*a*b)){
      |    ^~
a.cc:20:4: error: 'else' without a previous 'if'
   20 |    else{
      |    ^~~~
Language: C

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>

int main(){
    long a,b,c;
    
    scanf("%ld %ld %ld",&a,&b,&c);
    
    tmp1 = 4 * a * b;
    c -= a;
    c -= b;
    tmp2 = c * c;
    
    if(tmp1 < tmp2) printf("Yes\n");
    else printf("No\n");
    
//    printf("%Lf %Lf %Lf %Lf\n",ans_a,ans_b,ans_ab,ans_c);
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:5: error: 'tmp1' undeclared (first use in this function)
   11 |     tmp1 = 4 * a * b;
      |     ^~~~
main.c:11:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:5: error: 'tmp2' undeclared (first use in this function)
   14 |     tmp2 = c * c;
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
main(){unsigned long double a,b,c;
std::cin>>a>>b>>c;
if((sqrt(a)+sqrt(b))<sqrt(c)) std::cout<<"Yes";
  else if((sqrt(a)+sqrt(b))>=sqrt(c)) std::cout<<"No";
}


Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){unsigned long double a,b,c;
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:8: error: 'unsigned' specified with 'long double'
    2 | main(){unsigned long double a,b,c;
      |        ^~~~~~~~
a.cc:2:8: error: 'unsigned' specified with 'long double'
a.cc:2:8: error: 'unsigned' specified with 'long double'
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <math.h>
#include <algorithm>
#include <set>
#include <iomanip>
#include <stdio.h>
#include <sstream>
#include <string>
using namespace std;
int main(void){
    long double a, b, c;
    cin>>a>>b>>c;
    long double left=4*a*b;
    long double right=pow(c-a-b);
    if(left<right){
        cout<<"Yes"<<endl;
    }else{
        cout<<"No"<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:26: error: no matching function for call to 'pow(long double)'
   16 |     long double right=pow(c-a-b);
      |                       ~~~^~~~~~~
In file included from /usr/include/c++/14/math.h:36,
                 from a.cc:4:
/usr/include/c++/14/cmath:1074:5: note: candidate: 'template<class _Tp, class _Up> constexpr typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::pow(_Tp, _Up)'
 1074 |     pow(_Tp __x, _Up __y)
      |     ^~~
/usr/include/c++/14/cmath:1074:5: note:   candidate expects 2 arguments, 1 provided
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:683,
                 from /usr/include/c++/14/bits/requires_hosted.h:31,
                 from /usr/include/c++/14/iostream:38,
                 from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note: candidate: 'double pow(double, double)'
  173 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:173:1: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/cmath:380:3: note: candidate: 'constexpr long double std::pow(long double, long double)'
  380 |   pow(long double __x, long double __y)
      |   ^~~
/usr/include/c++/14/cmath:380:3: note:   candidate expects 2 arguments, 1 provided
/usr/include/c++/14/cmath:376:3: note: candidate: 'constexpr float std::pow(float, float)'
  376 |   pow(float __x, float __y)
      |   ^~~
/usr/include/c++/14/cmath:376:3: note:   candidate expects 2 arguments, 1 provided
Language: Java

import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;

/**
 * @author wuyue
 *
 */
public class Main4 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		double n = sc.nextDouble();
		double m = sc.nextDouble();
		double k = sc.nextDouble();
		
//		int nn = (int) Math.sqrt(n);
//		int mm = (int) Math.sqrt(m);
//		int kk = (int) Math.sqrt(k);
//		if (nn + mm < kk) {
//			System.out.println("Yes");
//		} else {
//			System.out.println("No");
//		}
		if (k - m- n>=0) {
			double dd = Math.pow(k-m-n, 2.0);
			if ((dd - 4.0*n*m) > 0) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
		} else {
				System.out.println("No");
		}
		
		
		
	}

}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected primary-expression before '<' token
    6 |   if(4*a*b) < (c - a - b)*(c - a - b){
      |             ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int a, b, c;
  long double a1, b1, c1;
  cin >> a >> b >> c;
  a1 = sqrt（a);
  b1 = sqrt(b);
  c1 = sqrt(c);
  if(a1 + b1 < c1){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'sqrt\U0000ff08a' was not declared in this scope
    7 |   a1 = sqrt（a);
      |        ^~~~~~~
Language: C++


int main(){
	int n;
    long long int a, b, c;
	cin >> a >> b >> c;
	long long int tmp  = (c - a - b);
	if (tmp < 0) {
		cout << "NO\n";return 0;
	}
	if (4 * a * b < (c - a - b) * (c - a - b)) cout << "YES\n";
	else cout << "NO\n"; 
	
	
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> a >> b >> c;
      |         ^~~
a.cc:8:17: error: 'cout' was not declared in this scope
    8 |                 cout << "NO\n";return 0;
      |                 ^~~~
a.cc:10:52: error: 'cout' was not declared in this scope
   10 |         if (4 * a * b < (c - a - b) * (c - a - b)) cout << "YES\n";
      |                                                    ^~~~
a.cc:11:14: error: 'cout' was not declared in this scope
   11 |         else cout << "NO\n";
      |              ^~~~
Language: C++

#include<bits/stdc++.h>
main(){unsigned long double int a,b,c;
std::cin>>a>>b>>c;
if((sqrt(a)+sqrt(b))<sqrt(c)) std::cout<<"Yes";
  else if((sqrt(a)+sqrt(b))>=sqrt(c)) std::cout<<"No";
}


Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){unsigned long double int a,b,c;
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:22: error: two or more data types in declaration of 'a'
    2 | main(){unsigned long double int a,b,c;
      |                      ^~~~~~
a.cc:2:22: error: two or more data types in declaration of 'b'
a.cc:2:22: error: two or more data types in declaration of 'c'
a.cc:3:11: error: 'a' was not declared in this scope
    3 | std::cin>>a>>b>>c;
      |           ^
a.cc:3:14: error: 'b' was not declared in this scope
    3 | std::cin>>a>>b>>c;
      |              ^
a.cc:3:17: error: 'c' was not declared in this scope
    3 | std::cin>>a>>b>>c;
      |                 ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected primary-expression before '<' token
    6 |   if(4*a*b) < (c - a - b)*(c - a - b){
      |             ^
a.cc:10:24: error: expected '}' at end of input
   10 |   cout << "No" << endl;
      |                        ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<iostream>
#include <bits/stdc++.h>
#include<cstdio>
#include<string>
#include<math.h>
#include<vector>
#include <algorithm>
using namespace std; 
typedef long double  ld;
typedef unsigned long double  uld;


int main()
{
	uld a,b,c;
	cin >>a >>b >>c;
	if(4*a*b<(c-a-b)*(c-a-b)&&c-a-b>0){
		cout << "Yes" <<endl;
	}else{
		cout << "No" << endl;
	}
	return 0;
}

Compiler output:
a.cc:10:9: error: 'unsigned' specified with 'long double'
   10 | typedef unsigned long double  uld;
      |         ^~~~~~~~