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 int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s217123116 | p00332 | u546285759 | 1534389268 | Python | Python3 | py | Accepted | 20 | 5612 | 484 | def jp(Y):
if Y > 1988:
return f"H{Y-1988}"
elif Y > 1925:
return f"S{Y-1925}"
elif Y > 1911:
return f"T{Y-1911}"
elif Y > 1911:
return f"T{Y-1911}"
else:
return f"M{Y-1867}"
def meiji(Y):
return f"{1867+Y}"
def taisho(Y):
return f"{1911+Y}"
def syo... | p00332 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>日本の暦 </H1>
<p>
「西暦」は西洋から輸入された概念ですが、日本には暦... | 0 2015
| H27
| 18,228 |
s673025921 | p00333 | u805464373 | 1555744330 | Python | Python3 | py | Accepted | 20 | 5660 | 98 | import math
W,H,C=map(int,input().split())
sikaku=math.gcd(W,H)
print(C*(W*H)//(sikaku*sikaku))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,229 |
s190779015 | p00333 | u116766943 | 1499262654 | Python | Python3 | py | Accepted | 30 | 7596 | 169 | W,H,C=map(int,input().split())
mini=10**10
for x in range(1,min(H,W)+1,1):
if ( H % x ) or ( W % x ):
continue
mini=min(mini,(H//x)*(W//x)*C)
print(mini) | p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,230 |
s299302564 | p00333 | u214404619 | 1503146078 | Python | Python3 | py | Accepted | 20 | 7708 | 165 | def gcd(a, b):
if b == 0:
return a
return gcd(b, a % b)
w, h, c = [int(num) for num in input().split()]
g = gcd(w, h)
print((w // g) * (h // g) * c) | p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,231 |
s609175136 | p00333 | u724548524 | 1526738815 | Python | Python3 | py | Accepted | 20 | 5600 | 156 | w, h, c = map(int, input().split())
p, q = max(w, h), min(w, h)
while True:
if p % q == 0:break
else:p, q = q, p % q
print((w // q) * (h // q) * c)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,232 |
s998832948 | p00333 | u051218320 | 1528756221 | Python | Python | py | Accepted | 20 | 6212 | 121 | import fractions
A, B, C = [int(k) for k in raw_input().split(' ')]
print(C * ((A * B)/ (fractions.gcd(A, B) ** 2 )))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,233 |
s773503546 | p00333 | u352394527 | 1529913089 | Python | Python3 | py | Accepted | 20 | 5656 | 100 | from math import gcd
w, h, c = map(int, input().split())
print(w * h // gcd(w, h) // gcd(w, h) * c)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,234 |
s773082844 | p00333 | u286298310 | 1597497921 | Python | Python3 | py | Accepted | 20 | 5604 | 200 | def gcd(x,y):
if x > y:
x,y = y,x
while x!= 0:
y = y % x
x, y = y, x
return y
w,h,c = map(int,input().split())
n = w * h / gcd(w,h)**2
print(int(c * n))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,235 |
s770236335 | p00333 | u548184870 | 1594889834 | Python | Python3 | py | Accepted | 30 | 5660 | 86 | import math
w,h,c=map(int,input().split())
g=math.gcd(w,h)
print(int((w/g)*(h/g)*c))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,236 |
s219237473 | p00333 | u842461513 | 1589425167 | Python | Python3 | py | Accepted | 20 | 5660 | 294 | import math#mathモジュールをインポートする
a,b,c = map(int,input().split())#標準入力
i = (math.gcd(a,b))#最大公約数
a *= b#開拓した面積を求める
i *= i#正方形の面接を求める
print(int(a / i * c))#正方形のに開拓費用をかけた数を出力する
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,237 |
s400637756 | p00333 | u153447291 | 1580808490 | Python | Python3 | py | Accepted | 20 | 5660 | 78 | import math
a,b,c = map(int,input().split())
print(a*b//(math.gcd(a,b)**2)*c)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,238 |
s804098616 | p00333 | u492405338 | 1578927843 | Python | Python3 | py | Accepted | 20 | 5668 | 105 | import math
w, h, c = [int(i) for i in input().split()]
g = math.gcd(w, h)
print((w//g) * (h//g) * c)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,239 |
s062773551 | p00333 | u829695570 | 1576418535 | Python | Python3 | py | Accepted | 20 | 5600 | 186 | def sdk(a,b):
if a < b:
a,b = b,a
if a%b == 0:
return b
else:
return sdk(b, a%b)
w,h,c=map(int, input().split())
t = sdk(w,h)
print(w//t * h//t * c)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,240 |
s933108897 | p00333 | u350155409 | 1573304657 | Python | Python3 | py | Accepted | 20 | 5672 | 109 |
import math
w,h,c = [ int(s) for s in input().split() ]
gcd = math.gcd(w,h)
print((w//gcd)*(h//gcd)*c)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,241 |
s088240561 | p00333 | u784856415 | 1565156283 | Python | Python3 | py | Accepted | 20 | 5600 | 157 | def g(a,b):
if b==0:
return a
return g(b,a%b)
def main():
w,h,c=map(int,input().split())
d=g(w,h)
print((w//d)*(h//d)*c)
main()
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,242 |
s911407653 | p00333 | u037441960 | 1563165845 | Python | Python3 | py | Accepted | 20 | 5660 | 99 | import math
W, H, C = map(int, input().split())
g = math.gcd(W, H)
print((W // g) * (H // g) * C)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,243 |
s703359291 | p00333 | u495152850 | 1562060465 | Python | Python3 | py | Accepted | 20 | 5596 | 175 | W, H, C = map(int, input().split())
mini=10**10
for x in range(1,min(H,W)+1,1):
if ( H % x ) or ( W % x ):
continue
mini=min(mini,(H//x)*(W//x)*C)
print(mini)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,244 |
s016917849 | p00333 | u043254318 | 1558807976 | Python | Python3 | py | Accepted | 30 | 5672 | 109 |
import math
W,H,C = [int(i) for i in input().split()]
g = math.gcd(W,H)
print(int(((W/g) * (H/g))*C))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,245 |
s660526058 | p00333 | u888548672 | 1557369555 | Python | Python3 | py | Accepted | 20 | 5600 | 179 | def GCD(a, b): # a > b
if a % b == 0: return b
else: return GCD(b, a%b)
w, h, c = map(int, input().split())
if w > h: g = GCD(w, h)
else: g = GCD(h, w)
print(h*w*c//g**2)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,246 |
s234778000 | p00333 | u990228206 | 1551660305 | Python | Python3 | py | Accepted | 20 | 5660 | 78 | import math
w,h,c=map(int,input().split())
print(int(w*h/math.gcd(w,h)**2*c))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,247 |
s808729846 | p00333 | u717526540 | 1543986958 | Python | Python3 | py | Accepted | 20 | 5660 | 117 | import math
w, h, c = map(int, input().split())
size = math.gcd(w, h)
cost = w // size * h // size * c
print(cost)
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,248 |
s762603969 | p00333 | u623996423 | 1541501674 | Python | Python3 | py | Accepted | 20 | 5660 | 91 | from math import gcd
W, H, C = map(int, input().split())
g = gcd(W, H)
print(W*H*C//(g*g))
| p00333 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>ニュータウン</H1>
<p>
会津県では人口増加のためにニュータウンを作ること... | 10 20 5
| 10
| 18,249 |
s237500845 | p00334 | u144532944 | 1534942840 | Python | Python3 | py | Accepted | 20 | 5724 | 115 | N = int(input())
s = set()
for i in range(N):
s.add(tuple(sorted(map(int, input().split()))))
print(N-len(s))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,250 |
s812863114 | p00334 | u116766943 | 1499263192 | Python | Python3 | py | Accepted | 30 | 7716 | 109 | N,S=int(input()),set()
for _ in [0]*N:
S.add(str(sorted(list(map(int,input().split())))))
print(N-len(S)) | p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,251 |
s582136934 | p00334 | u490800396 | 1499441821 | Python | Python3 | py | Accepted | 30 | 7976 | 99 | n = int(input())
l = [tuple(sorted(input().split())) for _ in range(n)]
print(len(l) - len(set(l))) | p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,252 |
s770521675 | p00334 | u369093003 | 1501936682 | Python | Python3 | py | Accepted | 30 | 7684 | 234 | N = int(input())
l = []
s = set()
for i in range(N):
a,b,c = map(int,input().split(' '))
l.append(a)
l.append(b)
l.append(c)
l.sort()
d = str(l[0])
e = str(l[1])
f = str(l[2])
g = d + e + f
s.add(g)
l = []
print(N - len(s)) | p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,253 |
s887356184 | p00334 | u451187291 | 1503071757 | Python | Python3 | py | Accepted | 70 | 7840 | 202 | # encoding: 'utf-8'
N = int(input())
ls = list()
for _ in range(N):
e = sorted([int(x) for x in input().split()])
if e in ls:
continue
else:
ls.append(e)
print(N - len(ls)) | p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,254 |
s054401487 | p00334 | u724548524 | 1526739111 | Python | Python3 | py | Accepted | 20 | 5720 | 165 | n = int(input())
m = set()
c = 0
for _ in range(n):
s = sorted(list(map(int, input().split())))
s = tuple(s)
if s in m:c += 1
else:m.add(s)
print(c)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,255 |
s750074970 | p00334 | u051218320 | 1528757097 | Python | Python | py | Accepted | 10 | 5284 | 243 | from collections import defaultdict
c = defaultdict(int)
N = raw_input().split(' ')[0]
for i in range(int(N)):
c[frozenset((sorted([int(k) for k in raw_input().split(' ')[0:3]])))] += 1
print(sum([i - 1 for i in c.values() if i > 1]))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,256 |
s152356565 | p00334 | u051218320 | 1528757909 | Python | Python | py | Accepted | 20 | 5396 | 267 | from collections import Counter
import string
import re
c = Counter()
N = int(re.split('\s', raw_input())[0])
for i in range(N):
l = sorted([int(i) for i in re.split('\s', raw_input())[0:3]])
c[frozenset(l)] += 1
print(len(list(c.elements())) - len(list(c)))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,257 |
s475712699 | p00334 | u352394527 | 1529913299 | Python | Python3 | py | Accepted | 20 | 5844 | 127 | n = int(input())
save = set()
for _ in range(n):
t = tuple(sorted(list(input().split())))
save.add(t)
print(n - len(save))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,258 |
s233418641 | p00334 | u548184870 | 1595238675 | Python | Python3 | py | Accepted | 40 | 5776 | 135 | N=int(input())
A=[]
for _ in range(0,N):
a=list(map(int,input().split()))
a.sort()
if A.count(a)==0:
A.append(a)
print(N-len(A))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,259 |
s910067958 | p00334 | u240091169 | 1594778416 | Python | Python3 | py | Accepted | 50 | 5716 | 247 | N = int(input())
A = []
cnt = 0
for i in range(N) :
x, y, z = map(int, input().split())
a, c = min(x, y, z), max(x, y, z)
b = x + y + z - a - c
if [a, b, c] in A :
cnt += 1
else :
A.append([a, b, c])
print(cnt)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,260 |
s013074022 | p00334 | u829695570 | 1576419069 | Python | Python3 | py | Accepted | 50 | 5776 | 172 | n = int(input())
a = []
c = 0
for i in range(n):
tmp = sorted(list(map(int, input().split())))
if tmp in a:
c += 1
else:
a.append(tmp)
print(c)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,261 |
s924992317 | p00334 | u784856415 | 1565157105 | Python | Python3 | py | Accepted | 20 | 5720 | 99 | n=int(input())
a={tuple(sorted(list(map(int,input().split())))) for _ in range(n)}
print(n-len(a))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,262 |
s202579122 | p00334 | u043254318 | 1559829516 | Python | Python3 | py | Accepted | 30 | 5652 | 170 |
N = int(input())
id = set()
for l in range(N):
a = [int(i) for i in input().split()]
a.sort()
id.add(a[0]*1000000 + a[1]*1000 + a[2])
print(N-len(id))
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,263 |
s932968119 | p00334 | u888548672 | 1557455607 | Python | Python3 | py | Accepted | 40 | 5720 | 151 | N = int(input())
l = []
count = 0
for _ in range(N):
p = set(map(int, input().split()))
if p in l: count+=1
else: l.append(p)
print(count)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,264 |
s491180250 | p00334 | u990228206 | 1551660670 | Python | Python3 | py | Accepted | 50 | 5776 | 199 | n=int(input())
n_keep=[]
count=0
for i in range(n):
n_li=list(map(int,input().split()))
n_li.sort()
if n_li in n_keep:
count+=1
else:
n_keep.append(n_li)
print(count)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,265 |
s948133407 | p00334 | u717526540 | 1543987303 | Python | Python3 | py | Accepted | 50 | 5636 | 295 | def unique(seq):
seen = []
return [x for x in seq if x not in seen and not seen.append(x)]
n = int(input())
point = []
for _ in range(n):
p = list(map(int, input().split()))
p.sort()
point.append(p)
point_uni = unique(point)
ans = len(point) - len(point_uni)
print(ans)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,266 |
s790550620 | p00334 | u623996423 | 1541502073 | Python | Python3 | py | Accepted | 40 | 5860 | 147 | N = int(input())
V = []
n = 0
for _ in range(N):
p = set(input().split())
if p in V:
n += 1
else:
V.append(p)
print(n)
| p00334 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>形状データ処理 </H1>
<p>
コンピュータグラフィクスでは、三次元の形状を... | 4
1 3 2
1 2 4
1 4 3
2 3 4
| 0
| 18,267 |
s713822902 | p00335 | u260980560 | 1501296733 | Python | Python3 | py | Accepted | 30 | 14488 | 332 | import sys
sys.setrecursionlimit(10**6)
n = int(input())
*P, = map(int, input().split())
memo = {(n-1, i): i for i in range(P[-1]+1)}
def dfs(pos, t):
if (pos, t) in memo:
return memo[pos, t]
res = memo[pos, t] = dfs(pos+1, max(0, P[pos+1]-t)) + t*2
return res
print(min(dfs(0, P[0]-i)+i for i in ran... | p00335 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>パンケーキ</H1>
<p>
あなたが勤めているパンケーキ屋では、細長い鉄板にパ... | 3
1 2 1
| 4
| 18,268 |
s436599341 | p00335 | u072053884 | 1571668538 | Python | Python3 | py | Accepted | 20 | 5724 | 530 | def solve():
from sys import stdin
f_i = stdin
N = int(f_i.readline())
P = list(map(int, f_i.readline().split()))
left = P[0]
ans = N * 6
for i in range(left + 1):
tP = P[:]
tP[0] -= i
t_ans = i
for j in range(N - 1):
tpj = tP[j]
... | p00335 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>パンケーキ</H1>
<p>
あなたが勤めているパンケーキ屋では、細長い鉄板にパ... | 3
1 2 1
| 4
| 18,269 |
s641158446 | p00335 | u717526540 | 1543988208 | Python | Python3 | py | Accepted | 20 | 5724 | 399 | n = int(input())
pancake = list(map(int, input().split()))
ans = 10**9
for i in range(4):
cnt = [0] * n
cnt[0] += i
for j in range(n-1):
diff = pancake[j] - cnt[j]
if diff > 0:
cnt[j] += diff
cnt[j+1] += diff
diff = pancake[n-1] - cnt[n-1]
if diff > 0:
... | p00335 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>パンケーキ</H1>
<p>
あなたが勤めているパンケーキ屋では、細長い鉄板にパ... | 3
1 2 1
| 4
| 18,270 |
s299928722 | p00337 | u260980560 | 1501299058 | Python | Python3 | py | Accepted | 30 | 7948 | 1,295 | def dist2(A, B):
return (A[0]-B[0])**2 + (A[1]-B[1])**2
def cross(A, B, C):
return (B[0]-A[0])*(C[1]-A[1]) - (C[0]-A[0])*(B[1]-A[1])
def convex_hull(PS):
n = len(PS)
PP = sorted([p + [i] for i, p in enumerate(PS)])
Q = []
for i in range(n):
while len(Q) > 1 and cross(PP[Q[-2]], PP[Q[-1]]... | p00337 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>村の道路計画 </H1>
<p>
会津国の若松平野に、集落が点在していました。い... | 5 5
0 0
1 1
3 0
3 2
0 2
1 2
2 3
2 4
3 4
1 5
| 11.4142
| 18,271 |
s800713764 | p00337 | u853158149 | 1562119186 | Python | Python3 | py | Accepted | 30 | 6196 | 3,233 | def quickhull(l,r,s,k,il,ir):
if not s:
return
su = []
sd = []
a = (r[0]-l[0],r[1]-l[1])
for x,y in s:
b = (x-l[0],y-l[1])
cro = cross(a,b)
if cro > 0:
su.append((x,y))
elif cro < 0:
sd.append((x,y))
ind = (ir-il)/2
if su:
... | p00337 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>村の道路計画 </H1>
<p>
会津国の若松平野に、集落が点在していました。い... | 5 5
0 0
1 1
3 0
3 2
0 2
1 2
2 3
2 4
3 4
1 5
| 11.4142
| 18,272 |
s352400252 | p00337 | u197615397 | 1537876187 | Python | Python3 | py | Accepted | 30 | 5940 | 2,092 | import sys
def graham_scan(vertices: list):
from math import atan2
from operator import itemgetter
vertices.sort(key=itemgetter(1))
base_x, base_y = vertices[0][:2]
vertices = sorted(vertices[1:], key=lambda p: atan2(p[1]-base_y, p[0]-base_x)) + vertices[:1]
convex = vertices[-1:] + vertices[... | p00337 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>村の道路計画 </H1>
<p>
会津国の若松平野に、集落が点在していました。い... | 5 5
0 0
1 1
3 0
3 2
0 2
1 2
2 3
2 4
3 4
1 5
| 11.4142
| 18,273 |
s422063755 | p00340 | u623996423 | 1541165424 | Python | Python3 | py | Accepted | 20 | 5556 | 102 | a = input().split()
print('yes' if ((a.pop() in a) and ((a.pop() in a) or (a.pop() in a))) else 'no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,274 |
s493720831 | p00340 | u623996423 | 1541165553 | Python | Python3 | py | Accepted | 20 | 5544 | 57 | print('yes' if len(set(input().split())) <= 2 else 'no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,275 |
s653781595 | p00340 | u814278309 | 1559088950 | Python | Python3 | py | Accepted | 20 | 5596 | 209 | a,b,c,d=map(int,input().split())
if a==b and c==d :
print('{}'.format('yes'))
elif a==c and b==d:
print('{}'.format('yes'))
elif a==d and b==c:
print('{}'.format('yes'))
else:
print('{}'.format('no'))
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,276 |
s799119077 | p00340 | u301729341 | 1481550919 | Python | Python3 | py | Accepted | 20 | 7596 | 134 | Hen = list(map(int,input().split()))
Hen = sorted(Hen)
if Hen[0] == Hen[1] and Hen[2] ==Hen[3]:
print("yes")
else:
print("no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,277 |
s773650450 | p00340 | u858885710 | 1481551537 | Python | Python3 | py | Accepted | 20 | 7540 | 90 | a, b, c, d = sorted(map(int, input().split()))
print("yes" if a == b and c == d else "no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,278 |
s637037134 | p00340 | u811773570 | 1483374345 | Python | Python3 | py | Accepted | 30 | 7688 | 118 | e = list(map(int, input().split()))
e.sort()
if e[0] == e[1] and e[2] == e[3]:
print("yes")
else:
print("no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,279 |
s852321906 | p00340 | u078042885 | 1483420130 | Python | Python3 | py | Accepted | 20 | 7656 | 87 | a,b,c,d=sorted(map(int,input().split()))
if a==b and c==d:print("yes")
else:print("no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,280 |
s926446228 | p00340 | u546285759 | 1483510456 | Python | Python3 | py | Accepted | 30 | 7672 | 105 | rec = sorted(list(map(int, input().split())))
print("yes" if rec[0]==rec[1] and rec[2]==rec[3] else "no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,281 |
s228641998 | p00340 | u078042885 | 1486432529 | Python | Python3 | py | Accepted | 20 | 7684 | 75 | a,b,c,d=sorted(map(int,input().split()))
print(['no','yes'][a==b and c==d]) | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,282 |
s720393653 | p00340 | u421983421 | 1496067760 | Python | Python | py | Accepted | 10 | 6384 | 126 | inpt = map(int, raw_input().split())
inpt.sort()
if inpt[0] == inpt[1] and inpt[2] == inpt[3]:
print 'yes'
else:
print 'no' | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,283 |
s497440062 | p00340 | u350064373 | 1501505441 | Python | Python3 | py | Accepted | 30 | 7652 | 123 | ls = list(map(int, input().split()))
ls.sort()
if ls[0] == ls[1] and ls[2] == ls[3]:
print('yes')
else:
print('no') | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,284 |
s448664746 | p00340 | u498511622 | 1501505735 | Python | Python3 | py | Accepted | 30 | 7396 | 110 | lst=list(input().split())
lst.sort()
if lst[0]==lst[1] and lst[2]==lst[3]:
print('yes')
else:
print('no') | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,285 |
s917763981 | p00340 | u546285759 | 1502765367 | Python | Python3 | py | Accepted | 20 | 7644 | 93 | e = sorted(map(int, input().split()))
print("yes" if e[0] == e[1] and e[2] == e[3] else "no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,286 |
s697490847 | p00340 | u855694108 | 1506665657 | Python | Python3 | py | Accepted | 30 | 7780 | 504 | def main():
e = list(map(int, input().split()))
e_set = list(set(e))
if len(e_set) == 1:
print("ok")
else:
f = True
for i in range(len(e_set)):
cnt = 0
for j in range(len(e)):
if e_set[i] == e[j]:
cnt += 1
i... | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,287 |
s708186714 | p00340 | u529013669 | 1508828177 | Python | Python3 | py | Accepted | 30 | 7740 | 126 | es = [int(e) for e in input().split()]
es.sort()
if es[0] == es[1] and es[2] == es[3]:
print("yes")
else:
print("no") | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,288 |
s413967273 | p00340 | u724548524 | 1526975999 | Python | Python3 | py | Accepted | 20 | 5592 | 93 | a = sorted(map(int,input().split()))
print("yes" if a[0] == a[1] and a[2] == a[3] else "no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,289 |
s644059760 | p00340 | u352394527 | 1529915825 | Python | Python3 | py | Accepted | 20 | 5596 | 123 | lst = sorted(list(map(int, input().split())))
if lst[0] == lst[1] and lst[2] == lst[3]:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,290 |
s004006914 | p00340 | u365131854 | 1597751186 | Python | Python3 | py | Accepted | 20 | 5596 | 127 | a,b,c,d=map(int,input().split())
if a==b and c==d or a==c and b==d or a==d and b==c:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,291 |
s606315702 | p00340 | u342624490 | 1597749264 | Python | Python3 | py | Accepted | 20 | 5596 | 143 | a, b, c, d = map(int, input().split())
if a == b and c == d or a == c and b == d or a == d and b == c:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,292 |
s284358489 | p00340 | u430159711 | 1597660144 | Python | Python3 | py | Accepted | 20 | 5604 | 174 | a,b,c,d=(int(x) for x in input().split())
if a==b and c==d:
print('yes')
elif a==c and b==d:
print('yes')
elif a==d and b==c:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,293 |
s886560433 | p00340 | u250040203 | 1597040658 | Python | Python3 | py | Accepted | 20 | 5600 | 211 | a,b,c,d = map(int,input().split())
mylist =[]
z = []
mylist.append(a)
mylist.append(b)
mylist.append(c)
mylist.append(d)
z = sorted(mylist)
if z[0]==z[1] and z[2] == z[3]:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,294 |
s499784636 | p00340 | u476754031 | 1596894660 | Python | Python3 | py | Accepted | 20 | 5596 | 222 | e1,e2,e3,e4=map(int,input().split())
if e1==e2 and e3==e4:
print('yes')
elif e1==e3 and e2==e4:
print('yes')
elif e1==e4 and e2==e3:
print('yes')
elif e1==e2==e3==e4:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,295 |
s395601453 | p00340 | u852547520 | 1596529602 | Python | Python3 | py | Accepted | 20 | 5596 | 220 | e1,e2,e3,e4=map(int,input().split())
if e1==e2 and e3==e4:
print("yes")
elif e1==e3 and e2==e4:
print("yes")
elif e1==e4 and e2==e3:
print("yes")
elif e1==e2==e3==e4:
print("yes")
else :
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,296 |
s310882407 | p00340 | u878828646 | 1596266785 | Python | Python3 | py | Accepted | 20 | 5604 | 174 | a,b,c,d=(int(x) for x in input().split())
if a==b and c==d:
print('yes')
elif a==c and b==d:
print('yes')
elif a==d and b==c:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,297 |
s581976386 | p00340 | u885258138 | 1596184845 | Python | Python3 | py | Accepted | 20 | 5596 | 131 | a,b,c,d=map(int,input().split())
if (a==b and c==d) or (a==c and b==d) or (a==d and b==c):
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,298 |
s397671477 | p00340 | u920513163 | 1595817577 | Python | Python3 | py | Accepted | 20 | 5596 | 144 | a,b,c,d=map(int,input().split())
if (a == b and c == d) or (a == c and b == d) or (a == d and b == c):
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,299 |
s590992576 | p00340 | u965173609 | 1595294951 | Python | Python3 | py | Accepted | 20 | 5596 | 218 | e1,e2,e3,e4=map(int,input().split())
if e1==e3 and e2==e4:
print('yes')
elif e1==e2 and e3==e4:
print('yes')
elif e4==e1 and e2==e3:
print('yes')
elif e1==e2==e3==e4:
print('yas')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,300 |
s632211569 | p00340 | u659772967 | 1595127105 | Python | Python3 | py | Accepted | 20 | 5596 | 114 | a,b,c,d=map(int,input().split())
if a==c and b==d or a==b and c==d or a==d and b==c:print("yes")
else:print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,301 |
s920164210 | p00340 | u762022668 | 1595067381 | Python | Python3 | py | Accepted | 20 | 5592 | 198 | e1,e2,e3,e4 = map(int,input().split())
if(e1 == e2 and e3 == e4):
print("yes")
elif(e2 == e3 and e1 == e4):
print("yes")
elif(e1 == e3 and e2 == e4):
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,302 |
s336143278 | p00340 | u782152619 | 1594708678 | Python | Python3 | py | Accepted | 20 | 5596 | 142 | a, b, c, d = map(int, input().split())
if a == b and c == d or a == c and b == d or a == d and b == c:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,303 |
s041801329 | p00340 | u363460225 | 1594611378 | Python | Python3 | py | Accepted | 20 | 5596 | 267 | e1,e2,e3,e4=map(int,input().split())
if e1==e2:
if e3==e4:
print("yes")
else:
print("no")
elif e1==e3:
if e2==e4:
print("yes")
else:
print("no")
else:
if e2==e3:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,304 |
s850542208 | p00340 | u632910712 | 1594295545 | Python | Python3 | py | Accepted | 30 | 5596 | 194 | e1,e2,e3,e4 = map(int,input().split())
if e1 == e2 and e3 == e4:
print('yes')
elif e1 == e3 and e2 == e4:
print('yes')
elif e1 == e4 and e2 == e3:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,305 |
s729038318 | p00340 | u940828136 | 1593752540 | Python | Python3 | py | Accepted | 20 | 5596 | 124 | a,b,c,d=map(int,input().split())
if a==b and c==d or a==c and b==d or a==d and b==c:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,306 |
s877529049 | p00340 | u278236319 | 1592807898 | Python | Python3 | py | Accepted | 20 | 5596 | 142 | a, b, c, d = map(int, input().split())
if a == b and c == d or a == c and b == d or a == d and b == c:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,307 |
s925199264 | p00340 | u272062354 | 1592807744 | Python | Python3 | py | Accepted | 20 | 5596 | 181 | e1,e2,e3,e4=map(int,input().split())
if e1==e2 and e3==e4:
print('yes')
elif e1==e3 and e2==e4:
print('yes')
elif e1==e4 and e2==e3:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,308 |
s667837968 | p00340 | u896809383 | 1592795742 | Python | Python3 | py | Accepted | 20 | 5596 | 199 | e_1,e_2,e_3,e_4=map(int,input().split())
if e_1==e_2 and e_3==e_4 :
print("yes")
elif e_1==e_3 and e_2==e_4 :
print("yes")
elif e_1==e_4 and e_2==e_3 :
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,309 |
s939534906 | p00340 | u326077502 | 1592269794 | Python | Python3 | py | Accepted | 20 | 5596 | 148 | e1,e2,e3,e4=map(int,input().split())
if (e1==e2 and e3==e4) or (e1==e3 and e2==e4) or (e1==e4 and e2==e3) :
print('yes')
else :
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,310 |
s582514442 | p00340 | u662362547 | 1592268820 | Python | Python3 | py | Accepted | 20 | 5596 | 219 | e1,e2,e3,e4=map(int,input().split())
if e1==e2 and e3==e4:
print('yes')
elif e1==e3 and e2==e4:
print('yes')
elif e1==e4 and e2==e3:
print('yes')
elif e1==e2==e3==e4:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,311 |
s139259693 | p00340 | u413645175 | 1592197718 | Python | Python3 | py | Accepted | 20 | 5596 | 180 | a, b, c, d, = map(int, input().split())
if a==b and c==d:
print('yes')
elif b==c and a==d:
print('yes')
elif a==c and b==d:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,312 |
s564936143 | p00340 | u421274895 | 1591760169 | Python | Python3 | py | Accepted | 20 | 5596 | 232 | e1,e2,e3,e4=map(int,input().split())
if e1==e2 and e3==e4:
print("yes")
elif e1==e3 and e2==e4:
print("yes")
elif e1==e4 and e2==e3:
print("yes")
elif e1==e2 and e1==e3 and e1==e4:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,313 |
s179745239 | p00340 | u706683821 | 1591665431 | Python | Python3 | py | Accepted | 20 | 5600 | 247 | a,b,c,d=map(int,input().split())
n=4
x=[a,b,c,d]
for j in range(n-1,1,-1):
for i in range(j):
if x[i]>x[i+1]:
x[i], x[i+1] = x[i+1], x[i]
if x[0]==x[1] and x[2]==x[3]:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,314 |
s250455645 | p00340 | u453677662 | 1591665329 | Python | Python3 | py | Accepted | 20 | 5596 | 164 | a,b,c,d=map(int,input().split())
if a==b and c==d:
print("yes")
elif a==c and b==d:
print("yes")
elif a==d and b==c:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,315 |
s290650058 | p00340 | u799076010 | 1591663154 | Python | Python3 | py | Accepted | 20 | 5596 | 186 | e1,e2,e3,e4=map(int,input().split())
if (e1==e2 and e3==e4):
print('yes')
elif (e1==e3 and e2==e4):
print('yes')
elif (e1==e4 and e2==e3):
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,316 |
s462546707 | p00340 | u633358233 | 1591656978 | Python | Python3 | py | Accepted | 20 | 5596 | 200 | a,b,c,d = map(int,input().split())
if a==b and c==d:
print('yes')
elif a==c and b==d:
print('yes')
elif a==d and b==c:
print('yes')
elif a==b==c==d:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,317 |
s886810992 | p00340 | u167524059 | 1591596531 | Python | Python3 | py | Accepted | 20 | 5604 | 119 | e1,e2,e3,e4 = sorted([int(s) for s in input().split()])
if e1==e2 and e3==e4:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,318 |
s993935822 | p00340 | u635020217 | 1591595218 | Python | Python3 | py | Accepted | 20 | 5600 | 233 | # coding: utf-8
# Your code here!
e1,e2,e3,e4 = map(int,input().split())
if(e1 == e2 and e3 == e4):
print("yes")
elif(e2 == e3 and e1 == e4):
print("yes")
elif(e1 == e3 and e2 == e4):
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,319 |
s020141463 | p00340 | u826807985 | 1591591126 | Python | Python3 | py | Accepted | 20 | 5596 | 364 | a,b,c,d = map(int,input().split())
if a==b:
if c==d:
print("yes")
else:
print("no")
elif b==c:
if a==d:
print("yes")
else:
print("no")
elif c==d:
if a==b:
print("yes")
else:
print("no")
elif a==d:
if b==c:
print("yes")
else:
... | p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,320 |
s487961020 | p00340 | u293306835 | 1591451474 | Python | Python3 | py | Accepted | 20 | 5596 | 146 | e1,e2,e3,e4=map(int,input().split())
if (e1==e2 and e3==e4) or (e1==e3 and e2==e4) or (e1==e4 and e2==e3):
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,321 |
s825746979 | p00340 | u082412851 | 1591109994 | Python | Python3 | py | Accepted | 20 | 5596 | 182 | e1,e2,e3,e4 = map(int,input().split())
if e1==e2 and e3==e4:
print("yes")
elif e1==e3 and e2==e4:
print("yes")
elif e1==e4 and e2==e3:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,322 |
s460901902 | p00340 | u799016206 | 1591059054 | Python | Python3 | py | Accepted | 30 | 5596 | 143 | e1,e2,e3,e4=map(int,input().split())
if e1==e2 and e3==e4 or e1==e3 and e2==e4 or e1==e4 and e2==e3 :
print("yes")
else :
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,323 |
s840253913 | p00340 | u329155726 | 1591009291 | Python | Python3 | py | Accepted | 20 | 5596 | 192 | a, b, c, d = map(int, input().split())
if(a == b) and (c == d):
print("yes")
elif(a == c) and (b == d):
print("yes")
elif(a == d) and (b == c):
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,324 |
s404819050 | p00340 | u319403848 | 1591000666 | Python | Python3 | py | Accepted | 20 | 5596 | 188 | e1, e2, e3, e4=map(int, input().split())
if e1 == e2 and e3 == e4:
print("yes")
elif e1 == e3 and e2 == e4:
print("yes")
elif e1 == e4 and e2 == e3:
print("yes")
else:
print("no")
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,325 |
s557108077 | p00340 | u118506623 | 1590994814 | Python | Python3 | py | Accepted | 20 | 5596 | 198 | e1, e2, e3, e4 = map(int,input().split())
if e1 == e2 and e3 == e4:
print('yes')
elif e2 == e3 and e4 == e1:
print('yes')
elif e3 == e1 and e2 == e4:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,326 |
s021971069 | p00340 | u900012957 | 1590991592 | Python | Python3 | py | Accepted | 20 | 5592 | 138 | a,b,c,d = map(int,input().split())
if a == b and c == d or a == c and b == d or a == d and b == c:
print('yes')
else:
print('no')
| p00340 |
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
<H1>長方形 </H1>
<p>
アイヅ放送協会の教育番組(AHK教育)では、子ど... | 1 1 3 4
| no
| 18,327 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.