s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s201681492 | p03943 | u871596687 | 1579372006 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 172 | a,b,c = map (int,input().split())
int T = 0
if a+b == c:
T = 1
elif b+c == a:
T = 1
elif a+c == b:
T = 1
if T == 1:
print('YES')
else:
print('NO')
|
s742697578 | p03943 | u871596687 | 1579371977 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 172 | a,b,c = map (int,input().split())
int T = 0
if a+b == c:
T = 1
elif b+c == a:
T = 1
elif a+c == b:
T = 1
if T == 1:
print("YES")
else:
print('NO')
|
s502974225 | p03943 | u871596687 | 1579371876 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 164 | a,b,c = map (int,input().split())
T = 0
if a+b = c:
T = 1
elif b+c = a:
T = 1
elif a+c = b:
T = 1
if T = 1:
print("YES")
else:
print("NO")
|
s640212612 | p03943 | u871596687 | 1579371386 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | a,b,c = map(int,input().split())
if ((a+b+c)%3 == 0):
print("Yes")
else
print("No")
|
s927229874 | p03943 | u431981421 | 1578769052 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 507 | W,H,N = map(int,input().split())
li = []
for i in range(N):
li.append(list(map(int,input().split())))
s = [[0, W], [0, H]]
for x in li:
if x[2] == 1:
if s[0][0] < x[0]:
s[0][0] = x[0]
if x[2] == 2:
if s[0][1] > x[0]:
s[0][1] = x[0]
if x[2] == 3:
if s[1][0] < x[1]:
s[1][0] = x[1]
if x[2] == 4:
if s[1][1] > x[1]:
s[1][1] = x[1]
if s[0][1] - s[0][0] < 0 or s[1][1] - s[1][0]:
print(0)
else:
print(s[0][1] - s[0][0] * s[1][1] - s[1][0]) |
s005642421 | p03943 | u072717685 | 1578631485 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | a,b,c = map(int,input().split())
if A+B==C or A+C==B or B+C==A:
r = True
else:
r = False
print(r) |
s532434872 | p03943 | u072717685 | 1578631418 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 66 | a,b,c = map(int,input().split())
print(A+B==C or A+C==B or B+C==A) |
s867487576 | p03943 | u600402037 | 1578030040 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 205 | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a+b==c || b+c==a || c+a==b) {
cout << "Yes" << endl;
}
else {
cout << "No" << endl;
}
}
|
s407643201 | p03943 | u963468276 | 1577766573 | Python | PyPy3 (2.4.0) | py | Runtime Error | 188 | 38512 | 124 | candy = [input() for i in range(3)]
candy.sort()
if candy[0] + candy[1] == candy[2]:
print('Yes')
else:
print('No') |
s138051635 | p03943 | u469700628 | 1577646352 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 409 | W,H,N = list(map(int,input().split()))
points = [list(map(int, input().split())) for _ in range(N)]
res = 0
x1,y1 = [0,0]
x2,y2 = [W,H]
for x,y,a in points:
if a == 1:
x1 = max(x1, x)
if a == 2:
x2 = min(x2, x)
if a == 3:
y1 = max(y1, y)
if a == 4:
y2 = min(y2, y)
if x2-x1 <= 0 or y-y1 <=0:
print("0")
else:
res = (x2-x1) * (y2 - y1)
print(res) |
s696915523 | p03943 | u469700628 | 1577646307 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 407 | W,H,N = list(map(int,input().split()))
points = [list(map(int, input().split())) for _ in range(N)]
res = 0
x1,y1 = [0,0]
x2,y2 = [W,H]
for x,y,a in points:
if a == 1:
x1 = max(x1, x)
if a == 2:
x2 = min(x2, x)
if a == 3:
y1 = max(y1, y)
if a == 4:
y2 = min(y2, y)
if x2-x1 <= 0 or y-y1 <=0:
print(0)
else:
res = (x2-x1) * (y2 - y1)
print(res) |
s370421248 | p03943 | u029935728 | 1577271945 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | a,b,c=map(int,input().split())
sum=a+b+c
if a+b==c or a+c=b or b+c==a :
print("Yes")
else :
print("No") |
s179813106 | p03943 | u807084817 | 1576867768 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38256 | 103 | a,b,c = map(input().split())
if a == b+c or b == a+c or c == a+b :
print("Yes")
else:
print("No") |
s245452069 | p03943 | u807084817 | 1576867708 | Python | PyPy3 (2.4.0) | py | Runtime Error | 169 | 38256 | 109 | a,b,c = map(input().split())
if a = b+c or b = a+c or c = a+b :
print("Yes")
else:
print("No")
|
s034740704 | p03943 | u972892985 | 1576755020 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | a, b, c = map(int,input().split())
if a + b = c or b + c = a or a + c = b:
print("Yes")
else:
print("No") |
s154014167 | p03943 | u181215519 | 1576611297 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | nums = map( int, input().split() )
nums.sort()
if num[0]+num[1]==num[2]:
print("Yes")
else :
print("No")
|
s675051346 | p03943 | u181215519 | 1576610957 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 145 | num = list( map( int, input().split() ) )
sorted = list.sort()
if sorted[0]+sorted[1]==sorted[2] :
print( "Yes" )
else :
print( "No" )
|
s423396097 | p03943 | u181215519 | 1576610875 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 123 | num = list( map( int, input().split() ) )
[ a, b, c ] = num.sort()
if a + b == c:
print( "Yes" )
else :
print( "No" ) |
s365893157 | p03943 | u181215519 | 1576610778 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | num = list( map( int, input().split() ) )
[ a, b, c ] = sort( num )
if a + b == c:
print( "Yes" )
else :
print( "No" ) |
s211965021 | p03943 | u181215519 | 1576610732 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 127 | num = list( map( int, input().split() ) )
[ a, b, c ] = sort( list )
if a + b == c:
print( "Yes" )
else :
print( "No" )
|
s425791137 | p03943 | u262750042 | 1576380436 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | n = list(map(int, input().split()))
if n[0] = n[1] + n[2] or n[1] = n[0] + n[2] or n[2] = n[0] + n[1] :
print("Yes")
else :
print("No") |
s290730104 | p03943 | u262750042 | 1576380368 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | n=list(map(int,input().split()))
if n[0]=n[1]+n[2]or[1]=n[0]+n[2]or[2]=n[0]+n[1]:
print("Yes")
else:
print("No") |
s370077937 | p03943 | u262750042 | 1576380338 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 119 | n=list(map(int,input().split()))
if n[0]=n[1]n[2]or[1]=n[0]+n[2]or[2]=n[0]+n[1]:
print("Yes")
else:
print("No") |
s184481598 | p03943 | u262750042 | 1576380295 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | n=list(map(int,input().split()))
if n[0]=n[1]n[2]orn[1]=n[0]+n[2]or[2]=n[0]+n[1]:
print("Yes")
else:
print("No") |
s946704191 | p03943 | u987170100 | 1575955418 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 321 | W, H, N = map(int, input().split())
x1 = y1 = 0
x2 = W
y2 = H
for _ in range(N):
x, y, a = map(int, input().split())
if a == 1:
x1 = max(x1, x)
elif a == 2:
x2 = min(x2, x)
elif a == 3:
y1 = max(y1, y)
else:
y2 = min(y2, y)
print(max(0, (x2 - x1)) * max(0, (y2 - y1))) |
s716558808 | p03943 | u780475861 | 1575613872 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 107 | lst = [int(i) for i in input().split()]
m = max(lst)
if sum(lst) = 2*m:
print('Yes')
else:
print('No') |
s822765092 | p03943 | u774160580 | 1575233001 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | a, b, c = map(int, input().split())
if sum(abc)//2 == a or sum(abc)//2 == b or sum(abc)//2 == c:
print("Yes")
else:
print("No")
|
s283204577 | p03943 | u075155299 | 1574985714 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 142 | a,b,c = map(int,input().split)
if a==b+c:
print("Yes")
elif b==a+c:
print("Yes")
elif c==a+b:
print("Yes")
print("No")
|
s743738911 | p03943 | u340947941 | 1574880772 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 148 | ##### 解けた #####
a,b,c=list(map(int,input().split(" ")))
if sum(a,b)==c or sum(a,c)==b or sum(b,c)==a:
print("Yes")
else:
print("No") |
s461562602 | p03943 | u616188005 | 1574786107 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 141 | a,b,c = map(int,input().split())
if a==b+c:
print("YES")
elif b==a+c:
print("YES")
elif c=a+b:
print("YES")
else:
print("NO") |
s648303017 | p03943 | u467831546 | 1574690011 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 139 | a = int(input())
b = int(input())
c = int(input())
if (a + b) == c or (a + c) == b or (b + c) == a:
print("Yes")
else:
print("No") |
s219061746 | p03943 | u609814378 | 1574638696 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | a,b,c = map(int, input().split())
A_B = (a+b)
A_C = (a+c)
B_C = (b+c)
if (A_B == c) or (A_C == b) or (B_C = a):
print("Yes")
else:
print("No") |
s885746723 | p03943 | u609814378 | 1574638112 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | A,B,C = map(int, input().split())
A_B = (A+B)
A_C = (A+C)
B_C = (B+C)
if A_B == C or A_C == B or B_C = A:
print("Yes")
else:
print("No") |
s320191052 | p03943 | u716530146 | 1574397612 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 383 | #!/usr/bin/env python3
import sys, itertools
from math import gcd
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0
a, b, c = map(int, input().split())
for i in itertools.permutations([a, b, c], 3):
if i[0] == sum(i[1:]) or sum(i[:2]) == i[2]:
print("Yes")
exit()
print("No")
|
s652276698 | p03943 | u716530146 | 1574394800 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 400 | !/usr/bin/env python3
import sys, math, itertools, heapq, collections, bisect, fractions
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0
a,b,c=map(int,input().split())
print(0)
for i in itertools.permutations([a,b,c],3):
if i[0]==sum(i[1:]) or sum(i[:2])==i[2]:
print("Yes")
exit()
print("No") |
s338430806 | p03943 | u716530146 | 1574394393 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38256 | 406 | #!/usr/bin/env python3
# import sys, math, itertools, heapq, collections, bisect, fractions
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
sys.setrecursionlimit(10**8)
inf = float('inf')
ans = count = 0
# a,b,c=map(int,input().split())
# for i in itertools.permutations([a,b,c],3):
# if i[0]==sum(i[1:]) or sum(i[:2])==i[2]:
# print("Yes")
# exit()
# print("No") |
s451908042 | p03943 | u007263493 | 1574133772 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 152 | a, b, c = map(int,input(),split())
if c == a + b:
print("Yes")
if b == a + c:
print("Yes")
if a == b + c:
print("Yes")
else:
print("No") |
s141679615 | p03943 | u281303342 | 1573413750 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 155 | # python3 (3.4.3)
import sys
input = sys.stdin.readline
# main
ABC = list(map(int,input().split()))
ABC.sort()
print("Yes" if A[0]+A[1]==A[2] else "No") |
s915967723 | p03943 | u311636831 | 1573182896 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 343 | W,H,N = map(int,input().split())
Xl=0
Xr=W
Yu=0
Yh=H
for i in range(N):
Xt,Yt,At = map(int,input().split())
if((At==1)and(Xl<Xt)):
Xl=Xt
elif((At==2)and(Xr>Xt)):
Xr=Xt
elif((At==3)and(Yu<Yt)):
Yu=Yt
elif(Yh>Yt):
Yh=Yt
if((Xr<=Xl)or(Yh<=Yu)):
print("0")
else:
print((Xr-Xl)*(Yh-Yu)) |
s595221288 | p03943 | u311636831 | 1573182669 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 300 | W,H,N = map(int,input().split())
Xl=0
Xr=W
Yu=0
Yh=H
for i in range(N):
Xt,Yt,At = map(int,input().split())
if(At==1):
Xl=Xt
elif(At==2):
Xr=Xt
elif(At==3):
Yu=Yt
else:
Yh=Yt
if((Xr<=Xl)or(Yh<=Yu)):
print("0")
else:
print((Xr-Xl)*(Yh-Yu)) |
s470352567 | p03943 | u355371431 | 1572905024 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 750 | #include <bits/stdc++.h>
typedef long long ll;
#define REP(i,n) for(int i=0;i<n;i++)
#define ALL(x) (x).begin(),(x).end()
using namespace std;
//素因数分解
vector<pair<ll,int>> factorize(ll n){
vector<pair<ll,int>>res;
for(ll i=2;i*i<=n;i++){
if(n%i)continue;
res.emplace_back(i,0);
while (n%i == 0)
{
n /= i;
res.back().second++;
}
}
if(n != 1) res.emplace_back(n,1);
return res;
}
void trace(int A[],int N){
REP(i,N){
if(i>0)printf(" ");
printf("%d",A[i]);
}
printf("\n");
}
int main(){
int A,B,C;
cin >> A >> B >> C;
int S[3] = {A,B,C};
sort(S,S+3);
if(S[0]+S[1]==S[2])puts("Yes");
else puts("No");
}
|
s158633121 | p03943 | u923659712 | 1572752309 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a,b,c=map(int,input())
if a==b+c or b==a+c or c==a+b:
print("Yes")
else:
print("No") |
s094691918 | p03943 | u153482337 | 1571861399 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | a=int(input())
b=int(input())
c=int(input())
d="No"
if a==(b+c):
d="Yes"
if b==(c+a):
d="Yes"
if c==(a+b):
d="Yes"
print(d)
|
s441523593 | p03943 | u626468554 | 1571194401 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 122 | #n = int(input())
a = list(map(int,input().split()))
a.sort()
if a[0]+a[1]==a[2]:
print("Yes")
elif:
print("No") |
s643523035 | p03943 | u723590269 | 1571157155 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 122 | a,b,c=map(int,input().split())
if sum(a,b) == c or sum(a,c) == b or sum(c,b) == a:
print("Yes")
else:
print("No") |
s963878007 | p03943 | u281610856 | 1571116892 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 442 | W, H, N = map(int, input().split())
x_min = 0
x_max = W
y_min = 0
y_max = H
for i in range(N):
x, y, a = map(int, input().split())
if a == 1 and x > x_min:
x_min = x
elif a == 2 and x < x_max:
x_max = x
elif a == 3 and y > y_min:
y_min = y
elif a == 4 and y < y_max:
y_max = y
if (x_max - x_min) > 0 or (y_max - y_min) > 0:
S = (x_max - x_min) * (y_max - y_min)
else:
S = 0
print(S) |
s980329278 | p03943 | u281610856 | 1571116729 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 442 | W, H, N = map(int, input().split())
x_min = 0
x_max = W
y_min = 0
y_max = H
for i in range(N):
x, y, a = map(int, input().split())
if a == 1 and x > x_min:
x_min = x
elif a == 2 and x < x_max:
x_max = x
elif a == 3 and y > y_min:
y_min = y
elif a ==4 and y < y_max:
y_max = y
if (x_max - x_min) <= 0 or (y_max - y_min) < 0:
S = 0
else:
S = (x_max - x_min) * (y_max - y_min)
print(S) |
s059289326 | p03943 | u448655578 | 1570382503 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | candy = input().split(" ")
if sum(candy)-max(candy) == max(candy):
print("Yes")
else:
print("No") |
s446836221 | p03943 | u223904637 | 1569713801 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | a,b,c=map(int,input().split())
if a==b+c or b==a+c or c=a+b:
print('YES')
else:
print('NO') |
s468377447 | p03943 | u924374652 | 1569584672 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | a, b, c = map(int, input().split(" "))
if a % 2 = 0 and b % 2 = 0 and c % 2 = 0:
print("Yes")
else:
print("No") |
s447565969 | p03943 | u707690642 | 1569118636 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 154 | input_ = input().split()
a, b, c = input_
a, b, c = int(a), int(b), int(c)
if a == b + c, b == c + a, c == a + b:
print("YES")
else:
print("NO") |
s588970023 | p03943 | u707690642 | 1569118583 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 153 | input = input().split()
a, b, c = input_
a, b, c = int(a), int(b), int(c)
if a == b + c, b == c + a, c == a + b:
print("YES")
else:
print("NO") |
s545908973 | p03943 | u536177854 | 1568922803 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 99 | l=list(map(int,input().split()))
l=sorted(l)
if s[0]+l[1]==s[2]:
print('Yes')
else:
print('No') |
s999795555 | p03943 | u626337957 | 1568914780 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 309 | N, T = map(int, input().split())
nums = list(map(int, input().split()))
INF = 10**10
min_num = INF
max_diff = 0
cnt = 0
for num in nums:
if num-min_num > max_diff:
cnt = 1
max_diff = num-min_num
elif num-min_num == max_diff:
cnt += 1
if num < min_num:
min_num = num
print(min(cnt, T//2)) |
s404277533 | p03943 | u597017430 | 1568835345 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | a = list(map(int, input().split()))
print('Yes' if max(a) *2 = sum(a) else 'No') |
s346206403 | p03943 | u131264627 | 1568776849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 118 | a, b, c = map(int, input().split())
if a + b == c or b + c == a or c + a == b:
print('Yes')
else:
prtnt('No')
|
s810818953 | p03943 | u131264627 | 1568776776 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | a, b, c = map(int, input().split())
if a + b = c or b + c = a or c + a = b:
print('Yes')
else:
prtnt('No')
|
s422840630 | p03943 | u482808969 | 1568656107 | Python | PyPy3 (2.4.0) | py | Runtime Error | 179 | 38512 | 84 | l = sorted(list(map, input().split()))
print("Yes" if l[0] + l[1] == l[2] else "No") |
s331960567 | p03943 | u503111914 | 1568393413 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 94 | A = map(int,input().split())
A.sort()
if A[0]+A[1] == A[2]:
print("Yes")
else:
print("No") |
s816757127 | p03943 | u871596687 | 1568159549 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 201 |
can = list(map(int,input().split()))
#list 並び替え→最初と最後足して == 真ん中 ならばYES!!!
can = can.sort()
if can[0]+can[2] == can[1]:
print("Yes")
else:
print("No") |
s372607519 | p03943 | u557136512 | 1567794381 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | c_list = list(map(int, input().split()))
c_list.sort()
if sort[0] + sort[1] == sort[2]:
print('Yes')
else:
print('No') |
s587360136 | p03943 | u328364772 | 1566920105 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 255 | #include <iostream>
using namespace std;
int main()
{
int a, b, c, ab;
cin >> a >> b >> c;
ab = max(a, b);
if (max(ab, c) == (a + b + c) / 2)
{
cout << "Yes" << endl;
}
else
{
cout << "NO" << endl;
}
} |
s726490585 | p03943 | u275861030 | 1566772207 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 115 | a, b, c = map(int, input().split())
if (a + b == c) or (a + c == b) or (b + c ==a):
print(Yes)
else:
print(No) |
s144932975 | p03943 | u045408189 | 1566745126 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | a,b,c=sorted(map(int,input().split()))
print('Yes' if x+y==z else 'No')
|
s008773806 | p03943 | u045408189 | 1566745071 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | a,b,c=map(int,input().split())
x,y,z=sorted(a,b,c)
print('Yes' if x+y==z else 'No')
|
s148098327 | p03943 | u045408189 | 1566745028 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 82 | a,b,c=map(int,input().split())
x,y,z=sorted(a,b,c)
print('Yes' if x+y=z else 'No') |
s883480046 | p03943 | u842689614 | 1566694895 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 95 | a,b,c=map(int,input().split())
if a=b+c or b=c+a or c= a+b:
print('Yes')
else:
prine('No') |
s622687064 | p03943 | u393229280 | 1566525837 | Python | Python (3.4.3) | py | Runtime Error | 24 | 3064 | 169 | a, b, c = map(int, input().split())
input = [a, b, c]
saidai = max(input)
nokori = input.remove(saidai)
if saidai == sum(nokori):
print('Yes')
else:
print('No') |
s149071931 | p03943 | u453500284 | 1566316818 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 25 | print("A"+input()[8]+"C") |
s681458710 | p03943 | u842388336 | 1565654223 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 102 | a,b,c = map(int,input().split())
if (a+b+c)_max(a,b,c)==max(a,b,c):
print("Yes")
else:
print("No") |
s578512198 | p03943 | u740047492 | 1565646704 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | candy=sorted(map(int,input().split()))
print("Yes" if candy[0]+candy[1]==candy[2] "No") |
s402891233 | p03943 | u740047492 | 1565646622 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | candy=sorted(map(int,input().split()))
print("Yes" if candy[0]+candy[1]=candy[2] "No") |
s163073018 | p03943 | u740047492 | 1565646591 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | candy=sorted(map(int,input().split()))
print("Yes" if candy[0]+candy[1]=candy[2]) |
s601788972 | p03943 | u740047492 | 1565645232 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 120 | A, B, C = [int(input()) for _ in range(3)]
if A + B == C or B + C == A or C + A == B:
print("Yes")
else:
print("No") |
s753267250 | p03943 | u538956308 | 1564870939 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 506 | W,H,N=map(int,input().split())
A = []
B = []
C = []
D = []
for i in range(N):
x,y,a = map(int,input().split())
if a == 1:
A.append(x)
elif a == 2:
x = W-x
B.append(x)
elif a == 3:
C.append(y)
else:
y = H-y
D.append(y)
if len(A)>0:
a = max(A)
else:
a=0
if len(B)>0:
b = max(B)
else:
b = 0
if len(C)>0:
c = max(C)
else:
c = 0
if len(D)>0:
d = max(D)
else:
d = 0
w = W - (a+b)
h = H - (c+d)
if w*h<=0:
print(0)
else:
print(w*h) |
s575196577 | p03943 | u536685012 | 1564719269 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | a,b,c = int(input().split())
i = 0
if a+b==c:
i += 1
if b+c==a:
i += 1
if c+a==b:
i += 1
if i ==1:
print('Yes')
else:
print('No') |
s985322349 | p03943 | u003501233 | 1564503849 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | a,b,c=sorted(map(int,input().split()))
if a == b+c;
print("Yes")
else:
print("No") |
s122759258 | p03943 | u602677143 | 1564438510 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 135 | a,b,c = map(int,input().split())
if a+b = c:
print("Yes")
elif b+c = a:
print("Yes")
elif c+a=b:
print("Yes")
else:
print("No") |
s790801958 | p03943 | u567434159 | 1563565376 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 85 | a, b, c = sorted(map(int, input()))
if a + b == c:
print("Yes")
else:
print("No") |
s398296253 | p03943 | u292735000 | 1562788735 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 557 | w, h, n = map(int, input().split())
coord_list = [list(map(int, input().split())) for i in range(n)]
x_list = [i for i in range(w + 1)]
y_list = [i for i in range(h + 1)]
for a in coord_list:
if a[-1] == 1:
x_list = [i for i in x_list if i >= a[0]]
elif a[-1] == 2:
x_list = [i for i in x_list if i <= a[0]]
elif a[-1] == 3:
y_list = [i for i in y_list if i >= a[1]]
elif a[-1] == 4:
y_list = [i for i in y_list if i <= a[1]]
print(max((max(x_list) - min(x_list)), 0) * max((max(y_list) - min(y_list)), 0)) |
s073668775 | p03943 | u668503853 | 1562384797 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | a,b,c=map(int,input().split())
if max(a,b,c) == a+b+c-max(a,bc):print("Yes")
else:print("No") |
s113990886 | p03943 | u687044304 | 1562039840 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 210 | # -*- coding:utf-8 -*-
def solve():
a, b, c = list(map(int, input.split()))
if a+b == c or b+c==a or c+a==b:
print("Yes")
else:
print("No")
if __name__ == "__main__":
solve()
|
s283700581 | p03943 | u369980487 | 1561664789 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 392 | #include <bits/stdc++.h>
#define REP(i, n) for (int i = 0; i < n; i++) //for文マクロ
using namespace std;
typedef unsigned long ul;
typedef long long ll;
typedef pair<ul, ul> P; //ペア タイプでふ
int main()
{
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || a + c == b || b + c == a)
{
cout << "Yes";
}
else
{
cout << "No";
}
} |
s768872692 | p03943 | u093219895 | 1560884837 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 1867 | /**
* code generated by JHelper
* More info: https://github.com/AlexeyDmitriev/JHelper
* @author
*/
#include <iostream>
#include <fstream>
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define tr(container, it) \
for (auto it = container.begin(); it != container.end(); it++)
#define scontains(c, x) ((c).find(x) != (c).end()) //O(log n)
#define contains(c, x) (find((c).begin(),(c).end(),x) != (c).end()) //O(n)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define mll map<ll,ll>
#define intv(x, a, b)((x)>=a && (x)<=b)
#define rep(i, begin, end) for (__typeof(end) i = (begin) - ((begin) > (end)); i != (end) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end)))
#define _for(i, end) for (__typeof(end) i = 0; i < (end); i += 1)
#define all(x) (x).begin(),(x).end()
//#define len(array) (sizeof(array)/sizeof((array)[0]))
#define what_is(x) cerr << #x << " is " << x << endl;
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
#define mod(x, m) ((((x) % (m)) + (m)) % (m))
const double PI = 2 * acos(.0);
const int INF = 0x3f3f3f3f;
const ll LLINF = 1000000000000000005LL;;
const ll MOD = (ll) (1e9) + 7;
void _mod(ll &x){x = mod(x, MOD);}
//const ll MOD = (ll) 998244353 ;
const double EPS = 1e-10;
template<typename A, size_t N, typename T>
void Fill(A (&array)[N], const T &val) {
std::fill((T *) array, (T *) (array + N), val);
}
//#define int ll
class A2FightingOverCandies {
public:
void solve(std::istream& cin, std::ostream& cout) {
int a,b,c;
cin >> a >> b >> c;
cout << (a + b + c == 2*max({a,b,c})? "Yes":"No") << endl;
}
};
#undef int
int main() {
A2FightingOverCandies solver;
std::istream& in(std::cin);
std::ostream& out(std::cout);
solver.solve(in, out);
return 0;
}
|
s993917091 | p03943 | u829249049 | 1560756484 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | a,b,c=map(int,input().split())
MAX=max[a,b,c]
SUM=sum[a,b,c]
if MAX==SUM-MAX:
print(Yes)
else:
print(No) |
s811983568 | p03943 | u747873993 | 1560255587 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | A=[int(i) for i in input().split]
sort_list=sorted(A)
if sort_list[0]+sort_list[1]==sort_list[2]:
print("Yes")
else:
print("No") |
s073604109 | p03943 | u747873993 | 1560255560 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | A=[int(i) for i in input().split]
sort_list=sorted(A)
if sort_list[0]+sort_list[1]==sort_list[2]:
print("Yes")
else:
print("No") |
s648764822 | p03943 | u558374183 | 1559834398 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 226 | l = list(map(int,input().split()))
a = 0
b = 1
c = 1
while c <= l[0]:
if a + b >= l[1] and a + b <= l[2]:
sum += c
if b == 9:
b = 0
a += 1
else:
b += 1
c = 10 * a + b
print(sum)
|
s003888189 | p03943 | u483640741 | 1559769944 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 334 | w,h,n=map(int,input().split())
x_min=0
y_min=0
for i in range(n):
x,y,a=map(int,input().split())
if a==1:
x_min=max(x_min,x)
elif a==2:
w=min(x,w)
elif a==3:
y_min=max(y_min,y)
elif a==4:
h=min(y,h)
white=(w-x_min)*(h-y_min)
if white>0:
print(white)
else:
print("0") |
s949771099 | p03943 | u637918426 | 1559693275 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 136 | andy = list(map(int, input().split()))
S = sorted(candy, reverse = True)
if S[0] == S[1] + S[2]:
print("Yes")
else:
print("No") |
s964830261 | p03943 | u483640741 | 1559686541 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 341 | w,h,n=map(int,input().split())
min_x=0
min_y=0
for i in range(n):
x,y,a=map(int,input().split())
if a==1:
min_x=max(min_x,x)
elif a==2:
w=min(w,x)
elif a==3:
min_y=max(min_y,y)
elif a==4:
h=min(h,y)
white=int((w-min_x)*(h-min_y))
if white>0:
print(white)
else:
print("0")
|
s014957387 | p03943 | u483640741 | 1559685766 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 291 | w,h,n=map(int,input().split())
min_x=0
min_y=0
for i in range(n):
x,y,a=map(int,input().split())
if a==1:
min_x=max(min_x,x)
elif a==2:
w=min(w,x)
elif a==3:
min_y=max(min_y,y)
else:
h=min(h,y)
white=(w-min_x)*(h-min_y)
print(white)
|
s498171795 | p03943 | u623687794 | 1559584758 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 99 | a,b,c=map(int,input().split())
d=max(a,max(b,c))
if 2*d=(a+b+c):
print("Yes")
else:
print("No") |
s635603262 | p03943 | u083668616 | 1559337810 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38292 | 101 | a, b, c = map(int, input().split())
if a == b+c or b == a+c or c == a+b: print 'Yes'
else: print 'No' |
s896103431 | p03943 | u083668616 | 1559337636 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38644 | 83 | anslist = ['Yes', 'No']
a, b, c = map(int, input.split())
print(anslist[(a+b+c)%2]) |
s377501115 | p03943 | u117579775 | 1559155371 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 112 | a,b,c = map(int,input().split())
if a == b + c or b == lc + a or c == a + b:
print('Yes')
else:
print('No')
|
s409665860 | p03943 | u117579775 | 1559155118 | Python | Python (2.7.6) | py | Runtime Error | 11 | 2568 | 135 | l = map(int, input().split())
if l[0] == l[1] + l[2] or l[1] == l[0] + l[2] or l[2] == l[0] + l[1]:
print('Yes')
else:
print('No')
|
s682259680 | p03943 | u117579775 | 1559154658 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | l = map(int, input().split())
if l[0] == l[1] + l[2] or l[1] == l[0] + l[2] or l[2] == l[0] + l[1]:
print('Yes')
else:
print('No') |
s845339411 | p03943 | u117579775 | 1559153302 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 138 | l = map(int, raw_input().split())
if l[0] == l[1] + l[2] or l[1] == l[0] + l[2] or l[2] == l[0] + l[1]:
print('Yes')
else:
print('No') |
s306703030 | p03943 | u977642052 | 1559009438 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 205 | a, b, c = map(int, input().split(' '))
if a + b == c:
print('Yes')
return
elif a + c == b:
print('Yes')
return
elif b + c == a:
print('Yes')
return
else:
print('No')
return |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.