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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s352460009 | p04029 | u391475811 | 1519859613 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | N=int(input())
print(int(N*(N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,981 |
s907434204 | p04029 | u858136677 | 1519589322 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 40 | n = int(input())
print(int(n*(n+1)*0.5)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,982 |
s213381968 | p04029 | u898651494 | 1519481166 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 37 | i = int(input())
print((i*(i+1))//2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,983 |
s185662806 | p04029 | u597436499 | 1519352922 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 169 | import math
n = int(input())
if n == 1:
print(1)
elif n % 2 == 0:
print((1 + n) * math.floor(n/2))
else:
print((1 + n) * math.floor(n/2) + math.ceil(n/2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,984 |
s431769089 | p04029 | u601913978 | 1519281706 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 49 | print(sum([i + 1 for i in range(int(input()))]))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,985 |
s125646986 | p04029 | u319612498 | 1518932811 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | n=int(input())
sum=0
for i in range(1,n+1):
sum+=i
print(int(sum)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,986 |
s126861052 | p04029 | u030726788 | 1518903630 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 58 | N=int(input())
x=0
for i in range(1,N+1):
x+=i
print(x)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,987 |
s826460435 | p04029 | u019584841 | 1518815011 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 37 | n=int(input())
print(int((n+1)*n/2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,988 |
s861349065 | p04029 | u088543709 | 1518604973 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 40 | n = int(raw_input())
print (n*(n+1)/2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,989 |
s365660686 | p04029 | u875361824 | 1518429760 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 116 | def main():
N = int(input())
ans = N * (1 + N) // 2
print(ans)
if __name__ == '__main__':
main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,990 |
s001255780 | p04029 | u764600134 | 1517705665 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 318 | # -*- coding: utf-8 -*-
"""
https://beta.atcoder.jp/contests/abc043/tasks/abc043_a
"""
import sys
from sys import stdin
input = stdin.readline
def solve(N):
return (1 + N) * N // 2
def main(args):
N = int(input())
ans = solve(N)
print(ans)
if __name__ == '__main__':
main(sys.argv[1:])
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,991 |
s499040829 | p04029 | u853586331 | 1517587730 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 69 | N=int(input())
A=[]
for i in range(1,N+1):
A.append(i)
print(sum(A)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,992 |
s632467382 | p04029 | u978494963 | 1517270583 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | n = int(input())
res= 0
for i in range(n):
res += i+1
print(res) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,993 |
s469312508 | p04029 | u952708174 | 1517115020 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,994 |
s662960253 | p04029 | u254456372 | 1516484858 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 156 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
N = int(input())
ans = N*(N+1) // 2
print(ans)
if __name__ == "__main__": main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,995 |
s081663292 | p04029 | u202877219 | 1516435594 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | n = int(input())
x = 0
for i in range(n+1):
x = x+i
print (x) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,996 |
s800236845 | p04029 | u181037878 | 1515907955 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 39 | N = int(input())
print(int(N*(N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,997 |
s032224780 | p04029 | u811528179 | 1515561268 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 79 | n=int(input())
total=int(0)
for i in range(1,n+1):
total += i
print(total)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,998 |
s460553601 | p04029 | u124843595 | 1515411779 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | n=int(input())
print(int((1+n)*n/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,999 |
s567582208 | p04029 | u136090046 | 1515173593 | Python | Python (3.4.3) | py | Accepted | 20 | 3060 | 63 | res = 0
for i in range(int(input())+1):
res += i
print(res) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,000 |
s574164751 | p04029 | u586577600 | 1514859489 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n = int(input())
print((1+n)*n//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,001 |
s298944058 | p04029 | u057463552 | 1514346753 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,002 |
s184047809 | p04029 | u854627522 | 1514233851 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 124 | n = int(input())
def addAll(n):
if n == 1:
return 1
else:
return addAll(n-1) + n
print(addAll(n))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,003 |
s717813982 | p04029 | u550574002 | 1514170667 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 31 | print((int(input())*2+1)**2//8) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,004 |
s551006368 | p04029 | u621935300 | 1514139618 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 34 | N=input()
print sum(range(1,N+1))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,005 |
s037762034 | p04029 | u558836062 | 1514004260 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 50 | N = int(input())
print(int(( N * (N + 1)) * 0.5)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,006 |
s556504636 | p04029 | u204230270 | 1513881643 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 45 | n = int(input())
print(int((n + 1) * n / 2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,007 |
s824956704 | p04029 | u825528847 | 1513705132 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 51 | N = int(input())
print(sum(i+1 for i in range(N)))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,008 |
s230376274 | p04029 | u355798276 | 1513143333 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | x = int(input())
sum = 0
for i in range(x):
sum += i + 1
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,009 |
s026917134 | p04029 | u257974487 | 1513053121 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | p = 0
N = int(input())
for i in range(1,N+1):
p += i
print(p) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,010 |
s881504637 | p04029 | u136869985 | 1512595685 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 141 | import math
def main():
N = int(input())
c = 0
for x in range(N + 1): c += x
print(c)
if __name__ == "__main__":
main() | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,011 |
s414468243 | p04029 | u966000628 | 1512275802 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 36 | N = int(raw_input())
print N*(N+1)/2 | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,012 |
s132242116 | p04029 | u813450984 | 1511546010 | Python | Python (3.4.3) | py | Accepted | 21 | 3060 | 41 | n = int(input())
print((n + 1) * n // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,013 |
s147828890 | p04029 | u498401785 | 1511477762 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 88 | import math
n = int(input())
ans = 0
for i in range(1, n + 1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,014 |
s914767557 | p04029 | u667024514 | 1511107858 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 83 | a = int(input())
t = 1
ans =0
for i in range(a):
ans = ans + t
t = t+1
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,015 |
s064371860 | p04029 | u075012704 | 1511022725 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | N = int(input())
print(int(0.5*N*(N+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,016 |
s188441235 | p04029 | u451017206 | 1510365902 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 38 | N = int(input())
print(N * (N + 1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,017 |
s577246804 | p04029 | u743272507 | 1510262707 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | i = int(input())
print(i*(i+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,018 |
s429662722 | p04029 | u665415433 | 1509674831 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 69 | N = int(input())
ans = 0
for n in range(N+1):
ans += n
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,019 |
s806184348 | p04029 | u561422857 | 1509590695 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 75 | n = int(input()) + 1
num = 0
for i in range(n):
num += i
print(num)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,020 |
s384099119 | p04029 | u781025961 | 1509051216 | Python | Python (3.4.3) | py | Accepted | 19 | 3064 | 70 | N = int(input())
ans = 0
for i in range(N):
ans += i+1
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,021 |
s221167806 | p04029 | u055459962 | 1508555402 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 209 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""043-a"""
import sys
def main():
"""Main function."""
N = int(input())
print(sum(range(N+1)))
if __name__ == '__main__':
sys.exit(main()) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,022 |
s447970578 | p04029 | u102930666 | 1508466828 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 74 | N = int(input())
i = 0
ans=0
for i in range(N+1):
ans += i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,023 |
s405288417 | p04029 | u252745826 | 1508446962 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 43 | N = int(input())
print(sum(range(1, N+1)))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,024 |
s423293638 | p04029 | u269390702 | 1508389032 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 32 | n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,025 |
s472817078 | p04029 | u425351967 | 1508271120 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,026 |
s995109589 | p04029 | u190405389 | 1507779664 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | n = int(input())
ans = 0
for i in range(n):
ans += i+1
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,027 |
s767580855 | p04029 | u559651225 | 1506804522 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 44 | n = input()
ans = n * (n + 1) / 2
print ans | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,028 |
s608384212 | p04029 | u663710122 | 1506619225 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 41 | N = int(input())
print(N * (N + 1) // 2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,029 |
s872293564 | p04029 | u772180901 | 1506309170 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,030 |
s271347544 | p04029 | u598016178 | 1505674731 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 30 | n=int(input());print(n*-~n>>1) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,031 |
s506280921 | p04029 | u598016178 | 1505674262 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 97 | def acum(n):
if n <= 1:
return 1
return n + acum(n - 1)
print(acum(int(input()))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,032 |
s447619128 | p04029 | u785205215 | 1505666972 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 67 | n = int(input())
ans=0
for i in range(1,n+1):
ans+=i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,033 |
s950505871 | p04029 | u525441048 | 1505603306 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 79 | N = int(input())
child = 0
for i in range(1, N+1):
child += i
print(child)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,034 |
s788449566 | p04029 | u444856278 | 1505151166 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | N = int(input())
S = 0
for i in range(N+1):
S += i
print(S) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,035 |
s034065650 | p04029 | u367393577 | 1505095918 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 35 | n = int(input())
print(n*(n+1)//2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,036 |
s397975886 | p04029 | u182096840 | 1504451338 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 35 | a = int(input())
print((a*(a+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,037 |
s810291915 | p04029 | u778700306 | 1503849581 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 48 |
a = int(input())
b = a * (a + 1) // 2;
print(b) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,038 |
s669419894 | p04029 | u650245944 | 1502855509 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print((N+1)*N//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,039 |
s991607794 | p04029 | u081634865 | 1502675978 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 72 | n = int(input())
sum = 0
for i in range(1, n+1):
sum += i
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,040 |
s895659480 | p04029 | u596276291 | 1501773243 | Python | Python (3.4.3) | py | Accepted | 25 | 3444 | 146 | from collections import defaultdict
def main():
print(sum([i for i in range(1, int(input()) + 1)]))
if __name__ == '__main__':
main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,041 |
s719592342 | p04029 | u355254193 | 1501742417 | Python | Python (2.7.6) | py | Accepted | 9 | 2568 | 45 | n = int(raw_input())
print ((1 + n) * n) / 2 | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,042 |
s052151303 | p04029 | u482969053 | 1501729073 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n = int(input())
print((n+1)*n//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,043 |
s936474824 | p04029 | u782330257 | 1501712460 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n=int(input())
print((n*(n+1))//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,044 |
s000467562 | p04029 | u364386647 | 1501254236 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 43 | N = int(input())
print(int(N * (N+1) / 2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,045 |
s267651794 | p04029 | u839537730 | 1501086570 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 143 | N = int(input())
ans = 0
if N % 2 == 0:
ans = (N + 1) * (N // 2)
else:
ans = (N + 1) * ((N-1) // 2) + (N+1) // 2
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,046 |
s688417363 | p04029 | u255555420 | 1500578257 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 44 | N=int(input())
C=int(N/2*(2+N-1))
print(C) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,047 |
s790990947 | p04029 | u276192130 | 1500413117 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 35 | n = int(input())
print((n+1)*n//2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,048 |
s484278942 | p04029 | u218984487 | 1500322896 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | N = int(input())
num = 0
i = 1
while i <= N:
num += i
i += 1
print(num)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,049 |
s128111651 | p04029 | u996252264 | 1500180777 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 185 | def ri(): return int(input())
def rli(): return list(map(int, input().split()))
def rls(): return list(input())
def pli(a): return "".join(list(map(str, a)))
n = ri()
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,050 |
s655526026 | p04029 | u914001098 | 1499806253 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 39 | N = int(input())
print(sum(range(N+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,051 |
s620883609 | p04029 | u914001098 | 1499805965 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | N = int(input())
x = 0
for i in range(N+1):
x = x + i
print(x) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,052 |
s552273159 | p04029 | u214380782 | 1499307689 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 74 | N = int(input())
i = 0
sum=0
while i<N:
i += 1
sum += i
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,053 |
s950275521 | p04029 | u594329566 | 1498566161 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 313 | def ini(): return int(input())
def inli(): return list(map(int, input().split()))
def inf(): return float(input())
def inlf(): return list(map(float, input().split()))
def inl(): return list(input())
def pli(): return "".join(list(map(str, ans)))
n = ini()
ans= 0
for i in range(n+1):
ans = ans +i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,054 |
s306857654 | p04029 | u120026978 | 1498114782 | Python | Python (3.4.3) | py | Accepted | 20 | 2940 | 40 | n = int(input())
print((n + 1) * n // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,055 |
s910082878 | p04029 | u820351940 | 1497894899 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | print(sum(range(1, int(input()) + 1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,056 |
s981064869 | p04029 | u502149531 | 1497855840 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | a = int(input())
b = 0
for i in range(a + 1) :
b = b + i
print(b) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,057 |
s507039888 | p04029 | u237267413 | 1497841412 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 98 | N = int( input() )
sumofcandy = 0
for i in range(1, N + 1):
sumofcandy += i
print(sumofcandy) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,058 |
s359013830 | p04029 | u999343094 | 1497816292 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 40 | n = int(raw_input())
print n * (n+1) / 2 | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,059 |
s324334182 | p04029 | u761320129 | 1497326621 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 28 | N = input()
print N*(N+1)/2
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,060 |
s306617788 | p04029 | u340294296 | 1496759559 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 74 | N = int(input())
sum = 0
for i in range(N + 1):
sum += i
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,061 |
s591243006 | p04029 | u340294296 | 1496699482 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 74 | N = int(input())
sum = 0
for i in range(N + 1):
sum += i;
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,062 |
s281003450 | p04029 | u616040357 | 1496292125 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | N = int(input())
sum = 0
for num in range(1, N + 1):
sum += num;
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,063 |
s775584870 | p04029 | u879309973 | 1495644121 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 33 | N = input()
print (N * (N+1) / 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,064 |
s161887326 | p04029 | u667084803 | 1495062346 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | import math
N=int(input())
ans=0
for i in range(N):
ans+=i+1
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,065 |
s507761334 | p04029 | u125205981 | 1494559165 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | def main():
N = int(input())
ans = N * (N + 1) // 2
print(ans)
main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,066 |
s245970480 | p04029 | u646336933 | 1493769930 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | n = int(input())
sum = 0
for i in range(1, n+1):
sum += i
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,067 |
s041701022 | p04029 | u058240079 | 1493307457 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 41 | n = int(raw_input())
print n * (n+1) / 2
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,068 |
s583194453 | p04029 | u790865353 | 1492506109 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | N=int(input())
print(int(N*(N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,069 |
s619520792 | p04029 | u087279476 | 1491189355 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | n = int(input())
ans = 0
for count in range(n+1):
ans += count
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,070 |
s206519309 | p04029 | u379559362 | 1491147616 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 41 | n = int(input())
print(n * (n + 1) // 2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,071 |
s058846774 | p04029 | u319818166 | 1490887614 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 110 | # -*- coding: utf-8 -*-
input = int(raw_input())
count = 0
for i in range(1, input+1):
count += i
print count | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,072 |
s356342167 | p04029 | u559722042 | 1490085068 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,073 |
s416704610 | p04029 | u976966750 | 1490049261 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 36 | n=int(raw_input())
print (n*(n+1))/2 | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,074 |
s249218931 | p04029 | u912359563 | 1489753780 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,075 |
s557518272 | p04029 | u332385682 | 1488483407 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 300 | import sys
def debug(x, table):
for name, val in table.items():
if x is val:
print('DEBUG:{} -> {}'.format(name, val), file=sys.stderr)
return None
def solve():
N = int(input())
ans = N * (N+1) // 2
print(ans)
if __name__ == '__main__':
solve() | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,076 |
s415828267 | p04029 | u622011073 | 1487378156 | Python | Python (3.4.3) | py | Accepted | 18 | 3060 | 32 | n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,077 |
s945485879 | p04029 | u584355711 | 1487306985 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 129 | # -*- coding: utf-8 -*-
def main():
x=int(input())
print(x*(x+1)//2)
if __name__=="__main__":
main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,078 |
s580207782 | p04029 | u846552659 | 1486589241 | Python | Python (3.4.3) | py | Accepted | 22 | 3064 | 98 | # -*- coding:utf-8 -*-
N = int(input())
ans = 0
for tmp in range(1,N+1):
ans += tmp
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,079 |
s699676220 | p04029 | u045939752 | 1486058091 | Python | Python (3.4.3) | py | Accepted | 22 | 3064 | 32 | N=int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,204,080 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.