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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s834601804 | p00352 | u991830357 | 1588764178 | 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,634 |
s985059036 | p00352 | u455994792 | 1588759746 | 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,635 |
s363420527 | p00352 | u062640303 | 1588749197 | 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,636 |
s793452480 | p00352 | u511292942 | 1588747052 | Python | Python3 | py | Accepted | 20 | 5580 | 48 | 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,637 |
s970988983 | p00352 | u685887060 | 1588729968 | Python | Python3 | py | Accepted | 20 | 5584 | 76 | 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,638 |
s324906195 | p00352 | u632594605 | 1588721586 | 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,639 |
s250494481 | p00352 | u593595530 | 1588699157 | 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,640 |
s519224765 | p00352 | u272062354 | 1588672154 | Python | Python3 | py | Accepted | 20 | 5580 | 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,641 |
s552823351 | p00352 | u470391435 | 1588665899 | 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,642 |
s956306988 | p00352 | u128671689 | 1588607501 | 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,643 |
s267467657 | p00352 | u275486335 | 1588603329 | Python | Python3 | py | Accepted | 20 | 5584 | 56 |
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,644 |
s420412053 | p00352 | u988962397 | 1588584877 | Python | Python3 | py | Accepted | 20 | 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,645 |
s292810914 | p00352 | u695386605 | 1588580190 | Python | Python3 | py | Accepted | 20 | 5580 | 48 | 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,646 |
s148264002 | p00352 | u173393391 | 1588579863 | 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,647 |
s558523775 | p00352 | u895962529 | 1588569597 | Python | Python3 | py | Accepted | 20 | 5596 | 58 | a,b=(int(x) for x in 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,648 |
s218480331 | p00352 | u288578617 | 1588560185 | Python | Python3 | py | Accepted | 20 | 5584 | 50 | a, b=map(int,input().split())
x=(a+b)//2
print(x)
| 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,649 |
s403485698 | p00352 | u647921435 | 1588549721 | 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,650 |
s253381047 | p00352 | u177648086 | 1588520558 | 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,651 |
s108968680 | p00352 | u926092389 | 1588511820 | 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,652 |
s869248870 | p00352 | u799752967 | 1588507898 | Python | Python3 | py | Accepted | 20 | 5600 | 66 | a,b=map(int,input().split())
X=(a+b)/2
print('{:0.0f}'.format(X))
| 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,653 |
s382005125 | p00352 | u511744190 | 1588482060 | Python | Python3 | py | Accepted | 20 | 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,654 |
s202214274 | p00352 | u834258010 | 1588473709 | Python | Python3 | py | Accepted | 20 | 5584 | 55 | a,b=map(int,input().split())
c=int((a+b)/2)
print(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,655 |
s077626029 | p00352 | u435414815 | 1588429179 | Python | Python3 | py | Accepted | 30 | 5584 | 56 | a,b = input().split()
c=int((int(a)+int(b))/2)
print(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,656 |
s848770652 | p00352 | u395654950 | 1588428390 | Python | Python3 | py | Accepted | 20 | 5588 | 93 | # coding: utf-8
# Your code here!
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,657 |
s974492243 | p00352 | u057249340 | 1588416010 | Python | Python3 | py | Accepted | 20 | 5580 | 79 | # 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,658 |
s435815595 | p00352 | u240091169 | 1588379386 | 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,659 |
s815429824 | p00352 | u014861569 | 1588358019 | Python | Python3 | py | Accepted | 20 | 5584 | 58 | a,b=input().split()
a=int(a)
b=int(b)
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,660 |
s754655048 | p00352 | u037441960 | 1587990394 | Python | Python3 | py | Accepted | 20 | 5576 | 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,661 |
s073206426 | p00352 | u056829778 | 1587971337 | Python | Python3 | py | Accepted | 20 | 5584 | 58 | 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,662 |
s649434166 | p00352 | u814278309 | 1587804825 | Python | Python3 | py | Accepted | 20 | 5584 | 53 | a,b = map(int,input().split())
x = (a+b)//2
print(x)
| 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,663 |
s425930761 | p00352 | u585138240 | 1584879223 | Python | Python3 | py | Accepted | 20 | 5584 | 62 | a,b = input().split()
a = int(a)
b = int(b)
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,664 |
s986821157 | p00352 | u837859297 | 1584272746 | Python | Python3 | py | Accepted | 20 | 5580 | 64 | # 入力
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,665 |
s567869055 | p00352 | u934460477 | 1579999202 | 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,666 |
s578870887 | p00352 | u644946737 | 1579781502 | 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,667 |
s798022817 | p00352 | u829695570 | 1576156797 | 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,668 |
s827990173 | p00352 | u483069942 | 1573820535 | Python | Python3 | py | Accepted | 20 | 5584 | 57 | 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,669 |
s275827836 | p00352 | u153447291 | 1573812721 | Python | Python3 | py | Accepted | 20 | 5580 | 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,670 |
s326974523 | p00352 | u350155409 | 1573304941 | Python | Python3 | py | Accepted | 20 | 5596 | 50 | print(sum([int(s) for s in 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,671 |
s187435301 | p00352 | u803862921 | 1573037983 | Python | Python3 | py | Accepted | 20 | 5596 | 57 | 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,672 |
s942942661 | p00352 | u129754114 | 1568288551 | Python | Python3 | py | Accepted | 20 | 5580 | 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,673 |
s371927755 | p00352 | u686783398 | 1568119303 | 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,674 |
s186738000 | p00352 | u694266085 | 1567023402 | 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,675 |
s837273977 | p00352 | u693650873 | 1566881455 | 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,676 |
s409363101 | p00352 | u615613865 | 1566869593 | Python | Python3 | py | Accepted | 20 | 5584 | 55 | a,b=map(int,input().split())
c=a+b
d=c/2
print(int(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,677 |
s904959492 | p00352 | u851950016 | 1566869355 | Python | Python3 | py | Accepted | 20 | 5584 | 53 | a,b=map(int,input().split())
c=int((a+b)/2)
print(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,678 |
s759892107 | p00352 | u108130680 | 1564929339 | 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,679 |
s931810556 | p00352 | u433250944 | 1564929177 | 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,680 |
s021454450 | p00352 | u654661069 | 1564924573 | Python | Python3 | py | Accepted | 20 | 5580 | 48 | 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,681 |
s988433513 | p00352 | u939401108 | 1564924117 | Python | Python3 | py | Accepted | 20 | 5580 | 53 | 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,682 |
s512463552 | p00352 | u678843586 | 1564906240 | Python | Python3 | py | Accepted | 20 | 5576 | 41 | 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,683 |
s760996652 | p00352 | u800408401 | 1564847842 | Python | Python3 | py | Accepted | 20 | 5584 | 50 | 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,684 |
s401997196 | p00352 | u312033355 | 1564725777 | Python | Python3 | py | Accepted | 20 | 5584 | 66 | a,b=map(int,input().split())
n=(a+b)//2 #//と/の違い
print(n)
| 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,685 |
s082781618 | p00352 | u480501638 | 1563168452 | Python | Python3 | py | Accepted | 20 | 5580 | 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,686 |
s836972441 | p00352 | u847360154 | 1563168251 | 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,687 |
s093106644 | p00352 | u003684951 | 1563166923 | Python | Python3 | py | Accepted | 20 | 5580 | 50 | 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,688 |
s666781496 | p00352 | u593976237 | 1562487817 | Python | Python3 | py | Accepted | 20 | 5596 | 57 | 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,689 |
s999311832 | p00352 | u495152850 | 1561994704 | Python | Python3 | py | Accepted | 20 | 5580 | 51 | a, b = map(int, input().split())
print((a+b) >> 1)
| 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,690 |
s020000811 | p00352 | u260980560 | 1561906393 | Python | Python3 | py | Accepted | 20 | 5580 | 49 | a, b = map(int, input().split())
print((a+b)>>1)
| 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,691 |
s637306924 | p00352 | u043254318 | 1554170447 | Python | Python3 | py | Accepted | 20 | 5596 | 61 | a,b = [int(i) for i in 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,692 |
s777807967 | p00352 | u058860400 | 1549557032 | Python | Python3 | py | Accepted | 20 | 5584 | 54 | a,b=map(int, input().split())
print("%d" % ((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,693 |
s840175776 | p00352 | u435226340 | 1546908834 | Python | Python3 | py | Accepted | 30 | 5580 | 48 | 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,694 |
s377478749 | p00352 | u717526540 | 1544146704 | 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,695 |
s497572097 | p00352 | u689047545 | 1543282439 | 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,696 |
s832280555 | p00352 | u623996423 | 1542793113 | 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,697 |
s892378713 | p00352 | u725998488 | 1538191691 | Python | Python3 | py | Accepted | 20 | 5580 | 55 | 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,698 |
s930696883 | p00352 | u539753516 | 1537589440 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | print(sum(map(int,input().split()))>>1)
| 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,699 |
s245202024 | p00352 | u938878704 | 1532932230 | Python | Python3 | py | Accepted | 30 | 5580 | 53 | 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,700 |
s873527279 | p00353 | u843508808 | 1534743199 | Python | Python3 | py | Accepted | 20 | 5596 | 111 | m, f, b = map(int, input().split())
if m >= b:
print(0)
elif b > m+f:
print("NA")
else:
print(b-m)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,701 |
s818220125 | p00353 | u116766943 | 1506238580 | Python | Python3 | py | Accepted | 50 | 7708 | 99 | a,b,c=map(int,input().split())
if c <= a:
print("0")
elif c <= a+b:
print(c-a)
else:
print("NA") | p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,702 |
s625525398 | p00353 | u231562319 | 1506979307 | Python | Python3 | py | Accepted | 20 | 7760 | 153 | def main():
m,f,b = map(int,input().split())
if m+f < b:
return 'NA'
return max(0,b-m)
if __name__ == '__main__':
print(main()) | p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,703 |
s412477723 | p00353 | u546285759 | 1507108468 | Python | Python3 | py | Accepted | 60 | 7692 | 84 | m, f, b = map(int, input().split())
print(0 if m >= b else "NA" if m+f < b else b-m) | p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,704 |
s840382106 | p00353 | u546285759 | 1507108915 | Python | Python3 | py | Accepted | 60 | 7700 | 75 | m, f, b = map(int, input().split())
print("NA" if m+f < b else max(0, b-m)) | p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,705 |
s306475046 | p00353 | u546285759 | 1507158017 | Python | Python3 | py | Accepted | 20 | 7708 | 87 | m, f, b = map(int, input().split())
print("NA"*(m+f < b) + (m+f >= b)*str(max(0, b-m))) | p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,706 |
s912970213 | p00353 | u529013669 | 1508408768 | Python | Python3 | py | Accepted | 40 | 7780 | 146 | ms = [i for i in map(int,input().split())]
if ms[0] >= ms[2]:
print(0)
elif ms[0]+ms[1] >= ms[2]:
print(ms[2]-ms[0])
else:
print("NA") | p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,707 |
s901607504 | p00353 | u737311644 | 1516350483 | Python | Python3 | py | Accepted | 20 | 5596 | 115 | m,f,b=map(int,input().split())
ans=0
if m+f<b:
ans= "NA"
elif m>b:
ans=0
elif m<b:
ans=b-m
print(ans)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,708 |
s520045228 | p00353 | u781622789 | 1523975234 | Python | Python3 | py | Accepted | 20 | 5596 | 108 | a,b,c = map(int,list(input().split(" ")))
m = max(0,c-a)
if(a+b>=c):
print(m)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,709 |
s819555018 | p00353 | u480716860 | 1525009352 | Python | Python3 | py | Accepted | 20 | 5596 | 136 | m, f, b = map(int, input().split())
if(m >= b):
print(0)
else:
if(b-m <= f):
print(b - m)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,710 |
s962682424 | p00353 | u724548524 | 1525541122 | Python | Python3 | py | Accepted | 20 | 5588 | 81 | m, f, b = map(int, input().split())
print(max(0, b - m) if b - m <= f else "NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,711 |
s618795557 | p00353 | u777277984 | 1527593267 | Python | Python3 | py | Accepted | 20 | 5596 | 120 | m, f, b = map(int, input().split())
if m + f < b:
print("NA")
elif m >= b:
print(0)
else:
print(b - m)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,712 |
s770004455 | p00353 | u327546577 | 1528203923 | Python | Python3 | py | Accepted | 20 | 5588 | 87 | m, f, b = map(int, input().split())
print("NA") if m < b - f else print(max(0, b - m))
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,713 |
s110272081 | p00353 | u568446716 | 1529169980 | Python | Python3 | py | Accepted | 20 | 5592 | 119 | m, f ,b = map(int, input().split())
lending = max(b - m, 0)
if lending <= f:
print(lending)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,714 |
s179149272 | p00353 | u548155360 | 1529927811 | Python | Python3 | py | Accepted | 20 | 5600 | 129 | # coding=utf-8
m, f, b = map(int, input().split())
if m+f < b:
print("NA")
elif m >= b:
print(0)
else:
print(b-m)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,715 |
s112309609 | p00353 | u352394527 | 1529936163 | Python | Python3 | py | Accepted | 20 | 5588 | 81 | m, f, b = map(int, input().split())
print(max(0, b - m) if m + f >= b else "NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,716 |
s882010003 | p00353 | u461381803 | 1596724518 | Python | Python3 | py | Accepted | 20 | 5596 | 119 | m, f, b = map(int, input().split())
if b <= m:
print(0)
elif b <= m + f:
print(b - m)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,717 |
s458952925 | p00353 | u779523319 | 1596699773 | Python | Python3 | py | Accepted | 20 | 5596 | 121 | m,f,b=map(int,input().split())
if m<b:
if b-m>f:
print("NA")
else:
print(b-m)
else:
print(0)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,718 |
s567227390 | p00353 | u775765468 | 1596356905 | Python | Python3 | py | Accepted | 20 | 5596 | 113 | m,f,b = map(int, input().split())
if m >= b:
print(0)
elif (m+f) >= b:
print(b-m)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,719 |
s518969042 | p00353 | u854654878 | 1595729207 | Python | Python3 | py | Accepted | 20 | 5596 | 109 | a,b,c=map(int,input().split())
if a>=c:
print(0)
elif a+b>=c:
print(c-a)
elif a+b<c:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,720 |
s870034662 | p00353 | u986283797 | 1595229883 | Python | Python3 | py | Accepted | 20 | 5600 | 150 | # -*- coding: utf-8 -*-
A=list(map(int, input().split()))
if A[0]+A[1]<A[2]:
print("NA")
elif A[0]>A[2]:
print(0)
else:
print(A[2]-A[0])
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,721 |
s978648410 | p00353 | u240091169 | 1594864320 | Python | Python3 | py | Accepted | 30 | 5596 | 116 | m, f, b = map(int, input().split())
if m >= b :
print(0)
elif m+f >= b :
print(b-m)
else :
print('NA')
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,722 |
s131888466 | p00353 | u766775971 | 1594642065 | Python | Python3 | py | Accepted | 20 | 5596 | 119 | m, f, b = map(int, input().split())
if m >= b:
print("0")
elif m + f >= b:
print(b - m)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,723 |
s341005675 | p00353 | u548184870 | 1594280065 | Python | Python3 | py | Accepted | 20 | 5584 | 86 | M, F, B = map(int, input().split())
if M+F<B:
print('NA')
else:
print(max(B-M, 0))
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,724 |
s265817166 | p00353 | u736550956 | 1594201792 | Python | Python3 | py | Accepted | 20 | 5588 | 92 | m, f, b = map(int, input().split())
if b>m+f:
print('NA')
else:
print(max(b-m, 0))
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,725 |
s993911338 | p00353 | u141099640 | 1593996509 | Python | Python3 | py | Accepted | 30 | 5596 | 115 | m, f, b = map(int, input().split())
if m >= b:
print(0)
elif m + f < b:
print('NA')
else:
print(b - m)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,726 |
s517857454 | p00353 | u286298310 | 1593433824 | Python | Python3 | py | Accepted | 20 | 5596 | 110 | m,f,b= map(int,input().split())
if b-m < 0:
print(0)
elif b-m-f>0:
print("NA")
else:
print(b-m)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,727 |
s100314746 | p00353 | u860145523 | 1592553970 | Python | Python3 | py | Accepted | 20 | 5596 | 134 | m,f,b=map(int,input().split())
if m+f>=b:
if m>b:
print("0")
elif m<b:
print(b-m)
elif m+f<b:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,728 |
s283189493 | p00353 | u792369084 | 1590843132 | Python | Python3 | py | Accepted | 20 | 5596 | 134 | m, f, b = list(map(int, input().split()))
if m >= b:
print(0)
elif (m < b) and (m + f >= b):
print(b-m)
else:
print("NA")
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,729 |
s918621761 | p00353 | u842461513 | 1589690916 | Python | Python3 | py | Accepted | 20 | 5592 | 320 | #標準入力
a,b,c = map(int,input().split())
#自分の持っていたお金で足りるなら0を出力する
if a >= c:print("0")
#自分とAのお金を足しても足りないならNAを出力する
elif a + b < c:print("NA")
#上記の2つ以外ならAにいくら借りるかを計算する
else:print(c - a)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,730 |
s395666708 | p00353 | u108112600 | 1589205844 | Python | Python3 | py | Accepted | 20 | 5596 | 117 | m, f, b = map(int, input().split())
if m + f < b:
print("NA")
elif m > b:
print("0")
else:
print(b - m)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,731 |
s533974325 | p00353 | u632594605 | 1588721843 | Python | Python3 | py | Accepted | 20 | 5596 | 115 | m, f, b = map(int, input().split())
if m > b:
print(0)
elif m + f >= b:
print(b - m)
else:
print('NA')
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,732 |
s870686785 | p00353 | u056829778 | 1587971499 | Python | Python3 | py | Accepted | 20 | 5596 | 118 | m,f,b = list(map(int, input().split()))
t = b - m
if t>0:
if t<=f: print(t)
else: print("NA")
else: print(0)
| p00353 | <H1>Shopping</H1>
<p>
You are now in a bookshop with your friend Alice to buy a book, "The Winning Strategy for the Programming Koshien Contest,” just released today. As you definitely want to buy it, you are planning to borrow some money from Alice in case the amount you have falls short of the price. If the amount y... | 1000 3000 3000
| 2000
| 18,733 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.