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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s713489806 | p00340 | u799752967 | 1588737641 | Python | Python3 | py | Accepted | 20 | 5596 | 278 | a,b,c,d=map(int,input().split())
if a==b:
if c==d:
print("yes")
else:
print("no")
elif a==c:
if b==d:
print("yes")
else:
print("no")
elif a==d:
if b==c:
print("yes")
else:
print("no")
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,428 |
s878585745 | p00340 | u177648086 | 1588698854 | Python | Python3 | py | Accepted | 20 | 5596 | 177 | 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,429 |
s103067071 | p00340 | u470391435 | 1588688927 | Python | Python3 | py | Accepted | 20 | 5596 | 152 | 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,430 |
s133262523 | p00340 | u128671689 | 1588646798 | Python | Python3 | py | Accepted | 30 | 5596 | 219 | e1,e2,e3,e4=map(int,input().split())
if e1==e2==e3==e4:
print("yes")
elif 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,431 |
s911930976 | p00340 | u884758681 | 1588642420 | Python | Python3 | py | Accepted | 20 | 5596 | 218 | e1,e2,e3,e4=map(int,input().split())
if e1==e2==e3==e4:
print('yes')
elif 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,432 |
s173089052 | p00340 | u647921435 | 1588641907 | Python | Python3 | py | Accepted | 20 | 5596 | 219 | e1,e2,e3,e4=map(int,input().split())
if e1==e2==e3==e4:
print("yes")
elif 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,433 |
s386366484 | p00340 | u173393391 | 1588601296 | Python | Python3 | py | Accepted | 20 | 5592 | 166 | 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) or (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,434 |
s766889095 | p00340 | u288578617 | 1588599425 | 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,435 |
s220719946 | p00340 | u926092389 | 1588566582 | Python | Python3 | py | Accepted | 20 | 5596 | 219 | 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('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,436 |
s430839172 | p00340 | u057249340 | 1588466469 | Python | Python3 | py | Accepted | 20 | 5600 | 314 | # coding: utf-8
# Your code here!
a,b,c,d=map(int, input().split())
if a==b:
if c==d:
print("yes")
else:
print("no")
elif a==c:
if b==d:
print("yes")
else:
print("no")
elif a==d:
if b==c:
print("yes")
else:
print("no")
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,437 |
s362910894 | p00340 | u435414815 | 1588436383 | Python | Python3 | py | Accepted | 20 | 5596 | 204 | a,b,c,d =input().split()
if int(a)==int(b) and int(c)==int(d) : print("yes")
elif int(c)==int(b) and int(a)==int(d) : print("yes")
elif int(c)==int(a) and int(b)==int(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,438 |
s929236668 | p00340 | u014861569 | 1588363525 | Python | Python3 | py | Accepted | 20 | 5596 | 618 | e1,e2,e3,e4=input().split()
e1=int(e1)
e2=int(e2)
e3=int(e3)
e4=int(e4)
if e1==e2 and e1==e3 and e1==e4:
print("yes")
elif e1==e2:
if e3==e4:
print("yes")
else:
print("no")
elif e1==e3:
if e2==e4:
print("yes")
else:
print("no")
elif e1==e4:
if e3==e2:
prin... | 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,439 |
s803986467 | p00340 | u037441960 | 1587994080 | Python | Python3 | py | Accepted | 20 | 5600 | 220 | e1, e2, e3, e4 = map(int, input().split())
E = [e1, e2, e3, e4]
e = set(E)
e_list = list(e)
if len(e) == 2 :
if E.count(e_list[0]) == 2 :
print("yes")
else :
print("no")
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,440 |
s307696352 | p00340 | u814278309 | 1587813086 | Python | Python3 | py | Accepted | 20 | 5596 | 135 | 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,441 |
s086171859 | p00340 | u153447291 | 1574078388 | Python | Python3 | py | Accepted | 20 | 5596 | 115 | a = list(map(int,input().split()))
a.sort()
if a[0]==a[1] and a[2] == a[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,442 |
s411628701 | p00340 | u350155409 | 1573304816 | Python | Python3 | py | Accepted | 20 | 5604 | 118 | 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,443 |
s385042129 | p00340 | u678843586 | 1564904244 | Python | Python3 | py | Accepted | 20 | 5592 | 76 | 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,444 |
s156334511 | p00340 | u847360154 | 1564461712 | 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,445 |
s259780128 | p00340 | u480501638 | 1563170111 | Python | Python3 | py | Accepted | 20 | 5596 | 170 | 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,446 |
s672115886 | p00340 | u800408401 | 1563170070 | Python | Python3 | py | Accepted | 20 | 5596 | 170 | 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,447 |
s928040735 | p00340 | u616775713 | 1561177316 | Python | Python3 | py | Accepted | 20 | 5596 | 126 | lis = list(map(int,input().split()))
lis.sort()
if lis[0] == lis[1] and lis[2] == lis[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,448 |
s708875817 | p00340 | u853158149 | 1561103039 | Python | Python3 | py | Accepted | 40 | 8240 | 1,275 | #!usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.... | 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,449 |
s405970976 | p00340 | u043254318 | 1558456439 | Python | Python3 | py | Accepted | 20 | 5600 | 127 | a = [int(i) for i in input().split()]
a.sort()
if a[0] == a[1] and a[2] == a[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,450 |
s481890473 | p00340 | u435226340 | 1546923549 | Python | Python3 | py | Accepted | 20 | 5592 | 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,451 |
s008169824 | p00341 | u811773570 | 1483374844 | Python | Python3 | py | Accepted | 20 | 7688 | 324 | e = list(map(int, input().split()))
e.sort()
frag = True
for i in range(1, 4):
if e[0] != e[i]:
frag = False
break
for i in range(5, 8):
if e[4] != e[i]:
frag = False
break
for i in range(9, 12):
if e[8] != e[i]:
frag = False
break
print("yes" if frag else "... | p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,452 |
s899519789 | p00341 | u078042885 | 1483506205 | Python | Python3 | py | Accepted | 20 | 7688 | 173 | a=[0]*100
b=list(map(int,input().split()))
for i in range(12):
a[b[i]-1]+=1
c=0
for i in range(100):
if a[i] and a[i]%4==0: c+=a[i]//4
print('yes' if c==3 else 'no') | p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,453 |
s820496292 | p00341 | u546285759 | 1486292095 | Python | Python3 | py | Accepted | 30 | 7684 | 122 | e= sorted(list(map(int, input().split())))
print("yes" if len(set(e[:4]))==len(set(e[4:8]))==len(set(e[8:]))==1 else "no") | p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,454 |
s739885849 | p00341 | u350064373 | 1501505811 | Python | Python3 | py | Accepted | 20 | 7660 | 180 | ls = list(map(int, input().split()))
ls.sort()
if ls[0]==ls[1]==ls[2]==ls[3] and ls[4]==ls[5]==ls[6]==ls[7] and ls[8]==ls[9]==ls[10]==ls[11]:
print('yes')
else:
print('no') | p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,455 |
s173226236 | p00341 | u498511622 | 1501506036 | Python | Python3 | py | Accepted | 30 | 7416 | 150 | l=list(input().split())
l.sort()
if l[0]==l[1]==l[2]==l[3] and l[4]==l[5]==l[6]==l[7]and l[8]==l[9]==l[10]==l[11]:
print('yes')
else:
print('no') | p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,456 |
s641249280 | p00341 | u546285759 | 1503212384 | Python | Python3 | py | Accepted | 20 | 7636 | 123 | e = sorted(map(int, input().split()))
print("yes" if len(set(e[:4])) == len(set(e[4:8])) == len(set(e[8:])) == 1 else "no") | p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,457 |
s978458664 | p00341 | u724548524 | 1526976078 | Python | Python3 | py | Accepted | 20 | 5596 | 111 | a = sorted(map(int,input().split()))
print("yes" if a[0] == a[3] and a[4] == a[7] and a[8] == a[11] else "no")
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,458 |
s002867313 | p00341 | u352394527 | 1529915995 | Python | Python3 | py | Accepted | 20 | 5596 | 139 | lst = sorted(map(int, input().split()))
if lst[0] == lst[3] and lst[4] == lst[7] and lst[8] == lst[11]:
print("yes")
else:
print("no")
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,459 |
s567721684 | p00341 | u019169314 | 1530684372 | Python | Python3 | py | Accepted | 20 | 5596 | 240 | li = list(map(int,input().split()))
so = sorted(li)
a = so[0]
b = so[4]
c = so[8]
for n in so[:4]:
res1= a==n
for n in so[4:8]:
res2= b==n
for n in so[8:]:
res3= c==n
res = 'yes' if res1 and res3 and res2 else 'no'
print(res)
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,460 |
s995650236 | p00341 | u842461513 | 1591346499 | Python | Python3 | py | Accepted | 20 | 5596 | 329 | #標準入力
l = list(map(int,input().split()))
#リストを小さい順に並べる
l.sort()
#4辺を1人組とし、1組の辺が全て同じであれば"yes"でなければ"no"を出力する
if l[0] == l[1] == l[2] == l[3] and l[4] == l[5] == l[6] == l[7] and l[8] == l[9] == l[10] == l[11]:print("yes")
else:print("no")
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,461 |
s921823605 | p00341 | u240091169 | 1588515732 | Python | Python3 | py | Accepted | 20 | 5596 | 201 | data = list(map(int, input().split()))
data.sort()
ans = "yes"
for i in range(0, 12, 4) :
if data[i] != data[i+1] or data[i] != data[i+2] or data[i] != data[i+3] :
ans = "no"
print(ans)
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,462 |
s435403879 | p00341 | u043254318 | 1558456662 | Python | Python3 | py | Accepted | 20 | 5604 | 250 |
a = [int(i) for i in input().split()]
a.sort()
if a[0] == a[1] and a[1] == a[2] and a[2] == a[3] and a[4] == a[5] and a[5] == a[6] and a[6] == a[7] and a[8] == a[9] and a[9] == a[10] and a[10] == a[11]:
print("yes")
else:
print("no")
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,463 |
s257888231 | p00341 | u435226340 | 1552206848 | Python | Python3 | py | Accepted | 20 | 5596 | 114 | e = sorted(map(int, input().split()))
print("yes" if e[0] == e[3] and e[4] == e[7] and e[8] == e[11] else "no")
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,464 |
s294577414 | p00341 | u623996423 | 1541481730 | Python | Python3 | py | Accepted | 20 | 5568 | 99 | x = input().split()
print('yes' if all([x.count(x[i]) % 4 == 0 for i in range(len(x))]) else 'no')
| p00341 |
<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 8 9 7 3 4 5 5 5
| no
| 18,465 |
s733044099 | p00343 | u260980560 | 1501322839 | Python | Python3 | py | Accepted | 30 | 7796 | 801 | n = int(input())
for i in range(n):
F = set(map(int, input().split()))
fl = min(F); fr = max(F)
G = {i for i in range(1, 14)} - F - {7}
gl = min(G); gr = max(G)
memo = {}
def dfs(s, t, u):
if (s, t, u) in memo:
return memo[s, t, u]
T = [G, F][u]
res = 0
... | p00343 |
<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>必勝7並べ </H1>
<p>
トランプを使ったゲームに「7並べ」があります... | 5
1 2 3 4 5 6
1 3 5 6 8 4
1 2 3 4 5 8
1 2 4 5 10 11
1 2 3 6 9 11
| yes
yes
no
yes
no
| 18,472 |
s271872037 | p00343 | u352394527 | 1543690307 | Python | Python3 | py | Accepted | 30 | 5616 | 1,204 | def search(a_cards, b_cards, left, right, turn):
#print(a_cards, b_cards, left, right, turn)
if a_cards == []:
return True
if b_cards == []:
return False
ret = False
if turn == 0:
if left not in a_cards and right not in a_cards:
return search(a_cards, b_cards, left, right, 1)
if left in... | p00343 |
<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>必勝7並べ </H1>
<p>
トランプを使ったゲームに「7並べ」があります... | 5
1 2 3 4 5 6
1 3 5 6 8 4
1 2 3 4 5 8
1 2 4 5 10 11
1 2 3 6 9 11
| yes
yes
no
yes
no
| 18,473 |
s503939409 | p00345 | u260980560 | 1501330112 | Python | Python3 | py | Accepted | 30 | 7780 | 611 | def gcd(m, n):
r = m % n
return gcd(n, r) if r else n
def f(v):
d = v.find(".")
if d == -1:
return int(v), 1
a = int(v[:d]+v[d+1:])
n = 10**(len(v)-d-1)
if a == 0:
return 0, 1
g = gcd(n, a)
return int(a/g), int(n/g)
s = input()
d = s.find(".")
l = s.find("(")
r = s.fi... | p00345 |
<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.(3)
| 1/3
| 18,474 |
s643481621 | p00345 | u352394527 | 1529931657 | Python | Python3 | py | Accepted | 20 | 5664 | 494 | from math import gcd
s = input()
x, y = s.split(".")
if "(" in s:
da = y.index("(")
db = y.index(")") - 1
ya, b = y.split("(")
lb = len(b) - 1
a = int(x + ya)
b = int(b[:-1])
deco = a * (10 ** db - 10 ** (db - lb)) + b * 10 ** da
nume = 10 ** da * (10 ** db - 10 ** (db - lb))
div = gcd(deco, nume)
... | p00345 |
<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.(3)
| 1/3
| 18,475 |
s036101345 | p00345 | u435226340 | 1587817118 | Python | Python3 | py | Accepted | 20 | 5600 | 468 | def gcd(x, y):
return gcd(y, x%y) if y else x
def printV(x, y):
g = gcd(x, y)
print(str(x//g) + "/" + str(y//g))
S = input()
all = ""
sub = ""
p = -1
for i in range(len(S)):
if S[i] == '.':
o = i
elif S[i] == '(':
p = i
sub = all
elif S[i] != ')':
all += S[i]
... | p00345 |
<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.(3)
| 1/3
| 18,476 |
s120401046 | p00345 | u282089342 | 1561104999 | Python | Python3 | py | Accepted | 20 | 5668 | 398 | from math import gcd
def solve(p, q):
GCD = gcd(p, q)
p = p // GCD
q = q // GCD
print(p, q, sep="/")
s = input()
x, y = s.split('.')
if(y[-1] != ')'):
p = int(x) * pow(10, len(y)) + int(y)
q = pow(10, len(y))
solve(p, q)
else:
y, z = y.split('(')[0], y.split('(')[1][:-1]
a = int... | p00345 |
<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.(3)
| 1/3
| 18,477 |
s409502964 | p00345 | u853158149 | 1561104780 | Python | Python3 | py | Accepted | 40 | 8212 | 2,451 | #!usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.... | p00345 |
<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.(3)
| 1/3
| 18,478 |
s024225545 | p00352 | u843508808 | 1534743072 | Python | Python3 | py | Accepted | 20 | 5580 | 49 | a, b = map(int, input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,479 |
s448453236 | p00352 | u990228206 | 1551433788 | Python | Python3 | py | Accepted | 20 | 5584 | 55 | a,b=list(map(int,input().split()))
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,480 |
s180887517 | p00352 | u814278309 | 1559132579 | Python | Python3 | py | Accepted | 20 | 5584 | 53 | a,b=map(int,input().split())
c=(a+b)/2
print(int(c))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,481 |
s629719502 | p00352 | u116766943 | 1506238429 | Python | Python3 | py | Accepted | 30 | 7676 | 46 | a,b = map(int,input().split())
print((a+b)//2) | p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,482 |
s355232993 | p00352 | u855694108 | 1506664830 | Python | Python3 | py | Accepted | 20 | 7772 | 114 | def main():
a,b = map(int, input().split())
print(int((a + b) / 2))
if __name__ == "__main__":
main() | p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,483 |
s766357686 | p00352 | u231562319 | 1506979142 | Python | Python3 | py | Accepted | 30 | 7700 | 46 | a,b = map(int,input().split())
print((a+b)//2) | p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,484 |
s288456360 | p00352 | u546285759 | 1507003950 | Python | Python3 | py | Accepted | 20 | 7684 | 42 | print(sum(map(int, input().split())) // 2) | p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,485 |
s564979313 | p00352 | u529013669 | 1508407621 | Python | Python3 | py | Accepted | 30 | 7688 | 43 | print(int(sum(map(int,input().split()))/2)) | p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,486 |
s841147161 | p00352 | u737311644 | 1516349682 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,487 |
s689659368 | p00352 | u724548524 | 1523345466 | Python | Python3 | py | Accepted | 20 | 5580 | 44 | print(int(sum(map(int,input().split()))/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,488 |
s688696226 | p00352 | u781622789 | 1523975004 | Python | Python3 | py | Accepted | 20 | 5584 | 56 | a,b = map(int,list(input().split(" ")))
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,489 |
s114497325 | p00352 | u480716860 | 1525008380 | Python | Python3 | py | Accepted | 20 | 5580 | 51 | a, b = map(int, input().split())
print((a + b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,490 |
s656493589 | p00352 | u777277984 | 1527645093 | Python | Python3 | py | Accepted | 30 | 5580 | 54 | a, b = map(int, input().split())
print((a + b) // 2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,491 |
s464181946 | p00352 | u568446716 | 1529169667 | Python | Python3 | py | Accepted | 20 | 5584 | 54 | a, b = map(int, input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,492 |
s742216870 | p00352 | u108948964 | 1529236162 | Python | Python3 | py | Accepted | 20 | 5580 | 56 | a, b = map(int, input().split())
print((a + b) // 2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,493 |
s042933566 | p00352 | u108948964 | 1529236184 | Python | Python3 | py | Accepted | 20 | 5580 | 54 | a, b = map(int, input().split())
print((a + b) // 2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,494 |
s004860977 | p00352 | u548155360 | 1529927627 | Python | Python3 | py | Accepted | 20 | 5584 | 66 | # coding=utf-8
a, b = map(int, input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,495 |
s305829646 | p00352 | u352394527 | 1529935804 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | print(sum(map(int,input().split()))//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,496 |
s641375300 | p00352 | u365131854 | 1597749674 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,497 |
s584215033 | p00352 | u430159711 | 1597654851 | Python | Python3 | py | Accepted | 20 | 5596 | 56 |
a,b=(int(x) for x in input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,498 |
s341903360 | p00352 | u342624490 | 1596972079 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,499 |
s230081846 | p00352 | u779523319 | 1596698861 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,500 |
s618265250 | p00352 | u461381803 | 1596683779 | Python | Python3 | py | Accepted | 20 | 5584 | 72 | a, b = map(int, input().split())
money = int((a + b) / 2)
print(money)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,501 |
s564566263 | p00352 | u250040203 | 1596438646 | Python | Python3 | py | Accepted | 20 | 5592 | 73 | a,b = input().split()
a = int(a)
b = int(b)
c = (a + b) /2
print(int(c))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,502 |
s849268425 | p00352 | u476754031 | 1596393162 | Python | Python3 | py | Accepted | 20 | 5584 | 49 | a,b=map(int,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,503 |
s280748437 | p00352 | u885258138 | 1596175444 | Python | Python3 | py | Accepted | 20 | 5584 | 51 | a,b=map(int,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,504 |
s755699467 | p00352 | u878828646 | 1596096082 | Python | Python3 | py | Accepted | 20 | 5596 | 55 | a,b=(int(x) for x in input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,505 |
s494673092 | p00352 | u326077502 | 1595895723 | Python | Python3 | py | Accepted | 20 | 5588 | 106 | a,b=map(int,input().split())
if 1000<=a<=50000 and 1000<=b<=50000:
print(int((a+b)/2))
else:
pass
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,506 |
s631417696 | p00352 | u854654878 | 1595656995 | Python | Python3 | py | Accepted | 20 | 5600 | 51 | a,b=map(int,input().split())
print(int((a+b)*0.5))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,507 |
s294655334 | p00352 | u782152619 | 1594687774 | Python | Python3 | py | Accepted | 20 | 5580 | 49 | a, b = map(int, input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,508 |
s359942721 | p00352 | u548184870 | 1594279737 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | print(sum(map(int,input().split()))//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,509 |
s665773046 | p00352 | u659772967 | 1594191172 | Python | Python3 | py | Accepted | 20 | 5584 | 49 | a,b=map(int,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,510 |
s506817554 | p00352 | u286298310 | 1593316837 | Python | Python3 | py | Accepted | 20 | 5584 | 52 | a,b= map(int,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,511 |
s937736296 | p00352 | u860145523 | 1592552598 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,512 |
s072459279 | p00352 | u096166741 | 1592552204 | Python | Python3 | py | Accepted | 20 | 5580 | 46 | a,b=map(int,input().split())
print ((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,513 |
s568926398 | p00352 | u580596673 | 1592552033 | Python | Python3 | py | Accepted | 20 | 5584 | 55 | a,b=map(int,input().split())
c=a+b
d=int(c/2)
print(d)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,514 |
s922931674 | p00352 | u930644970 | 1592357019 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,515 |
s834359845 | p00352 | u179629761 | 1592273183 | Python | Python3 | py | Accepted | 20 | 5584 | 49 | a,b=map(int,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,516 |
s172899804 | p00352 | u896809383 | 1592203535 | Python | Python3 | py | Accepted | 20 | 5576 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,517 |
s498719279 | p00352 | u940828136 | 1592200275 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,518 |
s998960309 | p00352 | u596129030 | 1591600845 | Python | Python3 | py | Accepted | 20 | 5584 | 49 | a,b=map(int,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,519 |
s116696295 | p00352 | u632910712 | 1591592422 | Python | Python3 | py | Accepted | 20 | 5568 | 52 | a,b=map(float,input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,520 |
s770109886 | p00352 | u662362547 | 1591060685 | Python | Python3 | py | Accepted | 20 | 5596 | 61 | a,b=map(int,input().split())
print('{:.0f}'.format((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,521 |
s986746675 | p00352 | u293306835 | 1591059486 | Python | Python3 | py | Accepted | 20 | 5588 | 106 | a,b=map(int,input().split())
if 1000<=a<=50000 and 1000<=b<=50000:
print(int((a+b)/2))
else:
pass
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,522 |
s652339214 | p00352 | u762022668 | 1590986600 | Python | Python3 | py | Accepted | 20 | 5576 | 47 | a,b = map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,523 |
s690574752 | p00352 | u573698742 | 1590385584 | Python | Python3 | py | Accepted | 30 | 5584 | 50 | a,b=map(int, input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,524 |
s448955465 | p00352 | u925445050 | 1590383373 | Python | Python3 | py | Accepted | 20 | 5580 | 46 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,525 |
s402325045 | p00352 | u826807985 | 1590383006 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,526 |
s713550361 | p00352 | u189528630 | 1590371743 | Python | Python3 | py | Accepted | 20 | 5580 | 46 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,527 |
s612000089 | p00352 | u329155726 | 1590247557 | Python | Python3 | py | Accepted | 20 | 5584 | 55 | a, b = map(int, input().split())
print(int((a+b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,528 |
s835079868 | p00352 | u251716708 | 1590118536 | Python | Python3 | py | Accepted | 20 | 5584 | 81 | # coding: utf-8
# Your code here!
a,b = map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,529 |
s459365994 | p00352 | u924938296 | 1590045085 | Python | Python3 | py | Accepted | 20 | 5656 | 72 | import math
a,b = map(int,input().split())
print(math.floor((a + b)/2))
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,530 |
s271049971 | p00352 | u100874602 | 1589983153 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,531 |
s236618325 | p00352 | u852547520 | 1589874931 | Python | Python3 | py | Accepted | 20 | 5580 | 46 | a,b=map(int,input().split())
print((a+b)//2)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,532 |
s815069694 | p00352 | u257570657 | 1589863750 | Python | Python3 | py | Accepted | 20 | 5584 | 88 | #!/usr/bin/python3
# coding: utf-8
a,b = map(int,input().split())
s = (a+b)//2
print(s)
| p00352 |
<H1>Handsel</H1>
<!-- New Year’s gift money -->
<p>
Alice and Brown are brothers in a family and each receives pocket money in celebration of the coming year. They are very close and share the total amount of the money fifty-fifty. The pocket money each receives is a multiple of 1,000 yen.
</p>
<p>
Write a progr... | 1000 3000
| 2000
| 18,533 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.