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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s636938341 | p00311 | u492405338 | 1576681722 | Python | Python3 | py | Accepted | 20 | 5604 | 299 | h1, h2 = [int(_) for _ in input().split()]
k1, k2 = [int(_) for _ in input().split()]
a, b, c, d = [int(_) for _ in input().split()]
s = (h1-k1)*a + (h2-k2)*b + ((h1//10)-(k1//10))*c + ((h2//20)-(k2//20))*d
if s > 0:
print('hiroshi')
elif s < 0:
print('kenjiro')
else:
print('even')
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,828 |
s194715081 | p00311 | u153447291 | 1576477432 | Python | Python3 | py | Accepted | 20 | 5596 | 253 | h1,h2 = map(int,input().split())
k1,k2 = map(int,input().split())
a,b,c,d = map(int,input().split())
h = h1*a+h2*b+h1//10*c+h2//20*d
k = k1*a+k2*b+k1//10*c+k2//20*d
if h < k:
print("kenjiro")
elif h > k:
print("hiroshi")
else:
print("even")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,829 |
s562323706 | p00311 | u829695570 | 1576419633 | Python | Python3 | py | Accepted | 20 | 5596 | 274 | h1, h2 = map(int, input().split())
k1, k2 = map(int, input().split())
a, b, c, d = map(int, input().split())
h = h1*a + h2*b + h1//10*c + h2//20*d
k = k1*a + k2*b + k1//10*c + k2//20*d
if h > k:
print('hiroshi')
elif h == k:
print('even')
else:
print('kenjiro')
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,830 |
s873360704 | p00311 | u250040203 | 1564920967 | Python | Python3 | py | Accepted | 20 | 5596 | 280 | hi,hy=map(int,input().split())
ki,ky=map(int,input().split())
a,b,c,d=map(int,input().split())
ha=int(hi/10)
hb=int(hy/20)
ka=int(ki/10)
kb=int(ky/20)
H=hi*a+hy*b+ha*c+hb*d
K=ki*a+ky*b+ka*c+kb*d
if H>K:
print("hiroshi")
elif H==K:
print("even")
else:
print("kenjiro")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,831 |
s742025968 | p00311 | u433250944 | 1564843115 | Python | Python3 | py | Accepted | 20 | 5600 | 330 | h1,h2=map(int,input().split())
k1,k2=map(int,input().split())
a,b,c,d=map(int,input().split())
ha, hb,ka,kb = h1*a, h2*b, k1*a, k2*b
h10, h20, k10, k20 = h1//10*c, h2//20*d, k1//10*c, k2//20*d
H, K = ha + hb + h10 + h20, ka + kb + k10 + k20
if H > K:
print("hiroshi")
elif K > H:
print("kenjiro")
else:
prin... | p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,832 |
s378738328 | p00311 | u800408401 | 1564836098 | Python | Python3 | py | Accepted | 20 | 5596 | 251 | h,i = map(int,input().split(" "))
k,j = map(int,input().split(" "))
a,b,c,d = map(int,input().split(" "))
s=h*a+i*b+(h//10)*c+(i//20)*d
r=k*a+j*b+(k//10)*c+(j//20)*d
if s > r:
print("hiroshi")
elif s == r:
print("even")
else:
print("kenjiro")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,833 |
s450833720 | p00311 | u120055135 | 1564637668 | Python | Python3 | py | Accepted | 20 | 5596 | 460 | h1, h2 = map(int,input().split())
k1, k2 = map(int,input().split())
a, b, c, d = map(int,input().split())
if h1 > 9:
hn = int(h1/10)
else:
hn = 0
if h2 > 19:
hm = int(h1/20)
else:
hm = 0
if k1 > 9:
kn = int(k1/10)
else:
kn = 0
if k2 > 19:
km = int(k2/20)
else:
km = 0
h = h1*a + hn*... | p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,834 |
s486010589 | p00311 | u607723579 | 1564636369 | Python | Python3 | py | Accepted | 20 | 5596 | 331 | h1, h2 = map(int, input().split())
k1, k2 = map(int, input().split())
a, b, c, d = map(int, input().split())
hiroshi = h1 * a + (h1//10) * c + h2 * b + (h2//20) * d
kenjiro = k1 * a + (k1//10) * c + k2 * b + (k2//20) * d
if hiroshi > kenjiro:
print("hiroshi")
elif hiroshi < kenjiro:
print("kenjiro")
else:
pri... | p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,835 |
s114036181 | p00311 | u312033355 | 1563598451 | Python | Python3 | py | Accepted | 20 | 5596 | 253 | h1,h2=map(int,input().split())
k1,k2=map(int,input().split())
a,b,c,d=map(int,input().split())
hp=h1*a+h2*b+(h1//10)*c+(h2//20)*d
kp=k1*a+k2*b+(k1//10)*c+(k2//20)*d
if hp>kp:
print("hiroshi")
elif kp>hp:
print("kenjiro")
else:
print("even")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,836 |
s334100080 | p00311 | u939401108 | 1563037778 | Python | Python3 | py | Accepted | 20 | 5596 | 329 | h1, h2 = map(int, input().split())
k1, k2 = map(int, input().split())
a, b, c, d = map(int, input().split())
hiroshi = h1 * a + (h1//10) * c + h2 * b + (h2//20) * d
kenjiro = k1 * a + (k1//10) * c + k2 * b + (k2//20) * d
if hiroshi > kenjiro:
print("hiroshi")
elif hiroshi < kenjiro:
print("kenjiro")
else:
print... | p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,837 |
s141821374 | p00311 | u726971073 | 1562655807 | Python | Python3 | py | Accepted | 20 | 5604 | 274 | h, k = [list(map(int, input().split())) for i in range(2)]
a, b, aa, bb = map(int, input().split())
hp = h[0]*a + h[1]*b
hp += h[0]//10*aa + h[1]//20*bb
kp = k[0]*a + k[1]*b
kp += k[0]//10*aa + k[1]//20*bb
if kp!=hp: print("hkiernojsihrio"[kp>hp::2])
else: print("even")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,838 |
s586740868 | p00311 | u814278309 | 1561964401 | Python | Python3 | py | Accepted | 20 | 5596 | 242 | h1,h2=map(int,input().split())
k1,k2=map(int,input().split())
a,b,c,d=map(int,input().split())
x=h1*a+h2*b+(h1//10)*c+(h2//20)*d
y=k1*a+k2*b+(k1//10)*c+(k2//20)*d
if x==y:
print("even")
elif x<y:
print("kenjiro")
else:
print("hiroshi")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,839 |
s245847591 | p00311 | u006424459 | 1555171897 | Python | Python3 | py | Accepted | 20 | 5596 | 269 | h1,h2=map(int,input().split())
k1,k2=map(int,input().split())
a,b,c,d=map(int,input().split())
hiro=a*h1+b*h2+(h1//10)*c+(h2//20)*d
kenji=a*k1+b*k2+(k1//10)*c+(k2//20)*d
if hiro>kenji:
print("hiroshi")
elif hiro<kenji:
print("kenjiro")
else:
print("even")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,840 |
s834459192 | p00311 | u990228206 | 1551667432 | Python | Python3 | py | Accepted | 20 | 5596 | 253 | h1,h2=map(int,input().split())
k1,k2=map(int,input().split())
a,b,c,d=map(int,input().split())
hp=h1*a+h2*b+(h1//10)*c+(h2//20)*d
kp=k1*a+k2*b+(k1//10)*c+(k2//20)*d
if hp>kp:
print("hiroshi")
elif kp>hp:
print("kenjiro")
else:
print("even")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,841 |
s393132837 | p00311 | u717526540 | 1544160136 | Python | Python3 | py | Accepted | 30 | 5596 | 312 | h1, h2 = map(int, input().split())
k1, k2 = map(int, input().split())
a, b, c, d = map(int, input().split())
hiroshi = h1*a + h1//10*c + h2*b + h2//20*d
kenjiro = k1*a + k1//10*c + k2*b + k2//20*d
if hiroshi > kenjiro:
print("hiroshi")
elif hiroshi < kenjiro:
print("kenjiro")
else:
print("even")
| p00311 |
<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 1
3 1
1 2 5 5
| hiroshi
| 17,842 |
s674189127 | p00312 | u843508808 | 1535112315 | Python | Python3 | py | Accepted | 30 | 5580 | 55 | d, l = map(int, input().split())
print(d // l + d % l)
| p00312 |
<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 5
| 2
| 17,843 |
s033799676 | p00312 | u260980560 | 1499594639 | Python | Python | py | Accepted | 10 | 6416 | 50 | d, l = map(int, raw_input().split())
print d/l+d%l | p00312 |
<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 5
| 2
| 17,844 |
s598915346 | p00312 | u116766943 | 1499683195 | Python | Python3 | py | Accepted | 20 | 7668 | 53 | D,L=map(int,input().split())
print(D//L+(D-(D//L)*L)) | p00312 |
<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 5
| 2
| 17,845 |
s202972668 | p00312 | u350064373 | 1501687001 | Python | Python3 | py | Accepted | 20 | 7652 | 174 | D, L = map(int, input().split())
cm = count = 0
while True:
if D < cm + L:
count += D - cm
break
else:
cm += L
count += 1
print(count) | p00312 |
<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 5
| 2
| 17,846 |
s251643371 | p00312 | u498511622 | 1501687856 | Python | Python3 | py | Accepted | 30 | 7660 | 150 | D,L=map(int,input().split())
s = b = 0
while True:
if D < s + L:
b += D - s
break
else:
s += L
b += 1
print(b) | p00312 |
<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 5
| 2
| 17,847 |
s372471346 | p00312 | u214404619 | 1503120043 | Python | Python3 | py | Accepted | 20 | 7712 | 68 | [d, l] = [int(num) for num in input().split()]
print(d // l + d % l) | p00312 |
<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 5
| 2
| 17,848 |
s942313561 | p00312 | u231562319 | 1507385730 | Python | Python3 | py | Accepted | 20 | 7684 | 48 | D,L = map(int,input().split())
print(D//L + D%L) | p00312 |
<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 5
| 2
| 17,849 |
s249004109 | p00312 | u546285759 | 1507987263 | Python | Python3 | py | Accepted | 60 | 7704 | 57 | D, L = map(int, input().split())
print(sum(divmod(D, L))) | p00312 |
<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 5
| 2
| 17,850 |
s314196585 | p00312 | u546285759 | 1507987344 | Python | Python3 | py | Accepted | 40 | 7700 | 50 | D, L = map(int, input().split())
print(D//L + D%L) | p00312 |
<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 5
| 2
| 17,851 |
s040781004 | p00312 | u529013669 | 1508830431 | Python | Python3 | py | Accepted | 20 | 7764 | 133 | ins = [int(x) for x in input().split()]
if ins[0] < ins[1]:
print(ins[0])
else:
print(int(ins[0]/ins[1])+int(ins[0]%ins[1])) | p00312 |
<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 5
| 2
| 17,852 |
s176269045 | p00312 | u737311644 | 1520120122 | Python | Python3 | py | Accepted | 20 | 5584 | 57 | a,b=map(int,input().split())
c=a//b
d=a%b
e=c+d
print(e)
| p00312 |
<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 5
| 2
| 17,853 |
s822511883 | p00312 | u724548524 | 1526739889 | Python | Python3 | py | Accepted | 20 | 5580 | 55 | a, b = map(int, input().split())
print(a // b + a % b)
| p00312 |
<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 5
| 2
| 17,854 |
s627225335 | p00312 | u777277984 | 1527639975 | Python | Python3 | py | Accepted | 20 | 5584 | 61 | D, L = map(int, input().split())
print(D//L + (D - D//L*L))
| p00312 |
<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 5
| 2
| 17,855 |
s139715795 | p00312 | u352394527 | 1529863232 | Python | Python3 | py | Accepted | 20 | 5580 | 55 | d, l = map(int, input().split())
print(d // l + d % l)
| p00312 |
<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 5
| 2
| 17,856 |
s912155912 | p00312 | u548155360 | 1529991036 | Python | Python3 | py | Accepted | 20 | 5584 | 71 | # coding=utf-8
D, L = map(int, input().split())
print(D//L + D % L)
| p00312 |
<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 5
| 2
| 17,857 |
s585763417 | p00312 | u128671689 | 1597903910 | Python | Python3 | py | Accepted | 20 | 5584 | 53 | D,L=map(int,input().split())
x=D//L
y=D%L
print(x+y)
| p00312 |
<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 5
| 2
| 17,858 |
s167830713 | p00312 | u904289400 | 1597758896 | Python | Python3 | py | Accepted | 30 | 5592 | 76 | D,L=map(int,input().split())
i=0
while D>=L:
D=D-L
i+=1
i+=D
print(i)
| p00312 |
<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 5
| 2
| 17,859 |
s713267454 | p00312 | u512192552 | 1597745394 | Python | Python3 | py | Accepted | 20 | 5596 | 168 | D,L=map(int,input().split())
jump=0
while True:
if D<L:
break
D-=L
jump+=1
while True:
if D==0:
break
D-=1
jump+=1
print(jump)
| p00312 |
<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 5
| 2
| 17,860 |
s919641341 | p00312 | u593595530 | 1597717930 | Python | Python3 | py | Accepted | 20 | 5588 | 110 | # coding: utf-8
# Your code here!
D, L= map(int,input().split())
x = D // L
y = D % L
sum = x + y
print(sum)
| p00312 |
<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 5
| 2
| 17,861 |
s974054791 | p00312 | u988962397 | 1597681858 | Python | Python3 | py | Accepted | 20 | 5580 | 46 | d,l=map(int, input().split())
print(d//l+d%l)
| p00312 |
<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 5
| 2
| 17,862 |
s020034162 | p00312 | u140569607 | 1597674559 | Python | Python3 | py | Accepted | 20 | 5660 | 83 | import math
D,L = map(int, input().split())
c = D / L + D % L
print(math.floor(c))
| p00312 |
<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 5
| 2
| 17,863 |
s256084475 | p00312 | u320921262 | 1597560652 | Python | Python3 | py | Accepted | 20 | 5580 | 49 | D,L = map(int,input().split())
print(D//L + D%L)
| p00312 |
<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 5
| 2
| 17,864 |
s036943621 | p00312 | u288578617 | 1597508736 | Python | Python3 | py | Accepted | 20 | 5592 | 87 | D,L=map(int,input().split())
if D%L==0:
print(D//L)
else:
print((D//L)+(D%L))
| p00312 |
<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 5
| 2
| 17,865 |
s970725184 | p00312 | u695568874 | 1597286990 | Python | Python3 | py | Accepted | 20 | 5584 | 53 | d,l=map(int,input().split())
A=d//l
B=d%l
print(A+B)
| p00312 |
<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 5
| 2
| 17,866 |
s185427136 | p00312 | u583329397 | 1597222305 | Python | Python3 | py | Accepted | 20 | 5596 | 168 | D,L=map(int,input().split())
jump=0
while True:
if D<L:
break
D-=L
jump+=1
while True:
if D==0:
break
D-=1
jump+=1
print(jump)
| p00312 |
<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 5
| 2
| 17,867 |
s586140745 | p00312 | u461381803 | 1596722045 | Python | Python3 | py | Accepted | 20 | 5584 | 95 | D, L= map(int,input().split())
count1 = D // L
count2 = D % L
sum = count1 + count2
print(sum)
| p00312 |
<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 5
| 2
| 17,868 |
s867965609 | p00312 | u779523319 | 1596699060 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | D,L=map(int,input().split())
print(D//L+D%L)
| p00312 |
<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 5
| 2
| 17,869 |
s781961142 | p00312 | u795882061 | 1596546824 | Python | Python3 | py | Accepted | 30 | 5660 | 74 | import math
D, L = map(int,input().split())
print(math.floor(D/L + D%L))
| p00312 |
<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 5
| 2
| 17,870 |
s327291799 | p00312 | u630948380 | 1595901646 | Python | Python3 | py | Accepted | 20 | 5584 | 59 | D,L=map(int,input().split())
A=D//L
B=D-(L*A)
print(A+B)
| p00312 |
<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 5
| 2
| 17,871 |
s316660457 | p00312 | u511292942 | 1595816338 | Python | Python3 | py | Accepted | 20 | 5596 | 132 | d,l = map(int,input().split())
if d % l == 0:
ans = d // l
print(ans)
else:
a1 = d // l
a2 = d % l
print(a1+a2)
| p00312 |
<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 5
| 2
| 17,872 |
s126543718 | p00312 | u854654878 | 1595657633 | Python | Python3 | py | Accepted | 20 | 5584 | 50 | a,b=map(int,input().split())
print((a//b)+(a%b))
| p00312 |
<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 5
| 2
| 17,873 |
s864177726 | p00312 | u647921435 | 1595294569 | Python | Python3 | py | Accepted | 20 | 5584 | 57 | D,L=map(int,input().split())
a=D//L
b=D%L
s=a+b
print(s)
| p00312 |
<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 5
| 2
| 17,874 |
s939542740 | p00312 | u286298310 | 1595043688 | Python | Python3 | py | Accepted | 20 | 5648 | 75 | import math
d,l = map(int,input().split())
n = d//l
k = d%l
print(n+k)
| p00312 |
<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 5
| 2
| 17,875 |
s766163266 | p00312 | u548184870 | 1594892264 | Python | Python3 | py | Accepted | 20 | 5580 | 52 | D, L = map(int, input().split())
print((D//L)+D%L)
| p00312 |
<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 5
| 2
| 17,876 |
s087728299 | p00312 | u994684803 | 1594101667 | Python | Python3 | py | Accepted | 20 | 5584 | 61 | d,l = map(int,input().split())
a = d//l
b = d%l
print(a+b)
| p00312 |
<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 5
| 2
| 17,877 |
s331684592 | p00312 | u596129030 | 1593406122 | Python | Python3 | py | Accepted | 20 | 5584 | 49 | a,b=map(int,input().split())
print(int(a/b+a%b))
| p00312 |
<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 5
| 2
| 17,878 |
s147489035 | p00312 | u747915832 | 1592727314 | Python | Python3 | py | Accepted | 20 | 5596 | 134 | D, L = map(int, input().split())
if L<=D:
if D%L==0:
print(D//L)
else:
print( D//L + D%L)
else:
print(D)
| p00312 |
<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 5
| 2
| 17,879 |
s712662853 | p00312 | u792369084 | 1590840169 | Python | Python3 | py | Accepted | 20 | 5584 | 104 | D, L = list(map(int, input().split()))
bigJump = D // L
smallJump = D % L
print(bigJump + smallJump)
| p00312 |
<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 5
| 2
| 17,880 |
s888983774 | p00312 | u108112600 | 1589204085 | Python | Python3 | py | Accepted | 20 | 5584 | 68 | d, l = map(int, input().split())
q, r = divmod(d, l)
print(q + r)
| p00312 |
<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 5
| 2
| 17,881 |
s905361214 | p00312 | u842461513 | 1589100742 | Python | Python3 | py | Accepted | 20 | 5584 | 178 | a,b = map(int,input().split()) #標準入力
kei = a // b #大ジャンプ回数
kei += a - b * kei #小ジャンプ回数
print(kei) #大ジャンプと小ジャンプの合計
| p00312 |
<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 5
| 2
| 17,882 |
s515449139 | p00312 | u240091169 | 1589100456 | Python | Python3 | py | Accepted | 20 | 5588 | 65 | d, l = map(int, input().split())
s = int(d / l + d % l)
print(s)
| p00312 |
<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 5
| 2
| 17,883 |
s220076592 | p00312 | u056829778 | 1586761767 | Python | Python3 | py | Accepted | 20 | 5588 | 74 | d,l = list(map(int, input().split()))
a = l*(d//l)
print(d//l + (d - a))
| p00312 |
<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 5
| 2
| 17,884 |
s748707181 | p00312 | u374434600 | 1586696908 | Python | Python3 | py | Accepted | 20 | 5656 | 111 | import sys
import math
d,l=map(int,input().split())
ans=d//l
amr=d%l
if(amr != 0):
ans=ans+amr
print(ans)
| p00312 |
<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 5
| 2
| 17,885 |
s689353325 | p00312 | u585138240 | 1584881056 | Python | Python3 | py | Accepted | 20 | 5580 | 67 | i = input()
D,L = map(int,i.split())
a = D//L
b = D % L
print(a+b)
| p00312 |
<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 5
| 2
| 17,886 |
s211673435 | p00312 | u934460477 | 1580085638 | Python | Python3 | py | Accepted | 20 | 5596 | 102 | d,l=map(int,input().split())
if d/l==0:
print(d//l)
else:
x,y=divmod(d,l)
print(x+abs(y))
| p00312 |
<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 5
| 2
| 17,887 |
s667970409 | p00312 | u726971073 | 1579974169 | Python | Python3 | py | Accepted | 20 | 5580 | 46 | print(sum(divmod(*map(int,input().split()))))
| p00312 |
<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 5
| 2
| 17,888 |
s368420481 | p00312 | u153447291 | 1576477488 | Python | Python3 | py | Accepted | 20 | 5580 | 47 | a,b = map(int,input().split())
print(a//b+a%b)
| p00312 |
<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 5
| 2
| 17,889 |
s725600988 | p00312 | u829695570 | 1576419829 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | d,l=map(int,input().split())
print(d//l+d%l)
| p00312 |
<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 5
| 2
| 17,890 |
s521859225 | p00312 | u266412129 | 1574657602 | Python | Python3 | py | Accepted | 20 | 5592 | 80 | i = list(map(int,input().split()))
a = i[0] // i[1]
b = i[0] % i[1]
print(a+b)
| p00312 |
<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 5
| 2
| 17,891 |
s695850482 | p00312 | u694266085 | 1573329629 | Python | Python3 | py | Accepted | 20 | 5584 | 83 | len,jum = map(int,input().split())
lar = len // jum
sma = len % jum
print(lar+sma)
| p00312 |
<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 5
| 2
| 17,892 |
s228823496 | p00312 | u350155409 | 1573198043 | Python | Python3 | py | Accepted | 20 | 5596 | 57 | d,l = [ int(s) for s in input().split()]
print(d//l+d%l)
| p00312 |
<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 5
| 2
| 17,893 |
s952850916 | p00312 | u654661069 | 1564925531 | Python | Python3 | py | Accepted | 20 | 5580 | 55 | d, l = map(int, input().split())
print(d // l + d % l)
| p00312 |
<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 5
| 2
| 17,894 |
s920163198 | p00312 | u250040203 | 1564921753 | Python | Python3 | py | Accepted | 20 | 5588 | 62 | D,L=map(int,input().split())
A=int(D/L)
B=D-(A*L)
print(A+B)
| p00312 |
<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 5
| 2
| 17,895 |
s507601886 | p00312 | u433250944 | 1564846775 | Python | Python3 | py | Accepted | 20 | 5588 | 67 | D, L =map(int,input().split())
a, b = D % L, D // L
print(a + b)
| p00312 |
<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 5
| 2
| 17,896 |
s663337471 | p00312 | u800408401 | 1564838009 | Python | Python3 | py | Accepted | 20 | 5584 | 62 | d,l = map(int,input().split(" "))
print((d//l)+(d-(d//l)*l))
| p00312 |
<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 5
| 2
| 17,897 |
s237349818 | p00312 | u120055135 | 1564637955 | Python | Python3 | py | Accepted | 20 | 5588 | 75 | D, L = map(int,input().split())
ans = int(D/L) + (D-L*int(D/L))
print(ans)
| p00312 |
<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 5
| 2
| 17,898 |
s073923682 | p00312 | u607723579 | 1564637309 | Python | Python3 | py | Accepted | 30 | 5580 | 45 | D,L=map(int,input().split())
print(D//L+D%L)
| p00312 |
<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 5
| 2
| 17,899 |
s910906261 | p00312 | u312033355 | 1563598915 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | D,L=map(int,input().split())
print(D//L+D%L)
| p00312 |
<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 5
| 2
| 17,900 |
s246524898 | p00312 | u003684951 | 1563167057 | Python | Python3 | py | Accepted | 20 | 5580 | 55 | d, l = map(int, input().split())
print(d // l + d % l)
| p00312 |
<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 5
| 2
| 17,901 |
s688140841 | p00312 | u939401108 | 1563126338 | Python | Python3 | py | Accepted | 20 | 5584 | 65 | D, L = map(int, input().split())
ans = D // L + D % L
print(ans)
| p00312 |
<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 5
| 2
| 17,902 |
s587953387 | p00312 | u593976237 | 1562488683 | Python | Python3 | py | Accepted | 20 | 5596 | 67 | D, L = [int(x) for x in input().split()]
print((D // L) + (D % L))
| p00312 |
<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 5
| 2
| 17,903 |
s238542844 | p00312 | u495152850 | 1562059197 | Python | Python3 | py | Accepted | 20 | 5580 | 49 | D,L = map(int,input().split())
print(D//L + D%L)
| p00312 |
<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 5
| 2
| 17,904 |
s347045983 | p00312 | u814278309 | 1561964982 | Python | Python3 | py | Accepted | 30 | 5592 | 83 | D,L=map(int,input().split())
x=D//L
if D%L==0:
print(x)
else:
print(x+(D-L*x))
| p00312 |
<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 5
| 2
| 17,905 |
s300492805 | p00312 | u006424459 | 1555135144 | Python | Python3 | py | Accepted | 20 | 5592 | 90 | l=input().split()
D=int(l[0])
L=int(l[1])
kaisuu1=D//L
kaisuu2=D%L
print(kaisuu1+kaisuu2)
| p00312 |
<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 5
| 2
| 17,906 |
s191512485 | p00312 | u073631596 | 1552462137 | Python | Python3 | py | Accepted | 20 | 5584 | 57 | D,L=map(int,input().split())
bj=D//L
sj=D%L
print(bj+sj)
| p00312 |
<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 5
| 2
| 17,907 |
s554468326 | p00312 | u990228206 | 1551667889 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | D,L=map(int,input().split())
print(D//L+D%L)
| p00312 |
<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 5
| 2
| 17,908 |
s235865436 | p00312 | u125896065 | 1547379905 | Python | Python3 | py | Accepted | 20 | 5592 | 97 | s = input().split()
a = int(s[0])// int(s[1])
b = int(s[0]) - (a*int(s[1]))
print(a+b,sep="")
| p00312 |
<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 5
| 2
| 17,909 |
s572456067 | p00312 | u717526540 | 1544160241 | Python | Python3 | py | Accepted | 20 | 5584 | 66 | d, l = map(int, input().split())
cnt = d // l + d % l
print(cnt)
| p00312 |
<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 5
| 2
| 17,910 |
s694488734 | p00312 | u623996423 | 1542792950 | Python | Python3 | py | Accepted | 20 | 5580 | 49 | D, L = map(int, input().split())
print(D//L+D%L)
| p00312 |
<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 5
| 2
| 17,911 |
s175140496 | p00313 | u843508808 | 1535112669 | Python | Python3 | py | Accepted | 20 | 5612 | 182 | n = int(input())
x = set(map(int, input().split()[1:]))
y = set(map(int, input().split()[1:]))
z = set(map(int, input().split()[1:]))
print(len(z - x) + len(y & z) - len((z-x) & y))
| p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,912 |
s609503671 | p00313 | u043254318 | 1559029267 | Python | Python3 | py | Accepted | 20 | 5612 | 508 |
N = int(input())
X = [int(i) for i in input().split()]
Y = [int(i) for i in input().split()]
Z = [int(i) for i in input().split()]
table = [[0 for i in range(3)] for j in range(N)]
for i in range(1, len(X)):
table[X[i] - 1][0] = 1
for i in range(1, len(Y)):
table[Y[i] - 1][1] = 1
for i in range(1, len(Z)):
... | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,913 |
s120129329 | p00313 | u858560358 | 1559555514 | Python | Python3 | py | Accepted | 20 | 5620 | 152 | N = int(input())
A = set(input().split()[1:])
B = set(input().split()[1:])
C = set(input().split()[1:])
S = A | B | C
print(len(((S-A)&(C)) | (B&C)))
| p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,914 |
s751580156 | p00313 | u260980560 | 1499595130 | Python | Python | py | Accepted | 10 | 6440 | 145 | n = input()
V = [0]*n
for i in [1, 2, 4]:
for e in map(int, raw_input().split()[1:]):
V[e-1] += i
print sum((e&4>0)*(e!=5)for e in V) | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,915 |
s872529061 | p00313 | u116766943 | 1499684881 | Python | Python3 | py | Accepted | 30 | 7700 | 249 | N=int(input())
a,b,c=list(map(int,input().split())),list(map(int,input().split())),list(map(int,input().split()))
d=set(a[1:]+b[1:]+c[1:])
ans=0
for e in d:
if(e not in a[1:]and e in c[1:])or( e in b[1:]and e in c[1:]):
ans+=1
print(ans) | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,916 |
s854617910 | p00313 | u214404619 | 1503121913 | Python | Python3 | py | Accepted | 30 | 7780 | 590 | n = int(input())
s = input()
a = [int(num) for num in s.split()]
s = input()
b = [int(num) for num in s.split()]
s = input()
c = [int(num) for num in s.split()]
isa = []
isb = []
isc = []
for i in range(n + 1):
isa.append(False)
isb.append(False)
isc.append(False)
for i in range(1, a[0] + 1):
isa[a[i]... | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,917 |
s703152484 | p00313 | u529013669 | 1508831192 | Python | Python3 | py | Accepted | 60 | 7784 | 241 | N = int(input())
U = set([i+1 for i in range(N)])
A = set([int(x) for x in input().split()[1:]])
B = set([int(x) for x in input().split()[1:]])
C = set([int(x) for x in input().split()[1:]])
result = ((U-A) & C) | (B & C)
print(len(result)) | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,918 |
s414410283 | p00313 | u546285759 | 1509052345 | Python | Python3 | py | Accepted | 20 | 7780 | 182 | N = int(input())
U = [str(i+1) for i in range(N)]
X = input().split()[1:]
Y = input().split()[1:]
Z = input().split()[1:]
print(len(((set(U) - set(X)) & set(Z)) | (set(Y) & set(Z)))) | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,919 |
s873922065 | p00313 | u724548524 | 1526740644 | Python | Python3 | py | Accepted | 20 | 5616 | 180 | _ = int(input())
_, *a = map(int, input().split())
_, *b = map(int, input().split())
_, *c = map(int, input().split())
a, b, c = set(a), set(b), set(c)
print(len((c - a)|(b & c)))
| p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,920 |
s217547041 | p00313 | u724548524 | 1526740792 | Python | Python3 | py | Accepted | 20 | 5584 | 123 | input()
a = set(input().split()[1:])
b = set(input().split()[1:])
c = set(input().split()[1:])
print(len((c - a)|(b & c)))
| p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,921 |
s833320066 | p00313 | u352394527 | 1529863725 | Python | Python3 | py | Accepted | 20 | 5604 | 355 | n = int(input())
mp = [[0, 0, 0] for _ in range(n)]
xs = list(map(int, input().split()))
ys = list(map(int, input().split()))
zs = list(map(int, input().split()))
for a in xs[1:]:
mp[a - 1][0] = 1
for b in ys[1:]:
mp[b - 1][1] = 1
for c in zs[1:]:
mp[c - 1][2] = 1
ans = 0
for t in mp:
if t[2] and ((not t[0]) ... | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,922 |
s059069718 | p00313 | u548155360 | 1529992206 | Python | Python3 | py | Accepted | 20 | 5640 | 593 | # coding=utf-8
if __name__ == '__main__':
N = int(input())
all_list = {i for i in range(1, N+1)}
A_list = list(map(int, input().split()))
B_list = list(map(int, input().split()))
C_list = list(map(int, input().split()))
A_number = A_list[0]
A_identity = set(A_list[1:])
B_number = B_list... | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,923 |
s201038198 | p00313 | u548184870 | 1594979557 | Python | Python3 | py | Accepted | 20 | 5604 | 257 | def inp2list():
tmp=list(map(int, input().split()))
del tmp[0]
return tmp
N = int(input())
A, B, C = inp2list(), inp2list(), inp2list()
R = [False for _ in range(N)]
for i in C:
if A.count(i)==0 or B.count(i)!=0:
R[i-1] = True
print(R.count(True))
| p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,924 |
s923969874 | p00313 | u455018910 | 1590030994 | Python | Python3 | py | Accepted | 20 | 5604 | 439 | N = int(input())
A = [0]*N
B = [0]*N
C = [0]*N
lineA = list(map(int, input().split()))
lineB = list(map(int, input().split()))
lineC = list(map(int, input().split()))
for i in range( 1, lineA[0]+1 ): A[lineA[i]-1] = 1
for i in range( 1, lineB[0]+1 ): B[lineB[i]-1] = 1
for i in range( 1, lineC[0]+1 ): C[lineC[i]-1] = ... | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,925 |
s676831051 | p00313 | u240091169 | 1588427876 | Python | Python3 | py | Accepted | 20 | 5604 | 479 | N = int(input())
Target = [0] * N
A = list(map(int, input().split()))
if A[0] != 0 :
for i in range(A[0]) :
Target[A[i+1]-1] += 1
B = list(map(int, input().split()))
if B[0] != 0 :
for i in range(B[0]) :
Target[B[i+1]-1] += 2
C = list(map(int, input().split()))
if C[0] != 0 :
for i ... | p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,926 |
s190622653 | p00313 | u056829778 | 1586762202 | Python | Python3 | py | Accepted | 20 | 5620 | 267 | n = int(input())
x,*a = list(map(int, input().split()))
y,*b = list(map(int, input().split()))
z,*c = list(map(int, input().split()))
u = set(range(1,n+1))
a = set(a)
b = set(b)
c = set(c)
s1 = (u - a) & c
s2 = b & c
s3 = s1 & s2
print(len(s1) + len(s2) -len(s3))
| p00313 |
<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>
秘密の組織アイヅアナリティクス(AiZu Analyt... | 5
3 1 2 3
2 4 5
2 3 4
| 1
| 17,927 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.