buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define all(x) (x).begin(), (x).end()
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define sz(x) ((int)(x).size())
#define rep(x, y, z) for (int x = y; x < z; x++)
#define per(x, z, y) for (int x = z - 1; x >= y; x--)
#... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define all(x) (x).begin(), (x).end()
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define sz(x) ((int)(x).size())
#define rep(x, y, z) for (int x = y; x < z; x++)
#define per(x, z, y) for (int x = z - 1; x >= y; x--)
#... | [["+", 75, 76, 0, 9, 0, 1, 0, 11, 31, 22], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 17, 108], ["+", 75, 76, 0, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35]] | 1 | 226 |
import math
import numpy
a,b,c = map(int, input().split())
d = c - a - b
if d > 0 and d * D > 4 * a * b:
print("Yes")
else:
print("No")
| import math
import numpy
a,b,c = map(int, input().split())
d = c - a - b
if d > 0 and d * d > 4 * a * b:
print("Yes")
else:
print("No")
| [["-", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22]] | 5 | 58 |
#include "bits/stdc++.h"
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (a == 0 && b == 0 && c == 0)
cout << "No" << endl;
if ((a + b) / 2 > sqrt(a * b))
cout << "Yes" << endl;
else
cout << "No" << endl;
cin >> a;
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
int main() {
long double a, b, c;
cin >> a >> b >> c;
if (a == 0 && b == 0 && c == 0)
cout << "No" << endl;
else if ((c - a - b) / 2 > sqrtl(a * b))
cout << "Yes" << endl;
else
cout << "No" << endl;
cin >> a;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 31, 22], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 17, 33], ["-", 51, 16, 31, 16, 31, 23, 0, 16, 17, 72], ["+", 51, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["-", 0,... | 1 | 93 |
#include <bits/stdc++.h>
using namespace std;
int main() {
double a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d * d > 4 * a * b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d * d > 4 * a * b && d > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 70 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
#define rep(i, x) for (ll i = 0; i < (ll)(x); i++)
#define rrep(i, x) for (ll i = (ll)(x)-1; 0 <= i; i--)
#define reps(i, x) for (ll i = 1; i < (ll)(x) + 1; i++)
#d... | #include <algorithm>
#include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
#define rep(i, x) for (ll i = 0; i < (ll)(x); i++)
#define rrep(i, x) for (ll i = (ll)(x)-1; 0 <= i; i--)
#define reps(i, x) for (ll i = 1; i < (ll)(x) + 1; i++)
#d... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 229 |
import static java.lang.Math.*;
import java.io.*;
import java.util.*;
public class Main {
static public class pair {
int u;
int idx;
int val;
public pair(int x, int i) {
u = x;
idx = i;
val = -1;
}
}
static ArrayList<pair>[] adj;
static int[] Arr, Arry;
static int inf... | import static java.lang.Math.*;
import java.io.*;
import java.util.*;
public class Main {
static public class pair {
int u;
int idx;
int val;
public pair(int x, int i) {
u = x;
idx = i;
val = -1;
}
}
static ArrayList<pair>[] adj;
static int[] Arr, Arry;
static int inf... | [["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 98], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 15, 0, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 15, 0, 16, 12, 16, 12, 16, 12, 22]] | 3 | 579 |
#include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m - 1; i < n; i++)
#define INF 2000000000
#define ALL(v) v.begin(), v.end()
#define chmax(x, y) (x = max(x, y))
#define chmin(x, y) (x = min(x, y))
#define FILL2D(A, c... | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m - 1; i < n; i++)
#define INF 2000000000
#define ALL(v) v.begin(), v.end()
#define chmax(x, y) (x = max(x, y))
#define chmin(x, y) (x = min(x, y))
#define FILL2D(A, c... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 12, 22]] | 1 | 271 |
#include <iomanip>
#include <iostream>
using namespace std;
const int N = 3e5 + 500;
int cnt[N];
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (4 * a * b < d * d) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iomanip>
#include <iostream>
using namespace std;
const int N = 3e5 + 500;
int cnt[N];
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (4 * a * b < d * d && d > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 87 |
#include <bits/stdc++.h>
#include <math.h>
#define _GLIBCXX_DEBUG
#define _LIBCPP_DEBUG 0
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rrep(i, n) for (int i = n - 1; i >= 0; i--)
#define MOD (1000000007)
#define vi vector<int>
#define vl vector<ll>
#define vb vector<b... | #include <bits/stdc++.h>
#include <math.h>
#define _GLIBCXX_DEBUG
#define _LIBCPP_DEBUG 0
using namespace std;
#define ll long long
#define rep(i, n) for (int i = 0; i < n; i++)
#define rrep(i, n) for (int i = n - 1; i >= 0; i--)
#define MOD (1000000007)
#define vi vector<int>
#define vl vector<ll>
#define vb vector<b... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 106], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 98], ["-", 0, 43, 49, 50, 51, 16, 12, 16, 17, 19], ["+", 0, 43, 49, 50, 51, 16, 12, 16, 17, 47]] | 1 | 1,351 |
#!/usr/bin/python3
a, b, c = map(int, input().split())
if (a*b)*4 < ((c-a-b))**2:
print("Yes")
else:
print("No")
| #!/usr/bin/python3
a, b, c = map(int, input().split())
if a+b <c and (a*b)*4 < ((c-a-b))**2:
print("Yes")
else:
print("No")
| [["+", 0, 57, 15, 679, 31, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 12, 22], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 22], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 54 |
#include <iostream>
using namespace std;
int main() {
long int a, b, c, t;
cin >> a >> b >> c;
t = a * b - (c - a - b) * (c - a - b);
if (t < 0 && c - a - b > 0) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
long int a, b, c, t;
cin >> a >> b >> c;
t = 4 * a * b - (c - a - b) * (c - a - b);
if ((t < 0) && (c - a - b > 0)) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
return 0;
} | [["+", 0, 11, 12, 16, 31, 16, 31, 16, 31, 13], ["+", 0, 11, 12, 16, 31, 16, 31, 16, 17, 48], ["+", 0, 14, 8, 9, 0, 57, 15, 339, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 25], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 12, 23, 0, 25]] | 1 | 90 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
c -= a + b;
if (c <= 0)
cout << "NO" << endl;
else {
if (4 * a * b < c * c)
cout << "NO" << endl;
else
cout << "YES" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
c -= a + b;
if (c <= 0)
cout << "No" << endl;
else {
if (4 * a * b < c * c)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 79 |
a, b, c = map(int, input().split())
d = c - a - b
if d ** 2 > 4 * a * b or d < 0:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
d = c - a - b
if d ** 2 > 4 * a * b and d > 0:
print('Yes')
else:
print('No')
| [["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47]] | 5 | 54 |
import java.io.*;
import java.util.*;
public class Main {
static int repow(int b, int p) {
long a = b;
long res = 1;
while (p > 0) {
if (p % 2 == 1) {
res *= a;
}
a *= a;
p /= 2;
}
return (int)res;
}
static int repow(int b, int p, int modder) {
long a = b %... | import java.io.*;
import java.util.*;
public class Main {
static int repow(int b, int p) {
long a = b;
long res = 1;
while (p > 0) {
if (p % 2 == 1) {
res *= a;
}
a *= a;
p /= 2;
}
return (int)res;
}
static int repow(int b, int p, int modder) {
long a = b %... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 7,814 |
import java.util.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long num = c - a - b;
if (num < 0) {
System.out.println("NO");
} else {
if ((4 * a * b) < n... | import java.util.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long num = c - a - b;
if (num < 0) {
System.out.println("No");
} else {
if ((4 * a * b) < n... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 133 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
bool ans = true;
if (a + b > c)
ans = false;
else {
if (4 * a * b > (c - a - b) * (c - a - b))
ans = false;
}
if (ans)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
bool ans = true;
if (a + b > c)
ans = false;
else {
if (4 * a * b >= (c - a - b) * (c - a - b))
ans = false;
}
if (ans)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["-", 0, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 97 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define l long
#define pb push_back
#define mp make_pair
#define mt make_tuple
ll M = 998244353;
int main() {
// your code goes here
// ifstream cin("input.txt");
// ofstream cout("output.txt");
ios_base::sync_with_stdio(false);
cin.tie(NULL)... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define l long
#define pb push_back
#define mp make_pair
#define mt make_tuple
ll M = 998244353;
int main() {
// your code goes here
// ifstream cin("input.txt");
// ofstream cout("output.txt");
ios_base::sync_with_stdio(false);
cin.tie(NULL)... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 12, 22]] | 1 | 120 |
#include <cmath>
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll x = a * a;
ll y = b * b;
ll z = c * c;
ll d = a * b;
ll e = b * c;
ll f = a * c;
ll g = c - a;
if ((x + y + z) > 2 * d + 2 * e + 2 * f && g - b > 0) {
cout << "YES" <... | #include <cmath>
#include <iostream>
using namespace std;
typedef long long ll;
int main(void) {
ll a, b, c;
cin >> a >> b >> c;
ll x = a * a;
ll y = b * b;
ll z = c * c;
ll d = a * b;
ll e = b * c;
ll f = a * c;
ll g = c - a;
if ((x + y + z) > 2 * d + 2 * e + 2 * f && g - b > 0) {
cout << "Ye... | [["+", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 135 |
#include <iostream>
using namespace std;
int main(void) {
long long a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b > (c - a - b) * (c - a - b)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
long long a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 85 |
a,b,c = map(int, input().split())
x = (c-a-b)**2-4*a*b
if(x>0 & c-a-b>=0): print('Yes')
else: print('No')
| import numpy as np
a,b,c = map(int, input().split())
x = (c-a-b)**2-4*a*b
if(x>0 and c-a-b>=0): print('Yes')
else: print('No')
| [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 0, 656, 0, 596, 141, 704, 141, 673, 0, 22], ["+", 36, 36, 0, 656, 0, 596, 141, 704, 0, 272], ["+", 36, 36, 0, 656, 0, 596, 141, 704, 705, 22], ["-", 0, 57, 15, 23, 0, 666, 0, 657, 17, 67], ["+", 0, 656, 0, 57, 15, 23, 0, 679, 17, 355]] | 5 | 64 |
import java.util.*;
import java.util.Map.Entry;
class Main {
static int mod = (int)(Math.pow(10, 9) + 7);
// static int mod = 998244353;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long... | import java.util.*;
import java.util.Map.Entry;
class Main {
static int mod = (int)(Math.pow(10, 9) + 7);
// static int mod = 998244353;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long... | [["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]] | 3 | 157 |
#include <iostream>
#include <math.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c;
d = c - a - b;
if (d * d < 4 * a * b && d > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
#include <math.h>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c;
d = c - a - b;
if (d * d > 4 * a * b && d > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47]] | 1 | 80 |
a, b, c = map(int, input().split())
ans = 'Yes' if (c - a - b)**2 > 2*(a*b) and c - a - b > 0 else 'No'
print(ans) | a, b, c = map(int, input().split())
ans = 'Yes' if (c - a - b)**2 > 4*(a*b) and c - a - b > 0 else 'No'
print(ans) | [["-", 12, 41, 0, 679, 31, 666, 0, 657, 31, 612], ["+", 12, 41, 0, 679, 31, 666, 0, 657, 31, 612]] | 5 | 57 |
/* Bismillahir Rahmanir Rahim. */
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(false);
// #ifndef ONLINE_JUDGE
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
// #endif
double a, b, c;
cin >> a >> b >> c;
c = c - ... | /* Bismillahir Rahmanir Rahim. */
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_with_stdio(false);
// #ifndef ONLINE_JUDGE
// freopen("input.txt", "r", stdin);
// freopen("output.txt", "w", stdout);
// #endif
ll a, b, c;
cin >> a >> b >> c;
c = c - a - ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 86 |
#C 正解
abc = input().split(' ')
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])
if 4*a*b < (c - a + b)**2 and c > a + b:
print('Yes')
else:
print('No') | #C 正解
abc = input().split(' ')
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])
if (4*a*b < (c - a - b)**2) and (c > a + b):
print('Yes')
else:
print('No') | [["+", 0, 656, 0, 57, 15, 679, 31, 23, 0, 24], ["-", 31, 666, 0, 657, 31, 23, 0, 657, 17, 72], ["+", 0, 666, 0, 657, 31, 23, 0, 657, 17, 33], ["+", 0, 656, 0, 57, 15, 679, 31, 23, 0, 25], ["+", 0, 656, 0, 57, 15, 679, 12, 23, 0, 24], ["+", 0, 656, 0, 57, 15, 679, 12, 23, 0, 25]] | 5 | 77 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
scanf("%lld%lld%lld", &a, &b, &c);
ll d = a * a + b * b + c * c - ((a * b + b * c + c * a) * 2);
if (d > 0)
printf("Yes");
else
printf("No");
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
scanf("%lld%lld%lld", &a, &b, &c);
ll d = a * a + b * b + c * c - ((a * b + b * c + c * a) * 2);
if (d > 0 && c > a + b)
printf("Yes");
else
printf("No");
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 12, 22]] | 1 | 94 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll d = c - a - b;
if (d >= 0 && 4 * a * b < c)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll d = c - a - b;
if (d >= 0 && 4 * a * b < d * d)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 48], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 12, 22]] | 1 | 73 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
unsigned long long a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
/*
if(sqrt(a) + sqrt(b) < sqrt(c)){
cout <<... | #include <cmath>
#include <iostream>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
/*
if(sqrt(a) + sqrt(b) < sqrt(c)){
cout << "Yes" <<... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 1 | 88 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long a, b, c;
cin >> a >> b >> c;
if (c <= (a + b)) {
cout << "No" << '\n';
return 0;
}
c = (c - (a + b)) * (c - (a + b));
if (c > (4LL * a * b)) {
cout << 'Yes' << '\n';
} else
cout << 'No' << '\n';
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long a, b, c;
cin >> a >> b >> c;
if (c <= (a + b)) {
cout << "No" << '\n';
return 0;
}
c = (c - (a + b)) * (c - (a + b));
if (c > (4LL * a * b)) {
cout << "Yes" << '\n';
} else
cout << "No" << '\n';
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 16, 31, 16, 12, 103, 0, 42, 0, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 114 |
#include <bits/stdc++.h>
using namespace std;
main() {
long long a, b, c, d;
cin >> a >> b >> c;
d = c - (a + b);
if (d > 0 && a * b < d * d) {
cout << "Yes";
} else {
cout << "No";
}
} | #include <bits/stdc++.h>
using namespace std;
main() {
long long a, b, c, d;
cin >> a >> b >> c;
d = c - (a + b);
if (d > 0 && 4 * a * b < d * d) {
cout << "Yes";
} else {
cout << "No";
}
} | [["+", 51, 16, 12, 16, 31, 16, 31, 16, 31, 13], ["+", 51, 16, 12, 16, 31, 16, 31, 16, 17, 48]] | 1 | 70 |
a, b, c = map(int, input().split())
print("Yes" if 2*a*b < (c-a-b)**2 and c-a-b > 0 else "No")
| a, b, c = map(int, input().split())
print("Yes" if 4*a*b < (c-a-b)**2 and c-a-b > 0 else "No")
| [["-", 0, 679, 31, 666, 0, 657, 31, 657, 31, 612], ["+", 0, 679, 31, 666, 0, 657, 31, 657, 31, 612]] | 5 | 52 |
#include <bits/stdc++.h>
using namespace std;
#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++)
int64_t a, b, c, d;
void solve() {
d = c - a - b;
if (d > 0 && 2 * (a * b) < d * d) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
i... | #include <bits/stdc++.h>
using namespace std;
#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++)
int64_t a, b, c, d;
void solve() {
d = c - a - b;
if (d > 0 && 4 * (a * b) < d * d) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
i... | [["-", 15, 339, 51, 16, 12, 16, 31, 16, 31, 13], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 31, 13]] | 1 | 107 |
#include <bits/stdc++.h>
using namespace std;
#define sqr(x) ((x) * (x))
unsigned long long a, b, c, Rem;
int main() {
cin >> a >> b >> c;
Rem = (c - (a + b));
if ((sqr(Rem) > a * b * 4) && (Rem > 0))
puts("Yes");
else
puts("No");
} | #include <bits/stdc++.h>
using namespace std;
#define sqr(x) ((x) * (x))
long long a, b, c, Rem;
int main() {
cin >> a >> b >> c;
Rem = (c - (a + b));
if ((sqr(Rem) > a * b * 4) && (Rem > 0))
puts("Yes");
else
puts("No");
} | [["-", 36, 36, 0, 30, 0, 43, 39, 86, 0, 87]] | 1 | 85 |
#ifdef LOCAL
#pragma GCC optimize("O0")
#else
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("avx")
#endif
#include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <st... | #ifdef LOCAL
#pragma GCC optimize("O0")
#else
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#pragma GCC target("avx")
#endif
#include <algorithm>
#include <bitset>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <st... | [["-", 0, 57, 64, 1, 0, 2, 3, 4, 0, 13], ["+", 0, 57, 64, 1, 0, 2, 3, 4, 0, 13]] | 1 | 2,245 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll sum1 = 4 * a * b;
ll val = (c - a - b);
ll sum2 = val * val;
if (sum1 < sum2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll sum1 = 4 * a * b;
ll val = (c - a - b);
ll sum2 = val * val;
if (0 < val && sum1 < sum2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 86 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define printVec(v) \
printf("{"); \
for (const auto &i : v) { \
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define printVec(v) \
printf("{"); \
for (const auto &i : v) { \
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["-", 0, 57, 15, 339, 51, 16, 31, 2, 63, 22], ["-", 15, 339, 51, 16, 31, 2, 3, 4, 0, 21], ["-", 15, 339, 51, 16, 31, 2, 3, 4, 0, 13], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 17, 48], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 12, 22]] | 1 | 265 |
a,b,c=map(int,input().split())
if c<a+b:
print("No")
exit()
if 4*a*b>(c-a-b)*(c-a-b):
print("Yes")
else:
print("No")
| a,b,c=map(int,input().split())
if c<a+b:
print("No")
exit()
if 4*a*b<(c-a-b)*(c-a-b):
print("Yes")
else:
print("No")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18]] | 5 | 71 |
#include <iostream>
using namespace std;
int main() {
long a, b, c;
cin >> a >> b >> c;
long tmp1 = c - a - b, tmp2 = 4 * a, tmp3 = b;
for (long i = 2; i < 1000000; ++i) {
while (tmp1 % i == 0 & tmp2 % (i * i) == 0) {
tmp1 /= i;
tmp2 /= i;
}
while (tmp1 % i == 0 & tmp3 % (i * i) == 0) ... | #include <iostream>
using namespace std;
int main() {
long a, b, c;
cin >> a >> b >> c;
long tmp1 = c - a - b, tmp2 = 4 * a, tmp3 = b;
for (long i = 2; i < 1000000; ++i) {
while (tmp1 % i == 0 & tmp2 % (i * i) == 0) {
tmp1 /= i;
tmp2 /= i * i;
}
while (tmp1 % i == 0 & tmp3 % (i * i) ==... | [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]] | 1 | 161 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, s, n) for (int i = s; i < (int)(n); i++)
int main() {
int a, b, c, d;
cin >> a >> b >> c;
d = c - a - b;
if (d * d > 4 * a * b)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, s, n) for (int i = s; i < (int)(n); i++)
int main() {
ll a, b, c, d;
cin >> a >> b >> c;
d = c - a - b;
if (d * d > 4 * a * b && d > 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 92 |
#include <bits/stdc++.h>
#define FASTIO \
ios::sync_with_stdio(false); \
cin.tie(0);
#define ADD +
#define SUBTRACT -
#define MULTIPLY *
#define DIVIDE /
#define MOD %
#define INCREMENT(x) ++x
#define DEC... | #include <bits/stdc++.h>
#define FASTIO \
ios::sync_with_stdio(false); \
cin.tie(0);
#define ADD +
#define SUBTRACT -
#define MULTIPLY *
#define DIVIDE /
#define MOD %
#define INCREMENT(x) ++x
#define DEC... | [["-", 0, 41, 15, 23, 0, 16, 31, 16, 17, 79], ["+", 0, 41, 15, 23, 0, 16, 31, 16, 17, 47]] | 1 | 343 |
#include <math.h>
#include <stdio.h>
int main() {
long double a, b, c, d;
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;
}
| #include <math.h>
#include <stdio.h>
int main() {
long double a, b, c, d;
scanf("%Lf %Lf %Lf", &a, &b, &c);
d = c - a - b; //展開は誤差の元 項が増える
if (d * d > 4.0L * a * b && d > 0) // d<0 でも成立してしまう
// 2sqrt(ab)>0よりd>0
puts("Yes");
else
puts("No");
re... | [["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 98], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13]] | 0 | 75 |
import bisect,collections,copy,itertools,math,string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def main():
a,b,c = LI()... | import bisect,collections,copy,itertools,math,string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def main():
a,b,c = LI()... | [["+", 0, 1, 0, 662, 12, 679, 12, 666, 667, 47], ["+", 0, 1, 0, 662, 12, 679, 12, 666, 0, 612]] | 5 | 156 |
#include <bits/stdc++.h>
#define PI 3.1415926535897932
#define _GLIBCXX_DEBUG
#define MOD 1000000007;
using namespace std;
long long GCD(long long A, long long B) {
if (B == 0) {
return A;
} else {
return GCD(B, A % B);
}
}
long long LCM(long long A, long long B) {
long long g = GCD(A, B);
return A / ... | #include <bits/stdc++.h>
#define PI 3.1415926535897932
#define _GLIBCXX_DEBUG
#define MOD 1000000007;
using namespace std;
long long GCD(long long A, long long B) {
if (B == 0) {
return A;
} else {
return GCD(B, A % B);
}
}
long long LCM(long long A, long long B) {
long long g = GCD(A, B);
return A / ... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 12, 22]] | 1 | 196 |
a,b,c=map(int,input().split())
print(['No','Yes'][4*a*b<(c-a-b)**2]) | a,b,c=map(int,input().split())
print(['No','Yes'][4*a*b<(c-a-b)**2 and a+b<c]) | [["+", 0, 652, 3, 4, 0, 206, 206, 679, 17, 355], ["+", 0, 206, 206, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 206, 206, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 206, 206, 679, 12, 666, 0, 657, 12, 22], ["+", 3, 4, 0, 206, 206, 679, 12, 666, 667, 18], ["+", 3, 4, 0, 206, 206, 679, 12, 666, 0, 22]] | 5 | 47 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, b, c;
cin >> a >> b >> c;
int64_t leftSide = 4 * a * b;
int64_t tmp = c - a - b;
int64_t rightSide = tmp * tmp;
if (leftSide < rightSide)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int64_t a, b, c;
cin >> a >> b >> c;
int64_t leftSide = 4 * a * b;
int64_t tmp = c - a - b;
int64_t rightSide = tmp * tmp;
if (0 < tmp && leftSide < rightSide)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 75 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll MOD = 1e9 + 7;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll judge = a * a + b * b + c * c - 2 * a * b - 2 * b * c - 2 * c * a;
if (judge > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll MOD = 1e9 + 7;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll judge = a * a + b * b + c * c - 2 * a * b - 2 * b * c - 2 * c * a;
if (judge > 0 && c > a + b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 12, 22]] | 1 | 100 |
#include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
#define all(x) (x).begin(), (x).end()
#define PI 3.14159265358979323846264338327950L
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {... | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
#define all(x) (x).begin(), (x).end()
#define PI 3.14159265358979323846264338327950L
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 111 |
a,b,c = map(int, input().split())
if 2*a*b<(c-a-b)**2 and c-a-b>0:
print('Yes')
else:
print('No') | a,b,c = map(int, input().split())
if 4*a*b<(c-a-b)**2 and c-a-b>0:
print('Yes')
else:
print('No') | [["-", 15, 679, 31, 666, 0, 657, 31, 657, 31, 612], ["+", 15, 679, 31, 666, 0, 657, 31, 657, 31, 612]] | 5 | 57 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
if (4 * a * b < (c - (a + b)) * (c - (a + b)))
System.out.println("Yes");
else
System.out.... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
if (c > a + b && 4 * a * b < (c - (a + b)) * (c - (a + b)))
System.out.println("Yes");
else
... | [["+", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 98]] | 3 | 113 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios::sync_with_stdio(0);
ll a, b, c;
cin >> a >> b >> c;
ll f = 4 * a * b;
ll d = c - a - b;
bool ans = d * d > f;
puts(ans ? "Yes" : "No");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios::sync_with_stdio(0);
ll a, b, c;
cin >> a >> b >> c;
ll f = 4 * a * b;
ll d = c - a - b;
bool ans = d > 0 && d * d > f;
puts(ans ? "Yes" : "No");
return 0;
}
| [["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 47], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 98], ["+", 49, 50, 51, 16, 12, 16, 31, 16, 31, 22]] | 1 | 90 |
#include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long x = c * c - a * a - b * b;
if (x > 0 && 4 * a * b < x * x)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <algorithm>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long x = c - a - b;
if (x > 0 && 4 * a * b < x * x)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 49, 50, 51, 16, 31, 16, 31, 16, 17, 48], ["-", 49, 50, 51, 16, 31, 16, 31, 16, 12, 22], ["-", 49, 50, 51, 16, 31, 16, 12, 16, 31, 22], ["-", 49, 50, 51, 16, 31, 16, 12, 16, 17, 48], ["-", 0, 43, 49, 50, 51, 16, 12, 16, 31, 22], ["-", 0, 43, 49, 50, 51, 16, 12, 16, 17, 48]] | 1 | 86 |
a,b,c = map(int,input().split())
if c < a*b:
print("No")
else:
if 2*a*b < c*c + a*a + b*b -2*(a*c+b*c):
print("Yes")
else:
print("No")
| a,b,c = map(int,input().split())
if c < a+b:
print("No")
else:
if 2*a*b < c*c + a*a + b*b -2*(a*c+b*c):
print("Yes")
else:
print("No") | [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 48], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 17, 72]] | 5 | 78 |
import math
a,b,c=map(int,input().split())
if 4*a*b < (c-a-b)**2:
print('Yes')
else:
print('No')
| import math
a,b,c=map(int,input().split())
if 4*a*b < (c-a-b)**2 and c > a+b:
print('Yes')
else:
print('No') | [["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22]] | 5 | 51 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll A;
cin >> A;
ll B;
cin >> B;
ll C;
cin >> C;
if (C - A - B <= 0) {
cout << "No" << '\n';
}
if (4 * A * B < (C - A - B) * (C - A - B)) {
cout << "Yes" << '\n';
} ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll A;
cin >> A;
ll B;
cin >> B;
ll C;
cin >> C;
if (C - A - B <= 0) {
cout << "No" << '\n';
} else if (4 * A * B < (C - A - B) * (C - A - B)) {
cout << "Yes" << '\n';
... | [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95]] | 1 | 127 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
long long e = 4 * a * b;
cout << (d > 0 && d * d <= e ? "No" : "Yes") << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
long long e = 4 * a * b;
cout << (d < 0 || d * d <= e ? "No" : "Yes") << endl;
} | [["-", 12, 23, 0, 41, 15, 16, 31, 16, 17, 47], ["+", 12, 23, 0, 41, 15, 16, 31, 16, 17, 18], ["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 98], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 106]] | 1 | 72 |
#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" << endl;
else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 79 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
long long a, b, c;
cin >> a >> b >> c;
if (c - a - b >= 0 && 4 * a * b > (c - a - b) * (c - a - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
long long a, b, c;
cin >> a >> b >> c;
if (c - a - b >= 0 && 4 * a * b < (c - a - b) * (c - a - b))
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 94 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define forn(i, a, n) for (int i = a; i < n; i++)
signed main() {
ios::sync_with_stdio(false);
cin.tie(0);
// freopen("input.txt","r",stdin);
// freopen("output.txt","w",stdout);
int a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define forn(i, a, n) for (int i = a; i < n; i++)
signed main() {
ios::sync_with_stdio(false);
cin.tie(0);
// freopen("input.txt","r",stdin);
// freopen("output.txt","w",stdout);
int a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 108 |
#include <iostream>
int main() {
long long a, b, c;
std::cin >> a >> b >> c;
long long d = c - a - b;
if (d >= 0 && 4 * a * b < d)
std::cout << "Yes" << std::endl;
else
std::cout << "No" << std::endl;
return 0;
} | #include <iostream>
int main() {
long long a, b, c;
std::cin >> a >> b >> c;
long long d = c - a - b;
if (d > 0 && 4 * a * b < d * d)
std::cout << "Yes" << std::endl;
else
std::cout << "No" << std::endl;
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 48]] | 1 | 78 |
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
using P = pair<ll, ll>;
using um = unordered_map<ll, ll>;
#define fl cout << flush;
#define endl '\n'
template <typename T> inline void prt(T v) {... | #pragma GCC optimize("O3")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
using vvl = vector<vector<ll>>;
using P = pair<ll, ll>;
using um = unordered_map<ll, ll>;
#define fl cout << flush;
#define endl '\n'
template <typename T> inline void prt(T v) {... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20]] | 1 | 301 |
#include <ctype.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef long long ll;
int main() {
ll a, b, c;
scanf("%lld%lld%lld", &a, &b, &c);
ll d = c - a - b;
if (d > 0 || 4 * a * b < d * d) {
printf("Yes\n");
} else
printf("No\n");
return... | #include <ctype.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef long long ll;
int main() {
ll a, b, c;
scanf("%lld%lld%lld", &a, &b, &c);
ll d = c - a - b;
if (d > 0 && 4 * a * b < d * d) {
printf("Yes\n");
} else
printf("No\n");
return... | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 98]] | 0 | 93 |
#include <cmath>
#include <iostream>
using namespace std;
int main(void) {
long double a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d > 0 && d * d - 4 * a * b)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| #include <cmath>
#include <iostream>
using namespace std;
int main(void) {
long double a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d > 0 && d * d - 4 * a * b > 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
| [["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 74 |
a,b,c= map(int,input().split())
if 4*a*b<(c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | a,b,c= map(int,input().split())
if c>a+b and 4*a*b<(c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | [["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 12, 22], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 55 |
a, b, c = map(int, input().split())
res = c - b - a
if res*res - 4*a*b > 0:
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
res = c - b - a
if res > 0 and res*res - 4*a*b > 0:
print('Yes')
else:
print('No') | [["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 15, 679, 12, 666, 0, 657, 31, 657, 31, 22]] | 5 | 52 |
a, b, c = map(int, input().split())
p = 4*a*b
q = c-a-b
if q*q > p:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
p = 4*a*b
q = c-a-b
if q > 0 and q*q > p:
print("Yes")
else:
print("No") | [["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22]] | 5 | 53 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
using P = pair<long lo... | #include <bits/stdc++.h>
using namespace std;
#define int long long
template <class T> inline bool chmax(T &a, T b) {
if (a < b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
using P = pair<long lo... | [["+", 0, 16, 12, 23, 0, 16, 31, 23, 0, 24], ["+", 0, 16, 12, 23, 0, 16, 31, 23, 0, 25], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 17, 47], ["+", 3, 4, 0, 16, 12, 23, 0, 16, 12, 13]] | 1 | 332 |
a, b, c = map(int, input().split())
if (4*a*b < c-a-b) and c-a-b >= 0:
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
if (4*a*b < (c-a-b)**2) and c-a-b >= 0:
print('Yes')
else:
print('No') | [["+", 31, 23, 0, 666, 0, 657, 31, 23, 0, 24], ["+", 31, 23, 0, 666, 0, 657, 31, 23, 0, 25], ["+", 15, 679, 31, 23, 0, 666, 0, 657, 17, 578], ["+", 15, 679, 31, 23, 0, 666, 0, 657, 12, 612]] | 5 | 55 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (c - b - a <= 0) {
cout << "No" << endl;
} else {
if (4 * a * b <= (c - b - a) * (c - b - a)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (c - b - a <= 0) {
cout << "No" << endl;
} else {
if (4 * a * b < (c - b - a) * (c - b - a)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
} | [["-", 0, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 101 |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <vector>
using namespace s... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <sstream>
#include <stack>
#include <vector>
using namespace s... | [["+", 0, 53, 54, 55, 0, 356, 0, 42, 0, 47], ["+", 49, 65, 0, 53, 54, 55, 0, 356, 0, 32], ["+", 0, 53, 54, 55, 0, 356, 365, 16, 31, 13], ["+", 0, 53, 54, 55, 0, 356, 365, 16, 17, 98], ["+", 0, 356, 365, 16, 12, 16, 31, 16, 31, 22]] | 1 | 471 |
// include
// ------------------------------------------------
#include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
// func
// ------------------------------------------------
int CalcSumOfDigit(int n); // 各桁の和を計算する。
int getDigit(int n); // 数字の桁数を取得する。
string upper(string str); ... | // include
// ------------------------------------------------
#include <algorithm>
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
// func
// ------------------------------------------------
int CalcSumOfDigit(int n); // 各桁の和を計算する。
int getDigit(int n); // 数字の桁数を取得する。
string upper(string str); ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 676 |
#include <iostream>
using namespace std;
int main(void) {
long long a, b, c;
cin >> a >> b >> c;
if ((c - a - b) * (c - a - b) > 4 * a * b)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <iostream>
using namespace std;
int main(void) {
long long a, b, c;
cin >> a >> b >> c;
if (c > a + b && (c - a - b) * (c - a - b) > 4 * a * b)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 70 |
#pragma region Macros
#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REPR(i, n) for (int i = (n); i >= 0; --i)
#define FOR(i, n, m) for (int i = (m), i##_len = (n); i < i##_len; ++i)
#define FOREACH(i, v) for (const auto &i : v)
#define ALL(x) (x... | #pragma region Macros
#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define REPR(i, n) for (int i = (n); i >= 0; --i)
#define FOR(i, n, m) for (int i = (m), i##_len = (n); i < i##_len; ++i)
#define FOREACH(i, v) for (const auto &i : v)
#define ALL(x) (x... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 325 |
#include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define repr(i, a, n) for (int i = n - 1; i >= a; i--)
using namespace std;
using ll = long long;
using P = pair<int, int>;
template <typename T> void chmin(T &a, T b) { a = min(a, b); }
template <typename T> void chmax(T &a, T b) { a = max(a, b)... | #include <bits/stdc++.h>
#define rep(i, a, n) for (int i = a; i < n; i++)
#define repr(i, a, n) for (int i = n - 1; i >= a; i--)
using namespace std;
using ll = long long;
using P = pair<int, int>;
template <typename T> void chmin(T &a, T b) { a = min(a, b); }
template <typename T> void chmax(T &a, T b) { a = max(a, b)... | [["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 175 |
a, b, c = map(int, input().split())
if (c - a - b) ** 2 < 4 * a * b and c > (a + b):
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
if (c - a - b) ** 2 > 4 * a * b and c > (a + b):
print('Yes')
else:
print('No') | [["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47]] | 5 | 57 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define F first
#define S second
#define PB push_back
#define MK make_pair
#define REP(i, a, b) for (int i = a; i < b; i++)
bool sort_by(pi c, pi d) { return c.S < d.S; }
int main() {
double a, ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define F first
#define S second
#define PB push_back
#define MK make_pair
#define REP(i, a, b) for (int i = a; i < b; i++)
bool sort_by(pi c, pi d) { return c.S < d.S; }
int main() {
ll a, b, c... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47]] | 1 | 128 |
a, b, c = map(int, input().split())
if a*b < (c-a-b)**2//4 and c-a-b >= 0:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
if 4*a*b < (c-a-b)**2 and c-a-b >= 0:
print("Yes")
else:
print("No")
| [["+", 15, 679, 31, 666, 0, 657, 31, 657, 31, 612], ["+", 15, 679, 31, 666, 0, 657, 31, 657, 17, 48], ["-", 0, 57, 15, 679, 31, 666, 0, 657, 17, 676], ["-", 0, 57, 15, 679, 31, 666, 0, 657, 12, 612]] | 5 | 57 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, a, b) for (int i = a; i < b; i++)
#define all(x) (x).begin(), (x).end() // 昇順ソート
#define rall(v) (v).rbegin(), (v).rend() // 降順ソート
#define FastIO ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
ty... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, a, b) for (int i = a; i < b; i++)
#define all(x) (x).begin(), (x).end() // 昇順ソート
#define rall(v) (v).rbegin(), (v).rend() // 降順ソート
#define FastIO ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0)
ty... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 189 |
// Panasonic_2020_C
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll m = 4 * a * b;
ll n = (c - a - b) * (c - a - b);
// cout << m << "\n";
// cout << n << "\n";
if ((n > 0) && m < n)
cout << "Yes"
<< "\n";
else
cou... | // Panasonic_2020_C
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll m = 4 * a * b;
ll n = (c - a - b) * (c - a - b);
// cout << m << "\n";
// cout << n << "\n";
if ((c - a - b > 0) && m < n)
cout << "Yes"
<< "\n";
else... | [["-", 15, 339, 51, 16, 31, 23, 0, 16, 31, 22], ["+", 31, 23, 0, 16, 31, 16, 31, 16, 31, 22], ["+", 31, 23, 0, 16, 31, 16, 31, 16, 17, 33], ["+", 31, 23, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 17, 33], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 12, 22]] | 1 | 96 |
a, b, c = map(int, input().split())
d = c - a - b
if d > 0 and d > 4 * a * b:
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
d = c - a - b
if d > 0 and d ** 2 > 4 * a * b:
print('Yes')
else:
print('No') | [["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 578], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 612]] | 5 | 52 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/* */
int main() {
// 入力スタンダード
ll a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0) {
if (a * b < (c - a - b) * (c - a - b)) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
/* */
int main() {
// 入力スタンダード
ll a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0) {
if (4 * a * b < (c - a - b) * (c - a - b)) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | [["+", 15, 339, 51, 16, 31, 16, 31, 16, 31, 13], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 48]] | 1 | 92 |
a,b,c = (int(x) for x in input().split())
if c - a - b <= 0:
print("No")
else:
if 2*a*b <(c-a-b)**2:
print("Yes")
else:
print("No") | a,b,c = (int(x) for x in input().split())
if c - a - b <= 0:
print("No")
else:
if 4*a*b <(c-a-b)**2:
print("Yes")
else:
print("No") | [["-", 0, 57, 15, 666, 0, 657, 31, 657, 31, 612], ["+", 0, 57, 15, 666, 0, 657, 31, 657, 31, 612]] | 5 | 70 |
<?php
fscanf(STDIN,"%d %d %d",$a,$b,$c);
if($c-$b-$a>0 && 4*$a*$b<pow($c-$b-$a,2))
printf("YES");
else
printf("NO"); | <?php
fscanf(STDIN,"%d %d %d",$a,$b,$c);
if($c-$b-$a>0 && 4*$a*$b<pow($c-$b-$a,2))
printf("Yes");
else
printf("No"); | [["-", 0, 613, 3, 3, 0, 28, 0, 609, 0, 610], ["+", 0, 613, 3, 3, 0, 28, 0, 609, 0, 610]] | 6 | 69 |
def main():
a,b,c = map(int,input().split(" "))
if (c-a-b)**2 > a*b*4:
print("Yes")
else:
print("No")
main() | def main():
a,b,c = map(int,input().split(" "))
if (c-a-b)**2 > a*b*4 and c > a + b:
print("Yes")
else:
print("No")
main() | [["+", 0, 14, 8, 196, 0, 57, 15, 679, 17, 355], ["+", 8, 196, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 8, 196, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22]] | 5 | 60 |
a, b, c = map(int, input().split())
if 2*(a*b+b*c+c*a) < a**2 + b**2 + c**2:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
if 2*(a*b+b*c+c*a) < a**2 + b**2 + c**2 and a + b < c:
print("Yes")
else:
print("No") | [["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22]] | 5 | 61 |
import math
a,b,c=map(int,input().split())
if a*b<(c-a-b)*(c-a-b) and c>a+b:
print('Yes')
else:
print('No') | import math
a,b,c=map(int,input().split())
if 4*a*b<(c-a-b)*(c-a-b) and c>a+b:
print('Yes')
else:
print('No') | [["+", 15, 679, 31, 666, 0, 657, 31, 657, 31, 612], ["+", 15, 679, 31, 666, 0, 657, 31, 657, 17, 48]] | 5 | 61 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(n) n.begin(), n.end()
#define yn(x) cout << (x ? "Yes" : "No") << endl;
int main() {
ll a, b, c;
cin >> a >> b >> c;
yn(c - a - b > 0 && 4 * a * a * b * b < (c - a - b) * (c - a - b));
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(n) n.begin(), n.end()
#define yn(x) cout << (x ? "Yes" : "No") << endl;
int main() {
ll a, b, c;
cin >> a >> b >> c;
yn(c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b));
}
| [["-", 12, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 16, 12, 16, 31, 16, 31, 16, 17, 48], ["-", 0, 16, 12, 16, 31, 16, 31, 16, 12, 22], ["-", 3, 4, 0, 16, 12, 16, 31, 16, 17, 48]] | 1 | 90 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define F first
#define S second
#define SZ(x) ((int)(x).size())
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
const double pi = acos(-1... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
#define F first
#define S second
#define SZ(x) ((int)(x).size())
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
const double pi = acos(-1... | [["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 133 |
a,b,c = map(int,input().split())
print("Yes" if (c-a-b)**2 > 4*a*b and (c-a-b) else "No") | a,b,c = map(int,input().split())
print("Yes" if (c-a-b)**2 > 4*a*b and (c-a-b)> 0 else "No") | [["+", 3, 4, 0, 41, 0, 679, 12, 666, 667, 47], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 0, 612]] | 5 | 52 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d * d > 4 * a * b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d > 0 && d * d > 4 * a * b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 31, 22]] | 1 | 71 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b, c;
cin >> a >> b >> c;
long long int d = c - a - b;
if (d * d > 4 * a * b)
cout << "Yes";
else
cout << "No";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long double a, b, c;
cin >> a >> b >> c;
long long int d = c - a - b;
if (d * d > 4 * a * b && d > 0)
cout << "Yes";
else
cout << "No";
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 64 |
a, b, c = map(int, input().split())
p = a**2 + b**2 + c**2 - 2*a*b - 2*b*c - 2*a*c
if p > 0:
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
p = a**2 + b**2 + c**2 - 2*a*b - 2*b*c - 2*a*c
if p > 0 and c > a + b:
print('Yes')
else:
print('No')
| [["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22]] | 5 | 68 |
//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
#define allr(v) v.rbegin(), v.rend()
int main() {
ll a, b, c;
cin >> a >> b >> c;
bool flag = true;
if (c <= a + b)
flag = false;
... | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
#define allr(v) v.rbegin(), v.rend()
int main() {
ll a, b, c;
cin >> a >> b >> c;
bool flag = true;
if (c <= a + b)
flag = false;
... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 121 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define next '\n'
#define sp " "
#define print(x) cout << (x)
#define println(x) cout << (x) << next
#define stop return (0)
#define rep(i,... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define next '\n'
#define sp " "
#define print(x) cout << (x)
#define println(x) cout << (x) << next
#define stop return (0)
#define rep(i,... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["-", 0, 14, 8, 9, 0, 43, 39, 86, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47]] | 1 | 170 |
a, b, c = map(int, input().split())
if c - a - b >= 0 and 4 * a * b <= (c - a - b) ** 2:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
if c - a - b >= 0 and 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No')
| [["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18]] | 5 | 57 |
#!/usr/bin/env python
# coding: utf-8
# In[5]:
a,b,c = map(int, input().split())
# In[6]:
x = c-(a+b)
y = 4*a*b
if x**2 > y:
print("Yes")
else:
print("No")
# In[ ]:
| #!/usr/bin/env python
# coding: utf-8
# In[5]:
a,b,c = map(int, input().split())
# In[7]:
x = c-(a+b)
y = 4*a*b
if x > 0 and x**2 > y:
print("Yes")
else:
print("No")
# In[ ]:
| [["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22]] | 5 | 60 |
#include <bits/stdc++.h>
using namespace std;
using ll = unsigned long long;
int main(void) {
ll a, b, c;
cin >> a >> b >> c;
ll left = 4 * a * b;
ll right = (c - a - b) * (c - a - b);
if ((c - a - b) <= 0) {
cout << "No" << endl;
return 0;
}
if (left < right) {
cout << "Yes" << endl;
} ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(void) {
ll a, b, c;
cin >> a >> b >> c;
ll left = 4 * a * b;
ll right = (c - a - b) * (c - a - b);
if ((c - a - b) <= 0) {
cout << "No" << endl;
return 0;
}
if (left < right) {
cout << "Yes" << endl;
} else {
... | [["-", 0, 30, 0, 360, 39, 77, 39, 86, 0, 87]] | 1 | 118 |
#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (c < a + b) {
cout << "Yes" << endl;
} else {
if (a * a + b * b +... | #include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (c - a - b <= 0) {
cout << "No" << endl;
} else {
if (a * a + b *... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 33], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 72], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 33], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], [... | 1 | 134 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
scanf("%lld%lld%lld", &a, &b, &c);
if ((c - a - b) * (c - a - b) > a * b * 4)
printf("Yes");
else
printf("No");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
scanf("%lld%lld%lld", &a, &b, &c);
if (c > a + b && (c - a - b) * (c - a - b) > a * b * 4)
printf("Yes");
else
printf("No");
return 0;
} | [["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 78 |
a, b, c = map(int, input().split())
if a*b < (c - a - b) ** 2 and a + b < c:
print("Yes")
else:
print("No")
| a, b, c = map(int, input().split())
if 4*a*b < (c - a - b) ** 2 and a + b < c:
print("Yes")
else:
print("No")
| [["+", 15, 679, 31, 666, 0, 657, 31, 657, 31, 612], ["+", 15, 679, 31, 666, 0, 657, 31, 657, 17, 48]] | 5 | 53 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll d = (c - a - b);
bool e = (4 * a * b < d * d);
if (e)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define rep(i, n) for (ll i = 0; i < (ll)n; i++)
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll d = (c - a - b);
bool e = (4 * a * b < d * d);
if (e && d > 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 88 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.