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 |
|---|---|---|---|---|
a, b, c = map(int, input().split())
ans = 'Yes' if 4*a*b < (c - a - b)**2 and c - a - b < 0 else 'No'
print(ans) | a, b, c = map(int, input().split())
ans = 'Yes' if 4*a*b < (c - a - b)**2 and c - a - b > 0 else 'No'
print(ans)
| [["-", 0, 662, 12, 41, 0, 679, 12, 666, 667, 18], ["+", 0, 662, 12, 41, 0, 679, 12, 666, 667, 47]] | 5 | 55 |
#include <bits/stdc++.h>
#define _LIBCPP_DEBUG 0
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll d = c - a - b;
if (d * d > 4 * a * b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
retur... | #include <bits/stdc++.h>
#define _LIBCPP_DEBUG 0
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll 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 | 88 |
#include <iostream>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c;
d = c - a - b;
if (d > 0 && d > 4 * a * b)
cout << "Yes";
else
cout << "No";
} | #include <iostream>
using namespace std;
int main() {
long long a, b, c, d;
cin >> a >> b >> c;
d = c - a - b;
if (d > 0 && d * d > 4 * a * b)
cout << "Yes";
else
cout << "No";
} | [["+", 15, 339, 51, 16, 12, 16, 31, 16, 17, 48], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 12, 22]] | 1 | 65 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = unsigned long long;
using P = pair<int, int>;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (c - a - b < 0)
cout << "No" << endl;
else {
ll d = (c - a - b) * (c - a - b);
ll e = 4 * a * b;
... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
ll a, b, c;
cin >> a >> b >> c;
if (c - a - b < 0)
cout << "No" << endl;
else {
ll d = (c - a - b) * (c - a - b);
ll e = 4 * a * b;
if (d > ... | [["-", 0, 30, 0, 360, 39, 77, 39, 86, 0, 87]] | 1 | 127 |
import math;
inp=input()
(a,b,c)=map(int,inp.split(" "))
cab=c-a-b
cab_sq=cab*cab
ab4=4*a*b
if (ab4 < cab_sq):
print("Yes")
else:
print("No") | import math;
inp=input()
(a,b,c)=map(int,inp.split(" "))
cab=(c-a-b)
cab_sq=cab*cab
ab4=4*a*b
if (cab > 0 and ab4 < cab_sq):
print("Yes")
else:
print("No") | [["+", 0, 656, 0, 1, 0, 662, 12, 23, 0, 24], ["+", 0, 656, 0, 1, 0, 662, 12, 23, 0, 25], ["+", 0, 57, 15, 23, 0, 679, 31, 666, 0, 22], ["+", 0, 57, 15, 23, 0, 679, 31, 666, 667, 47], ["+", 0, 57, 15, 23, 0, 679, 31, 666, 0, 612], ["+", 0, 656, 0, 57, 15, 23, 0, 679, 17, 355]] | 5 | 69 |
// https://atcoder.jp/contests/panasonic2020/tasks/panasonic2020_c
#include "algorithm"
#include "bitset"
#include "cmath"
#include "functional"
#include "iomanip"
#include "iostream"
#include "map"
#include "numeric"
#include "queue"
#include "set"
#include "string"
#include "vector"
#define rep(i, to) for (ll i = 0;... | // https://atcoder.jp/contests/panasonic2020/tasks/panasonic2020_c
#include "algorithm"
#include "bitset"
#include "cmath"
#include "functional"
#include "iomanip"
#include "iostream"
#include "map"
#include "numeric"
#include "queue"
#include "set"
#include "string"
#include "vector"
#define rep(i, to) for (ll i = 0;... | [["-", 0, 57, 64, 1, 0, 2, 3, 4, 0, 22], ["+", 0, 57, 64, 1, 0, 2, 3, 4, 0, 22], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62]] | 1 | 543 |
a, b, c = list(map(float, input().split()))
if c - a - b > 0:
if 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, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25], ["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 102], ["-", 0, 656, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 36, ... | 5 | 61 |
a, b, c = map(int, input().split())
left = int(a * b * 4)
right = int((c - a - b)**2)
print(left, right)
if left < right and (c - a - b) > 0:
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
left = int(a * b * 4)
right = int((c - a - b)**2)
if left < right and (c - a - b) > 0:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 77 |
#include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define all(x) (x).begin(), (x).end()
#define Yes(n) cout << ((n) ? "Yes" : "No") << endl
using namespace std;
using ll = long long;
ll GCD(ll a, ll b) {
if (b == 0)
return a;
else
return GCD(b, a % b);
}
ll LCM(ll a, ll b) {
... | #include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; (i) < (n); ++(i))
#define all(x) (x).begin(), (x).end()
#define Yes(n) cout << ((n) ? "Yes" : "No") << endl
using namespace std;
using ll = long long;
ll GCD(ll a, ll b) {
if (b == 0)
return a;
else
return GCD(b, a % b);
}
ll LCM(ll a, ll b) {
... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 1 | 165 |
import math
inputli = input().split()
a=int(inputli[0])
b=int(inputli[1])
c=int(inputli[2])
if c-a-b > 0 and (4*a*b) < (c-b-a)*2:
print("Yes")
else:
print('No') | import math
inputli = input().split()
a=int(inputli[0])
b=int(inputli[1])
c=int(inputli[2])
if c-a-b > 0 and (4*a*b) < (c-b-a)**2:
print("Yes")
else:
print('No') | [["-", 0, 57, 15, 679, 12, 666, 0, 657, 17, 48], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 578]] | 5 | 79 |
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return... | #!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return... | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["-", 3, 4, 0, 41, 0, 679, 31, 666, 667, 18], ["+", 3, 4, 0, 41, 0, 679, 31, 666, 667, 20]] | 5 | 379 |
import sys
input = sys.stdin.readline
a, b, c = map(int, input().split(' '))
if c - a - b <= 0:
print('No')
if 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No') | import sys
input = sys.stdin.readline
a, b, c = map(int, input().split(' '))
if c - a - b < 0:
print('No')
else:
if 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 95], ["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 102]] | 5 | 76 |
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
// input scanner
var sc = bufio.NewScanner(os.Stdin)
const (
initialBufSize = 10e4
maxBufSize = 10e6
)
func next() string {
sc.Scan()
return sc.Text()
}
func nextInt() int {
a, _ := strconv.Atoi(next())
return a
}
func nextInt64() int64 {
a, _ :=... | package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
// input scanner
var sc = bufio.NewScanner(os.Stdin)
const (
initialBufSize = 10e4
maxBufSize = 10e6
)
func next() string {
sc.Scan()
return sc.Text()
}
func nextInt() int {
a, _ := strconv.Atoi(next())
return a
}
func nextInt64() int64 {
a, _ :=... | [["-", 15, 16, 31, 16, 31, 23, 0, 16, 17, 72], ["+", 15, 16, 31, 16, 31, 23, 0, 16, 17, 33], ["-", 12, 16, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 12, 16, 12, 16, 31, 23, 0, 16, 17, 33], ["-", 12, 16, 12, 16, 12, 23, 0, 16, 17, 72], ["+", 12, 16, 12, 16, 12, 23, 0, 16, 17, 33]] | 7 | 519 |
def main():
a, b, c = map(int, input().split())
if c - a - b <= 0:
print('No')
exit()
if 4 * a * b < c - a - b:
is_big = True
else:
is_big = False
print('Yes' if is_big else 'No')
if __name__ == '__main__':
main()
| def main():
a, b, c = map(int, input().split())
if c - a - b <= 0:
print('No')
exit()
if 4 * a * b < pow(c - a - b, 2):
is_big = True
else:
is_big = False
print('Yes' if is_big else 'No')
if __name__ == '__main__':
main()
| [["+", 8, 196, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 21], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 612], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]] | 5 | 84 |
package main
import (
"fmt"
)
func main() {
var a, b, c int64
fmt.Scan(&a, &b, &c)
d := c - a - b
if d < 0 {
fmt.Println("No")
}
if d*d > 4*a*b {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
| package main
import (
"fmt"
)
func main() {
var a, b, c int64
fmt.Scan(&a, &b, &c)
d := c - a - b
if d < 0 {
fmt.Println("No")
return
}
if d*d > 4*a*b {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
| [["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 0, 435, 8, 196, 0, 57, 64, 196, 0, 165]] | 7 | 98 |
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")
| import math
import numpy
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")
| [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 0, 57, 15, 679, 12, 666, 0, 657, 17, 140], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 578]] | 5 | 57 |
import math
a,b,c = list(map(int, input().split()))
if c-a-b and 4*a*b < (c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | import math
a,b,c = list(map(int, input().split()))
if c-a-b > 0 and 4*a*b < (c-a-b)*(c-a-b):
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]] | 5 | 66 |
a, b, c = map(int, input().split())
print('Yes') if (c-a-b) > 0 and 4*a*b < (c-a-b)**2 else ('No') | a, b, c = map(int, input().split())
print('Yes') if (c-a-b) > 0 and 4*a*b < (c-a-b)**2 else print('No') | [["+", 0, 656, 0, 1, 0, 41, 0, 652, 63, 22]] | 5 | 56 |
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
long long A, B, C;
cin >> A >> B >> C;
long long sum = C - A - B;
if (4 * A * B < sum * sum) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
#include <math.h>
#include <vector>
using namespace std;
int main() {
long long A, B, C;
cin >> A >> B >> C;
long long sum = C - A - B;
if (sum > 0 && 4 * A * B < sum * sum) {
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], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 75 |
a, b, c = map(int, input().split())
if a + b >= c:
print("Noo")
else:
if (a + b - c) ** 2 > 4 * a * b:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
if a + b >= c:
print("No")
else:
if (a + b - c) ** 2 > 4 * a * b:
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 64 |
#include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main() {
long double a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0) {
if (a * a + b * b + c * c - 2 * (a * b - b * c - a * c) > 4 * a * b) {
cout << "Yes";
} else {
cout << "No";
}... | #include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main() {
long double a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0) {
if (a * a + b * b + c * c + 2 * (a * b - b * c - a * c) > 4 * a * b) {
cout << "Yes";
} else {
cout << "No";
}... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 33], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 72]] | 1 | 108 |
a, b ,c=map(int,input().split())
#4ab<(c-a-b)^2
if 4*a*b < (c-a-b)*(c-a-b):
print("Yes")
else:
print("No")
|
a, b ,c=map(int,input().split())
#4ab<(c-a-b)^2
if 4*a*b < (c-a-b)**2 and (c-a-b) > 0:
print("Yes")
else:
print("No")
| [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 48], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 17, 578], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 12, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612]] | 5 | 56 |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong();
System.out.println((4 * a * b < (a + b - c) * (a + b - c)) ? "Yes" : "No");
}
}
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong();
System.out.println(
(4 * a * b < (a + b - c) * (a + b - c) && a + b < c) ? "Yes" : "No");
}
}
| [["+", 3, 4, 0, 510, 15, 23, 0, 16, 17, 98], ["+", 15, 23, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 15, 23, 0, 16, 12, 16, 31, 16, 17, 72], ["+", 15, 23, 0, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 510, 15, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 510, 15, 23, 0, 16, 12, 16, 12, 22]] | 3 | 98 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
long long A;
long long B;
long long C;
void input() {
cin >> A;
cin >> B;
cin >> C;
}
int main() {
input();
long long d = C - A - B;
if (d > 0 && d > 4 * A * B) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
retu... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
long long A;
long long B;
long long C;
void input() {
cin >> A;
cin >> B;
cin >> C;
}
int main() {
input();
long long d = C - A - B;
if (d > 0 && d * d > 4 * A * B) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
... | [["+", 15, 339, 51, 16, 12, 16, 31, 16, 17, 48], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 12, 22]] | 1 | 96 |
def main():
a, b, c = map(int, input().split())
print('Yes' if a + b < c and 4 * a * b < (c - a - b) else 'No')
if __name__ == '__main__':
main()
| def main():
a, b, c = map(int, input().split())
print('Yes' if a + b < c and 4 * a * b < (c - a - b) ** 2 else 'No')
if __name__ == '__main__':
main()
| [["+", 0, 41, 0, 679, 12, 666, 0, 657, 17, 578], ["+", 0, 41, 0, 679, 12, 666, 0, 657, 12, 612]] | 5 | 63 |
#include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG //これつけるとA[N]でもいいらしい
// for文のマクロ
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define big 1000000007
#define all(a) sort((a).begin(), (a).end()) //ソートのマクロ
#define Re(a) reverse((a).begin(), (a).end())
#define YN(a) ... | #include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG //これつけるとA[N]でもいいらしい
// for文のマクロ
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define big 1000000007
#define all(a) sort((a).begin(), (a).end()) //ソートのマクロ
#define Re(a) reverse((a).begin(), (a).end())
#define YN(a) ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40]] | 1 | 116 |
a, b, c = map(int, input().split())
if c-a-b > 0 and 4*a*b < (c-a-b)**4:
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, 31, 23, 0, 24], ["+", 0, 656, 0, 57, 15, 679, 31, 23, 0, 25], ["+", 0, 656, 0, 57, 15, 679, 12, 23, 0, 24], ["-", 0, 57, 15, 679, 12, 666, 0, 657, 12, 612], ["+", 15, 679, 12, 23, 0, 666, 0, 657, 12, 612], ["+", 0, 656, 0, 57, 15, 679, 12, 23, 0, 25]] | 5 | 57 |
#include <assert.h> /*確認*/
#include <ctype.h> /*文字操作*/
#include <limits.h> /*限界*/
#include <math.h> /*計算*/
#include <stdbool.h>/*bool型*/
#include <stdio.h> /*入出力*/
#include <stdlib.h> /*標準ライブラリ*/
#include <string.h> /*文字列*/
#define rep(i, n) for (int i = 0; i < (n); i++)
#define max(a, b) ((a > b) ? a : b)
#define... | #include <assert.h> /*確認*/
#include <ctype.h> /*文字操作*/
#include <limits.h> /*限界*/
#include <math.h> /*計算*/
#include <stdbool.h>/*bool型*/
#include <stdio.h> /*入出力*/
#include <stdlib.h> /*標準ライブラリ*/
#include <string.h> /*文字列*/
#define rep(i, n) for (int i = 0; i < (n); i++)
#define max(a, b) ((a > b) ? a : b)
#define... | [["-", 15, 339, 51, 16, 12, 23, 0, 16, 17, 140], ["-", 15, 339, 51, 16, 12, 23, 0, 16, 12, 13], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 17, 48], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 12, 22]] | 1 | 178 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
int d = c - a - b;
if (a * b * 4 < d * d && d >= 2)
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 (a * b * 4 < d * d && 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], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 70 |
a,b,c = map(int,input().split())
ans = "Yes"
if c-a-b>0 and 4*a*b<pow(c-b-a,2):ans = "No"
print(ans) | a,b,c = map(int,input().split())
ans = "No"
if c-a-b>0 and 4*a*b<pow(c-b-a,2):ans = "Yes"
print(ans) | [["-", 0, 656, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 0, 656, 0, 1, 0, 662, 12, 557, 0, 6], ["-", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6]] | 5 | 58 |
n = input()
arr = [int(x) for x in n.split()]
a=arr[0]
b=arr[1]
c=arr[2]
if c==a+b:
print("No")
else:
d = (4*a*b)
e = (c-a-b)*(c-a-b)
if e>d:
print("Yes")
else:
print("No") | n = input()
arr = [int(x) for x in n.split()]
a=arr[0]
b=arr[1]
c=arr[2]
if c<=a+b:
print("No")
else:
d = (4*a*b)
e = (c-a-b)*(c-a-b)
if e>d:
print("Yes")
else:
print("No")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 99 |
#include <bits/stdc++.h>
using namespace std;
#define fast_io \
ios_base::sync_with_stdio(false); \
cin.tie(nullptr)
#define rep(i, x, y) \
for (decl... | #include <bits/stdc++.h>
using namespace std;
#define fast_io \
ios_base::sync_with_stdio(false); \
cin.tie(nullptr)
#define rep(i, x, y) \
for (decl... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 267 |
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner itr = new Scanner(System.in);
long a = (long)itr.nextInt();
long b = (long)itr.nextInt();
long c = (long)itr.nextInt();
long item1 = 4L * a * b;
long item2 = (c - a - b) * (c - a - b)... | import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner itr = new Scanner(System.in);
long a = (long)itr.nextInt();
long b = (long)itr.nextInt();
long c = (long)itr.nextInt();
long item1 = 4L * a * b;
long item2 = (c - a - b) * (c - a - b)... | [["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 8, 196, 0, 57, 64, 196, 0, 1, 0, 35], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46]] | 3 | 158 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
long double a, b, c;
int main() {
cin >> a >> b >> c;
c = c - a - b;
if (c < 0)
printf("No\n");
else {
c *= c;
a = 2 * a * b;
if (a < c)
printf("Yes\n");
else
printf("No\n");
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
long double a, b, c;
int main() {
cin >> a >> b >> c;
c = c - a - b;
if (c < 0)
printf("No\n");
else {
c *= c;
a = 4 * a * b;
if (a < c)
printf("Yes\n");
else
printf("No\n");
}
}
| [["-", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 13]] | 1 | 93 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
c -= (a + b);
cout << (4 * a * b < c * c ? "Yes" : "No") << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ll a, b, c;
cin >> a >> b >> c;
c -= (a + b);
cout << (c > 0 && 4 * a * b < c * c ? "Yes" : "No") << endl;
return 0;
}
| [["+", 12, 23, 0, 41, 15, 16, 31, 16, 31, 22], ["+", 12, 23, 0, 41, 15, 16, 31, 16, 17, 47], ["+", 12, 23, 0, 41, 15, 16, 31, 16, 12, 13], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 98]] | 1 | 68 |
a,b,c = map(int,input().split())
X = 4*a*b
Y = c-a-b
if X < Y and Y > 0:
print("Yes")
else:
print("No") | a,b,c = map(int,input().split())
X = 4*a*b
Y = c-a-b
if X < Y*Y and Y > 0:
print("Yes")
else:
print("No")
| [["+", 0, 57, 15, 679, 31, 666, 0, 657, 17, 48], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 12, 22]] | 5 | 55 |
a,b,c = gets.split.map(&:to_i)
x=c-a-b
if d > 0 && d ** 2 > 4 * a * b
puts 'Yes'
else
puts 'No'
end | a,b,c = gets.split.map(&:to_i)
x=c-a-b
if x > 0 && x ** 2 > 4 * a * b
puts 'Yes'
else
puts 'No'
end | [["-", 0, 493, 0, 121, 15, 738, 31, 738, 31, 22], ["+", 0, 493, 0, 121, 15, 738, 31, 738, 31, 22], ["-", 0, 121, 15, 738, 12, 738, 31, 738, 31, 22], ["+", 0, 121, 15, 738, 12, 738, 31, 738, 31, 22]] | 4 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - b - a;
if (4 * a * b > d * d && d > 0) {
cout << "Yes";
return 0;
}
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - b - a;
if (4 * a * b < d * d && d > 0) {
cout << "Yes";
return 0;
}
cout << "No";
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18]] | 1 | 74 |
#include <math.h>
#include <stdio.h>
int main() {
unsigned long a, b, c, d;
scanf("%lu %lu %lu", &a, &b, &c);
d = c - a - b;
if (d > 0 && 4 * a * b < d * d) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <math.h>
#include <stdio.h>
int main() {
long a, b, c, d;
scanf("%lu %lu %lu", &a, &b, &c);
d = c - a - b;
if (d > 0 && 4 * a * b < d * d) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 0 | 82 |
#include <bits/stdc++.h>
using namespace std;
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) repd(i, 0, n)
#define all(x) (x).begin(), (x).end()
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chma... | #include <bits/stdc++.h>
using namespace std;
#define repd(i, a, b) for (int i = (a); i < (b); i++)
#define rep(i, n) repd(i, 0, n)
#define all(x) (x).begin(), (x).end()
template <class T> inline bool chmin(T &a, T b) {
if (a > b) {
a = b;
return true;
}
return false;
}
template <class T> inline bool chma... | [["-", 12, 16, 31, 23, 0, 16, 31, 16, 31, 13], ["+", 12, 16, 31, 23, 0, 16, 31, 16, 31, 13]] | 1 | 200 |
#include <cmath>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
unsigned long long int a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | #include <cmath>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
long long int a, b, c;
cin >> a >> b >> c;
if (c - a - b > 0 && 4 * a * b < (c - a - b) * (c - a - b)) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 1 | 86 |
#include <bits/stdc++.h>
#define sz 200002
#define pb push_back
#define ff first
#define ln '\n'
#define ss second
#define ll long long
#define VEC vector<ll int> v
#define TEST() \
int test; ... | #include <bits/stdc++.h>
#define sz 200002
#define pb push_back
#define ff first
#define ln '\n'
#define ss second
#define ll long long
#define VEC vector<ll int> v
#define TEST() \
int test; ... | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 138 |
a, b, c = map(int, input().split())
r = (c-a-b)**2
if (4*a*b < r) and 4*a*b > 0:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
r = (c-a-b)**2
if (4*a*b < r) and c-a-b> 0:
print('Yes')
else:
print('No')
| [["-", 15, 679, 12, 666, 0, 657, 31, 657, 31, 612], ["-", 15, 679, 12, 666, 0, 657, 31, 657, 17, 48], ["+", 15, 679, 12, 666, 0, 657, 31, 657, 31, 22], ["+", 15, 679, 12, 666, 0, 657, 31, 657, 17, 33], ["-", 0, 57, 15, 679, 12, 666, 0, 657, 17, 48], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 33]] | 5 | 62 |
//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int INF = 1e9 + 5;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
const ll MOD = 1000000007LL;
int main() {
ll a, b, c;
cin >> a... | //#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define PI 3.14159265359
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
const int INF = 1e9 + 5;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
const ll MOD = 1000000007LL;
int main() {
ll a, b, c;
cin >> a... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 38], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 13]] | 1 | 150 |
#include <iostream>
using namespace std;
#define dbg(x) cerr << #x << ": " << x << endl
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
d = d * d;
if (d > 0 && d * d > 4LL * a * b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
#define dbg(x) cerr << #x << ": " << x << endl
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = c - a - b;
if (d > 0 && d * d > 4LL * a * b) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 48], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 90 |
a,b,c=map(int,input().split())
l=4*a*b
t=c-a-b
r=t*t
if l<r:
print("Yes")
else:
print("No")
| import math
a,b,c=map(int,input().split())
l=4*a*b
t=c-a-b
r=t*t
if t>0 and l<r:
print("Yes")
else:
print("No")
| [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 0, 22], ["+", 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]] | 5 | 56 |
a,b,c = list(map(int,input().split()))
if (c-a-b)**2 -4*a*b*2 >=0 and c-a-b>0:
print('Yes')
else:
print('No') | a,b,c = list(map(int,input().split()))
if (c-a-b)**2 -4*a*b >0 and c-a-b>0:
print('Yes')
else:
print('No') | [["-", 15, 679, 31, 666, 0, 657, 12, 657, 17, 48], ["-", 15, 679, 31, 666, 0, 657, 12, 657, 12, 612], ["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 20], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47]] | 5 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long left = 4 * a * b;
long long x = (c - a - b);
long long right = x * x;
if (right > 0 && left < right) {
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;
long long left = 4 * a * b;
long long x = (c - a - b);
long long right = x * x;
if (x > 0 && left < right) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22]] | 1 | 92 |
#include <algorithm>
#include <cmath>
#include <iostream>
using namespace std;
int main(void) {
unsigned long long a, b, c = 0; // 1-10^9
unsigned long long tmp_4ab = 0;
unsigned long long d = 0;
string result = "No";
cin >> a >> b >> c;
tmp_4ab = 4 * a * b;
d = c - a - b;
if (tmp_4ab < d * d && d >... | #include <algorithm>
#include <cmath>
#include <iostream>
using namespace std;
int main(void) {
long long a, b, c = 0; // 1-10^9
long long tmp_4ab = 0;
long long d = 0;
string result = "No";
cin >> a >> b >> c;
tmp_4ab = 4 * a * b;
d = c - a - b;
if (tmp_4ab < d * d && d > 0) {
result = "Yes";
... | [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 1 | 103 |
#!/usr/bin/env python3
import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collection... | #!/usr/bin/env python3
import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collection... | [["+", 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, 656, 0, 57, 15, 679, 12, 666, 0, 612]] | 5 | 155 |
#include <bits/stdc++.h>
using namespace std;
#define ifor(i, n) for (i = 0; i < n; i++)
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
double i, n, t, p = INT_MAX, j = 0, x, a = 0, b, l = 0, r = 0, y;
string s, m;
cin >> a >> b >> x;
p = x - a - b;
l = 4 * a * b;
if ... | #include <bits/stdc++.h>
using namespace std;
#define ifor(i, n) for (i = 0; i < n; i++)
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll int i, n, t, p = INT_MAX, j = 0, x, a = 0, b, l = 0, r = 0, y;
string s, m;
cin >> a >> b >> x;
p = x - a - b;
l = 4 * a * b;
if ... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 49, 22], ["-", 0, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 0, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 152 |
import math
a,b,c=map(int,input().split())
if c-a-b<0:
print("No")
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No") | import math
a,b,c=map(int,input().split())
if c-a-b<0:
print("No")
exit()
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No") | [["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 66 |
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.NoSuchElementException;
import java.util.Random;
import java.util.Scanner;
class UnionFind {
int Parent[];
UnionFind(int n) { // Initialize by -1
Parent = new int[n];
Arrays.fill(Parent, -1);
}
int root(in... | import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.NoSuchElementException;
import java.util.Random;
import java.util.Scanner;
class UnionFind {
int Parent[];
UnionFind(int n) { // Initialize by -1
Parent = new int[n];
Arrays.fill(Parent, -1);
}
int root(in... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 2,063 |
#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++)
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
int main() {
int a, b, c;
cin >> a >> b >> c;
ll d = c - a - b;
if (4 *... | #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++)
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll d = c - a - b;
if (d > ... | [["-", 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, 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 | 99 |
#include <bits/stdc++.h>
#define rep(i, N) for (int i = 0; i < N; i++)
#define rep2(i, N) for (int i = 1; i <= N; i++)
using namespace std;
long long INF = 1e18;
long long mod = 1e9 + 7;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = (c - a - b);
long long K = d * d;
long long L = 4 * a ... | #include <bits/stdc++.h>
#define rep(i, N) for (int i = 0; i < N; i++)
#define rep2(i, N) for (int i = 1; i <= N; i++)
using namespace std;
long long INF = 1e18;
long long mod = 1e9 + 7;
int main() {
long long a, b, c;
cin >> a >> b >> c;
long long d = (c - a - b);
long long K = d * d;
long long L = 4 * 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], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 119 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n); i++)
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll A = c - a + b;
if (A > 0 && A * A > 4 * a * b) {
cout << "Yes" << endl;
} else {
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep1(i, n) for (int i = 1; i < (int)(n); i++)
typedef long long ll;
int main() {
ll a, b, c;
cin >> a >> b >> c;
ll A = c - a - b;
if (A > 0 && A * A > 4 * a * b) {
cout << "Yes" << endl;
} else {
... | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 17, 72], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 33]] | 1 | 94 |
a,b,c = map(int,input().split())
n = c-a-b
print("Yes" if 4*a*b < n**2 else "No") | a,b,c = map(int,input().split())
n = c-a-b
print("Yes" if 4*a*b < n**2 and n > 0 else "No") | [["+", 0, 652, 3, 4, 0, 41, 0, 679, 17, 355], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 0, 22], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 667, 47], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 0, 612]] | 5 | 45 |
a, b, c = gets.split.map(&:to_i)
if c - a - b < 0 && 4 * a * b < (c - a - b) ** 2
puts "Yes"
else
puts "No"
end
| a, b, c = gets.split.map(&:to_i)
if (c - a - b) > 0 && 4 * a * b < (c - a - b) ** 2
puts "Yes"
else
puts "No"
end
| [["+", 0, 121, 15, 738, 31, 738, 31, 739, 0, 24], ["-", 0, 493, 0, 121, 15, 738, 31, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 31, 739, 0, 25], ["+", 0, 493, 0, 121, 15, 738, 31, 738, 17, 47]] | 4 | 49 |
a,b,c = map(int,input().split())
d = pow(a,2) + pow(b,2) + pow(c,2)
e = 2*(a*b + a*c + b*c)
if d > e:
print("Yes")
else:
print("No")
| a,b,c = map(int,input().split())
d = pow(a,2) + pow(b,2) + pow(c,2)
e = 2*(a*b + a*c + b*c)
if d > e 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 | 76 |
a, b, c =map(int, input().split())
if c-a-b<0:
print('No')
elif 4*a*b > (a+b)*(a+b) and 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<0:
print('No')
elif 4*a*b > (a+b)*(a+b) or 4*a*b < (c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | [["-", 0, 656, 0, 57, 75, 665, 15, 679, 17, 355], ["+", 0, 656, 0, 57, 75, 665, 15, 679, 17, 354], ["-", 0, 57, 75, 665, 15, 679, 12, 666, 667, 47], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 667, 18]] | 5 | 88 |
#include <math.h>
#include <stdio.h>
int main() {
long long aa, bb, cc, dd;
scanf("%lld%lld%lld", &aa, &bb, &cc);
dd = cc - (aa + bb);
if (aa + bb > cc)
printf("Yes");
else {
if (4 * aa * bb < dd * dd)
printf("Yes");
else
printf("No");
}
return 0;
}
| #include <math.h>
#include <stdio.h>
int main() {
long long aa, bb, cc, dd;
scanf("%lld%lld%lld", &aa, &bb, &cc);
dd = cc - (aa + bb);
if (aa + bb > cc)
printf("No");
else {
if (4 * aa * bb - dd * dd < 0)
printf("Yes");
else
printf("No");
}
return 0;
}
| [["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 33], ["+", 0, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 0, 9, 0, 57, 15, 23, 0, 16, 12, 13]] | 0 | 94 |
a,b,c=map(int,input().split())
k=c-b-a
if k<0:
print("No")
else:
if 4*b*c < k**2:
print("Yes")
else:
print("No")
| a,b,c=map(int,input().split())
k=c-b-a
if k<0:
print("No")
else:
if 4*b*a < k**2:
print("Yes")
else:
print("No")
| [["-", 8, 196, 0, 57, 15, 666, 0, 657, 12, 22], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 12, 22]] | 5 | 63 |
#include <bits/stdc++.h>
using namespace std;
int main() {
unsigned long long a, b, c;
cin >> a >> b >> c;
if (4 * a * b < (c - a - b) * (c - a - b) && (c - a - b) >= 0) {
cout << "Yes";
} else {
cout << "No";
}
}
| #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) && (c - a - b) >= 0) {
cout << "Yes";
} else {
cout << "No";
}
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 1 | 80 |
a, b, c = map(int, input().split())
d = c - a - b
if d < 0:
print('No')
if 4*a*b < d**2:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
d = c - a - b
if d < 0:
print('No')
elif 4*a*b < d**2:
print('Yes')
else:
print('No')
| [["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 121], ["+", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683]] | 5 | 61 |
#include <bits/stdc++.h>
using namespace std;
long long a, b, c;
int main() {
cin >> a >> b >> c;
long long x = c - a - b;
if (x <= 0)
cout << "No" << endl;
if (4 * a * b < x * x)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
long long a, b, c;
int main() {
cin >> a >> b >> c;
long long x = c - a - b;
if (x <= 0)
cout << "No" << endl;
else if (4 * a * b < x * x)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95]] | 1 | 84 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
typedef pair<ll, ll> p2;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
ll a, b, c;
cin >> a >> b >> c;
if (4 * a * b < (c - a - b) * (c - a - b))
cout << "Yes";
else
cout... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
typedef pair<ll, ll> p2;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
ll a, b, c;
cin >> a >> b >> c;
if (c > a + b && 4 * a * b < (c - a - b) * (c - a - b))
cout << "Yes";
... | [["+", 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 | 105 |
import math
ABC=input().split()
a=int(ABC[0])
b=int(ABC[1])
c=int(ABC[2])
if a*a+b*b+c*c-2*a*b-2*a*c-2*b*c>0 :
print ("Yes")
else :
print ("No") | import math
ABC=input().split()
a=int(ABC[0])
b=int(ABC[1])
c=int(ABC[2])
if a*a+b*b+c*c-2*a*b-2*a*c-2*b*c>0 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 | 85 |
#include <bits/stdc++.h>
int main() {
int64_t a, b, c;
std::cin >> a >> b >> c;
if (c == (a + b)) {
std::cout << "No\n";
return 0;
}
int64_t l = a * b * 4;
int64_t r = (c - a - b) * (c - a - b);
if (l < r) {
std::cout << "Yes\n";
} else {
std::cout << "No\n";
}
return 0;
}
| #include <bits/stdc++.h>
int main() {
int64_t a, b, c;
std::cin >> a >> b >> c;
if (c <= (a + b)) {
std::cout << "No\n";
return 0;
}
int64_t l = a * b * 4;
int64_t r = (c - a - b) * (c - a - b);
if (l < r) {
std::cout << "Yes\n";
} else {
std::cout << "No\n";
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 109 |
a, b, c = map(int, input().split())
if c-a-b>=0:
if 4*a*b<(c-a-b):
print('Yes')
else:
print('No')
else:
print('No') | a, b, c = map(int, input().split())
if c-a-b>=0:
if 4*a*b<(c-a-b)**2:
print('Yes')
else:
print('No')
else:
print('No') | [["+", 64, 196, 0, 57, 15, 666, 0, 657, 17, 578], ["+", 64, 196, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 64 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = a; i < b; i++)
#define per(j, a, b) for (int j = a; j >= b; j--)
using namespace std;
const int MAX = 100001;
int main() {
... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define rep(i, a, b) for (int i = a; i < b; i++)
#define per(j, a, b) for (int j = a; j >= b; j--)
using namespace std;
const int MAX = 100001;
int main() {
... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 159 |
a, b, c = map(int, input().split())
if a + b < c:
print("Yes")
else:
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
if a + b > c:
print("No")
else:
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 64 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a, b, c;
cin >> a >> b >> c;
if (c - (a + b) > 0) {
ll x = (a + b - c) * (a + b - c);
if (x > (4 * a * b))
cout << "YES\n";
else
cou... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a, b, c;
cin >> a >> b >> c;
if (c - (a + b) > 0) {
ll x = (a + b - c) * (a + b - c);
if (x > (4 * a * b))
cout << "Yes\n";
else
cou... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 118 |
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
sc := NewScanner()
a, b, c := sc.NextInt(), sc.NextInt(), sc.NextInt()
p := (c - a - b) * (c - a - b) / 4
ans := c-a-b >= 0 && a*b < p
if ans {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
type Scanner struct {
r *bufio.Reade... | package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func main() {
sc := NewScanner()
a, b, c := sc.NextInt(), sc.NextInt(), sc.NextInt()
p := (c - a - b) * (c - a - b)
ans := c-a-b >= 0 && 4*a*b < p
if ans {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
type Scanner struct {
r *bufio.Reader
... | [["-", 8, 196, 0, 431, 12, 432, 0, 16, 17, 85], ["-", 8, 196, 0, 431, 12, 432, 0, 16, 12, 433], ["+", 0, 16, 12, 16, 31, 16, 31, 16, 31, 433], ["+", 0, 16, 12, 16, 31, 16, 31, 16, 17, 48]] | 7 | 925 |
a,b,c=map(int,input().split(' '))
d=c-a-b
if 4*a*b<d*d:
print('Yes')
else:
print('No') | a,b,c=map(int,input().split(' '))
d=c-a-b
if d>0 and 4*a*b<d*d:
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, 656, 0, 57, 15, 679, 31, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]] | 5 | 53 |
#include <iostream>
#define ll long long
using namespace std;
int main() {
ll a, b, c, ans1, ans2;
cin >> a >> b >> c;
ans1 = c - a - b;
bool f = true;
if (ans1 < 0)
f = false;
ans1 = (c - a - b) * (c - a - b);
ans2 = 4 * a * b;
if (ans1 > ans2)
cout << "Yes";
else
cout << "No";
return 0... | #include <iostream>
#define ll long long
using namespace std;
int main() {
ll a, b, c, ans1, ans2;
cin >> a >> b >> c;
ans1 = c - a - b;
bool f = true;
if (ans1 < 0)
f = false;
ans1 = (c - a - b) * (c - a - b);
ans2 = 4 * a * b;
if (ans1 > ans2 && f)
cout << "Yes";
else
cout << "No";
ret... | [["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 105 |
#C - Sqrt Inequality
import math
a,b,c= map(int, input().split())
if c > a-b:
#if float(math.sqrt(a))+ float(math.sqrt(b)) < float(math.sqrt(c)):
if 4*a*b < (c-a-b)**2 :
print("Yes")
else:
print("No")
else:
print("NO") | a,b,c= map(int, input().split())
if c >= a+b:
#if float(math.sqrt(a))+ float(math.sqrt(b)) < float(math.sqrt(c)):
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No")
else:
print("No") | [["-", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["-", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 33], ["+", 0, 656, 0, 57, 15, 666, 0, 657, 17, 72], ["-", 0, 1, 0, 652, 3, 4, 0, 557, ... | 5 | 68 |
#include <algorithm>
#include <fstream>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
typedef long long ll;
const ll MOD = 1e9 + 7;
#defin... | #include <algorithm>
#include <fstream>
#include <iostream>
#include <limits>
#include <math.h>
#include <numeric>
#include <queue>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
typedef long long ll;
const ll MOD = 1e9 + 7;
#defin... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 245 |
#include <bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define umap unordered_map
#define all(v) v.begin(), v.end()
#define st first
#define nd second
#define ln '\n'
#define MAX 1000000009
#define MOD 1000000007
#define N 500005
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pii;
ll n, k, ... | #include <bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define umap unordered_map
#define all(v) v.begin(), v.end()
#define st first
#define nd second
#define ln '\n'
#define MAX 1000000009
#define MOD 1000000007
#define N 500005
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pii;
ll n, k, ... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 165 |
#include <cmath>
#include <iostream>
using namespace std;
int main() {
int a, b, c, ans;
double t1, t2, t3, t4;
cin >> a >> b >> c;
t1 = (double)sqrt(a);
t2 = (double)sqrt(b);
t3 = (double)sqrt(c);
t4 = (double)sqrt(a * b);
if ((a * a + b * b + c * c - 2 * a * b - 2 * a * c - 2 * b * c &&
c > (a ... | #include <cmath>
#include <iostream>
using namespace std;
int main() {
long long int a, b, c, ans;
double t1, t2, t3, t4;
cin >> a >> b >> c;
t1 = (double)sqrt(a);
t2 = (double)sqrt(b);
t3 = (double)sqrt(c);
t4 = (double)sqrt(a * b);
if ((a * a + b * b + c * c - 2 * a * b - 2 * a * c - 2 * b * c > 0) &&... | [["+", 0, 14, 8, 9, 0, 43, 39, 86, 0, 96], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 23, 0, 25], ["-", 51, 23, 0, 16, 12, 16, 12, 23, 0, 25]] | 1 | 144 |
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
typedef long long int ll;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) ... | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <utility>
#include <vector>
typedef long long int ll;
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define REP(i, n) ... | [["-", 15, 16, 31, 16, 31, 16, 31, 16, 31, 13], ["+", 15, 16, 31, 16, 31, 16, 31, 16, 31, 13]] | 1 | 266 |
// omajinai c++
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <string>
#include <type_traits>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define itn int
using na... | // omajinai c++
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <numeric>
#include <string>
#include <type_traits>
#include <vector>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(), (x).end()
#define itn int
using na... | [["+", 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 | 105 |
a, b, c = map(int, input().split())
c -= a + b
if 4 * a * b < c ** 2:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
c -= a + b
if 4 * a * b < c ** 2 and 0 < c:
print('Yes')
else:
print('No') | [["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22]] | 5 | 48 |
a, b, c = map(int, input().split())
if (c-a-b)==0:
print("No")
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) <= 0:
print("No")
elif 4*a*b < (c-a-b)*(c-a-b):
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 121], ["+", 36, 36, 0, 656, 0, 57, 75, 665, 0, 683]] | 5 | 72 |
import math
a, b, c = map(int, input().split())
ans = (c-a-b)*(c-a-b) - 4*a*b
# ans = math.sqrt(c) - (math.sqrt(a) + math.sqrt(b))
if c-a-b == 0:
print("No")
elif ans>0:
print("Yes")
else:
print("No") | import math
a, b, c = map(int, input().split())
ans = (c-a-b)*(c-a-b) - 4*a*b
# ans = math.sqrt(c) - (math.sqrt(a) + math.sqrt(b))
if c-a-b <= 0:
print("No")
elif ans>0:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 78 |
// correct
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define x first
#define y second
#define pii pair<int, int>
#define pb push_back
#define eb emplace_back
#pragma GCC optimize("unroll-loops")
#define shandom_ruffle(a, b) shuffle(a, b, rng)
#define vi vector<int>
#define vl vector<ll>
#define ... | // DUEL
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#define x first
#define y second
#define pii pair<int, int>
#define pb push_back
#define eb emplace_back
#pragma GCC optimize("unroll-loops")
#define shandom_ruffle(a, b) shuffle(a, b, rng)
#define vi vector<int>
#define vl vector<ll>
#define pop... | [["+", 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 | 1,195 |
import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner scan = new Scanner(System.in);
long a = (long)scan.nextInt();
long b = (long)scan.nextInt();
long c = (long)scan.nextInt();
long v1 = 4 * a * b;
long v2 = (c - a - b) * (c - a - b);
System.out... | import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner scan = new Scanner(System.in);
long a = (long)scan.nextInt();
long b = (long)scan.nextInt();
long c = (long)scan.nextInt();
long v1 = 4 * a * b;
long v2 = (c - a - b) * (c - a - b);
System.ou... | [["+", 0, 492, 3, 4, 0, 510, 15, 16, 17, 98], ["+", 0, 510, 15, 16, 12, 16, 31, 16, 31, 22], ["+", 0, 510, 15, 16, 12, 16, 31, 16, 17, 72], ["+", 0, 510, 15, 16, 12, 16, 31, 16, 12, 22], ["+", 3, 4, 0, 510, 15, 16, 12, 16, 17, 18], ["+", 3, 4, 0, 510, 15, 16, 12, 16, 12, 22]] | 3 | 123 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
/*
*/
ll gcd(ll a, ll b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
using Graph = vector<vector<int>>;
ll calc(ll a, ll b, ll p) { // aのb乗をpで割った余り
if (b == 0)
return 1;
else... |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
/*
*/
ll gcd(ll a, ll b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
using Graph = vector<vector<int>>;
ll calc(ll a, ll b, ll p) { // aのb乗をpで割った余り
if (b == 0)
return 1;
els... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 33], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 33], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22]] | 1 | 319 |
import java.util.Scanner;
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();
long t = c - a - b;
long t1 = t * t;
long t2 = 4 * a * b;
if (t1 > t2) {
System.out... | import java.util.Scanner;
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();
long t = c - a - b;
long t1 = t * t;
long t2 = 4 * a * b;
if (t > 0 && t1 > t2) {
S... | [["+", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 12, 499], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 98]] | 3 | 120 |
#include <iostream>
using namespace std;
long long a, b, c;
int main() {
cin >> a >> b >> c;
long long rslt = (c - a - b) * (c - a - b) - 4LL * a * b;
cout << (rslt > 0 ? "Yes" : "No") << endl;
}
| #include <iostream>
using namespace std;
long long a, b, c;
int main() {
cin >> a >> b >> c;
long long rslt = (c - a - b) * (c - a - b) - 4LL * a * b;
cout << (c > a + b && rslt > 0 ? "Yes" : "No") << endl;
}
| [["+", 12, 23, 0, 41, 15, 16, 31, 16, 31, 22], ["+", 12, 23, 0, 41, 15, 16, 31, 16, 17, 47], ["+", 0, 41, 15, 16, 31, 16, 12, 16, 31, 22], ["+", 0, 41, 15, 16, 31, 16, 12, 16, 17, 72], ["+", 0, 41, 15, 16, 31, 16, 12, 16, 12, 22], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 98]] | 1 | 72 |
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
long long int a, b, c;
long double d, e, f;
cin >> a >> b >> c;
if (c < a + b) {
cout << "No" << endl;
return 0;
}
d = a * 1.0;
e = b * 1.0;
f = c * 1.0;
if (d * e <= (f - (d + e)) * (f - (d + e)) / 4) {
cout << ... | #include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main() {
long long int a, b, c;
long double d, e, f;
cin >> a >> b >> c;
if (c < a + b) {
cout << "No" << endl;
return 0;
}
d = a * 1.0;
e = b * 1.0;
f = c * 1.0;
if (d * e < (f - (d + e)) * (f - (d + e)) / 4) {
cout << "... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 136 |
a,b,c = list(map(int, input().split()))
if 4*a*b<(c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | a,b,c = list(map(int, input().split()))
if 4*a*b<(c-a-b)*(c-a-b) 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 | 58 |
#include <bits/stdc++.h>
using namespace std;
inline __int128 read() {
__int128 x = 0, f = 1;
char ch = getchar();
while (ch < '0' || ch > '9') {
if (ch == '-')
f = -1;
ch = getchar();
}
while (ch >= '0' && ch <= '9') {
x = x * 10 + ch - '0';
ch = getchar();
}
return x * f;
}
inline... | #include <bits/stdc++.h>
using namespace std;
inline __int128 read() {
__int128 x = 0, f = 1;
char ch = getchar();
while (ch < '0' || ch > '9') {
if (ch == '-')
f = -1;
ch = getchar();
}
while (ch >= '0' && ch <= '9') {
x = x * 10 + ch - '0';
ch = getchar();
}
return x * f;
}
inline... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 260 |
#include <iostream>
int main() {
unsigned long long a, b, c, t;
std::cin >> a >> b >> c;
t = c - a - b;
if (t <= 0) {
std::cout << "No" << std::endl;
return 0;
}
if (4 * a * b < t * t) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
}
| #include <iostream>
int main() {
long long a, b, c, t;
std::cin >> a >> b >> c;
t = c - a - b;
if (t <= 0) {
std::cout << "No" << std::endl;
return 0;
}
if (4 * a * b < t * t) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87]] | 1 | 101 |
#
# ⋀_⋀
# (・ω・)
# ./ U ∽ U\
# │* 合 *│
# │* 格 *│
# │* 祈 *│
# │* 願 *│
# │* *│
#  ̄
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないyp
from heapq import heappop, heappush, heappushpop
from collections import Counter,default... | #
# ⋀_⋀
# (・ω・)
# ./ U ∽ U\
# │* 合 *│
# │* 格 *│
# │* 祈 *│
# │* 願 *│
# │* *│
#  ̄
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないyp
from heapq import heappop, heappush, heappushpop
from collections import Counter,default... | [["-", 8, 196, 0, 57, 15, 23, 0, 666, 667, 20], ["+", 8, 196, 0, 57, 15, 23, 0, 666, 667, 47]] | 5 | 467 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using VI = vector<int>;
using VL = vector<ll>;
using PII = std::pair<int, int>;
using PLL = std::pair<ll, ll>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, n) for (int i = (int)(n)-1; i >= 0; i--)
#define rep2(i, s, n) for (in... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using VI = vector<int>;
using VL = vector<ll>;
using PII = std::pair<int, int>;
using PLL = std::pair<ll, ll>;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repr(i, n) for (int i = (int)(n)-1; i >= 0; i--)
#define rep2(i, s, n) for (in... | [["+", 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], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 31, 22]] | 1 | 229 |
package main
import (
"fmt"
)
func main() {
var a, b, c int
fmt.Scanf("%d %d %d", &a, &b, &c)
if answer(a, b, c) {
fmt.Println("yes")
} else {
fmt.Println("No")
}
}
func answer(a int, b int, c int) bool {
if c-a-b<0 {
return false
}
return 4*a*b < (c-a-b)*(c-a-b)
}
| package main
import (
"fmt"
)
func main() {
var a, b, c int
fmt.Scanf("%d %d %d", &a, &b, &c)
if answer(a, b, c) {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
func answer(a int, b int, c int) bool {
if c-a-b<0 {
return false
}
return 4*a*b < (c-a-b)*(c-a-b)
}
| [] | 7 | 130 |
a, b, c = map(int, input().split())
if c - (a + b) < 0:
print("No")
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
| a, b, c = map(int, input().split())
if c - (a + b) < 0:
print("No")
exit()
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
| [["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 66 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double dl;
#define pb push_back
#define F first
#define S second
#define inf LLONG_MAX
#define mod 1000000007
#define PI 3.1415926536
#define vll vector<ll>
#define pll pair<ll, ll>
#define dbg(n) cout << n << ' '
#define cu continue
#define br... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double dl;
#define pb push_back
#define F first
#define S second
#define inf LLONG_MAX
#define mod 1000000007
#define PI 3.1415926536
#define vll vector<ll>
#define pll pair<ll, ll>
#define dbg(n) cout << n << ' '
#define cu continue
#define br... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0,... | 1 | 160 |
#include <bits/stdc++.h>
#define pb push_back
#define ll long long
#define pi 3.14
using namespace std;
typedef pair<int, int> pii;
typedef pair<long long, long long> pll;
typedef pair<long long, int> pli;
typedef pair<int, long long> pil;
const int INF = 1000000007;
const int MOD = 1000000007;
const int nmax = 401234;... | #include <bits/stdc++.h>
#define pb push_back
#define ll long long
#define pi 3.14
using namespace std;
typedef pair<int, int> pii;
typedef pair<long long, long long> pll;
typedef pair<long long, int> pli;
typedef pair<int, long long> pil;
const int INF = 1000000007;
const int MOD = 1000000007;
const int nmax = 401234;... | [["-", 64, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 64, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 182 |
a,b,c = map(int, input().strip().split())
r = c-(a+b)
l = 4*a*b
if r < 0:
print('No')
else:
print('Yes' if l < r else 'No')
| a,b,c = map(int, input().strip().split())
r = c-(a+b)
l = 4*a*b
if r < 0:
print('No')
else:
print('Yes' if l < r**2 else 'No')
| [["+", 3, 4, 0, 41, 0, 666, 0, 657, 17, 578], ["+", 3, 4, 0, 41, 0, 666, 0, 657, 12, 612]] | 5 | 65 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.