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
s859388382
p04029
u779308281
1580871865
Python
Python (3.4.3)
py
Accepted
17
2940
63
b = int(input()) c = 0 for i in range(b+1): c += i 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,202,681
s481136709
p04029
u110996038
1580865646
Python
Python (3.4.3)
py
Accepted
17
2940
63
n = int(input()) c = 0 for i in range(1,n+1): c += i 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,202,682
s143016677
p04029
u785066634
1580765938
Python
Python (3.4.3)
py
Accepted
17
2940
33
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,202,683
s109848403
p04029
u353855427
1580749600
Python
Python (3.4.3)
py
Accepted
17
2940
68
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,202,684
s232619320
p04029
u556610039
1580740117
Python
Python (3.4.3)
py
Accepted
18
2940
91
n = int(input()) candy = 0 for index in range(n): candy += index + 1 print(str(candy))
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,202,685
s768460008
p04029
u686230543
1580704496
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,202,686
s905785848
p04029
u189487046
1580676419
Python
Python (3.4.3)
py
Accepted
17
2940
70
n = int(input()) ret = 0 for i in range(n+1): ret += i print(ret)
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,202,687
s437288978
p04029
u745812846
1580673814
Python
Python (3.4.3)
py
Accepted
17
2940
49
print(sum([i for i in range((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,202,688
s816839907
p04029
u143212659
1580670393
Python
Python (3.4.3)
py
Accepted
17
2940
202
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): N = int(input()) result = 0 for i in range(N + 1): result += i print(result) 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,202,689
s666842595
p04029
u608585697
1580665874
Python
Python (3.4.3)
py
Accepted
17
2940
186
# AtCoder Beginner Contest 043 # A - キャンディーとN人の子供イージー / Children and Candies (ABC Edit) N = int(input()) C = 0 for i in range(N): C = C + (i+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,202,690
s414526963
p04029
u934868410
1580509258
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,202,691
s532152087
p04029
u113971909
1580505677
Python
Python (3.4.3)
py
Accepted
16
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,202,692
s451679475
p04029
u392319141
1580437487
Python
Python (3.4.3)
py
Accepted
17
2940
40
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,202,693
s164320535
p04029
u478888559
1580428389
Python
Python (3.4.3)
py
Accepted
17
2940
75
N = int(input()) sum = 0 for i in range(N): 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,202,694
s646117591
p04029
u746849814
1580394641
Python
Python (3.4.3)
py
Accepted
17
2940
95
children = int(input()) candy = 0 for c in range(children): candy += (c+1) print(candy)
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,202,695
s544598507
p04029
u771167374
1580369698
Python
Python (3.4.3)
py
Accepted
17
2940
61
n = int(input()) f = 0 for i in range(n+1): f+=i print(f)
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,202,696
s242161807
p04029
u682997551
1580351652
Python
Python (3.4.3)
py
Accepted
21
3316
52
N = int(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,202,697
s690182462
p04029
u329407311
1580346961
Python
Python (3.4.3)
py
Accepted
17
2940
39
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,202,698
s160001630
p04029
u151107315
1580332872
Python
Python (3.4.3)
py
Accepted
17
2940
56
N = int(input()) print(int((1 / 2) * N * (2 + (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,202,699
s912774615
p04029
u264681142
1580327686
Python
Python (3.4.3)
py
Accepted
17
2940
67
n = int(input()) s = 0 for i in range(1, 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,202,700
s067570374
p04029
u528793636
1580318814
Python
Python (3.4.3)
py
Accepted
17
2940
64
n = int(input()) a = 0 for i in range(n): a += i+1 print(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,202,701
s825246677
p04029
u905743924
1580271958
Python
Python (3.4.3)
py
Accepted
17
2940
63
N = int(input()) s = 0 for i in range(1, 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,202,702
s222366736
p04029
u566428756
1580241233
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,202,703
s957792591
p04029
u989345508
1580155970
Python
Python (3.4.3)
py
Accepted
19
2940
33
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,202,704
s223641914
p04029
u777394984
1580089300
Python
Python (3.4.3)
py
Accepted
23
3316
37
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,202,705
s897942783
p04029
u752552310
1580081671
Python
Python (3.4.3)
py
Accepted
17
2940
67
n = int(input()) j = 0 for i in range(n+1): j = j + i print(j)
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,202,706
s242109599
p04029
u067962264
1580081180
Python
Python (3.4.3)
py
Accepted
17
2940
83
# -*- coding: utf-8 -*- 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,202,707
s674478175
p04029
u858436319
1579929883
Python
Python (3.4.3)
py
Accepted
17
2940
64
N = int(input()) a=0 for i in range(N+1): a = a + i print(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,202,708
s562859787
p04029
u857070771
1579895756
Python
Python (3.4.3)
py
Accepted
17
2940
59
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,202,709
s383842157
p04029
u036492525
1579878995
Python
Python (3.4.3)
py
Accepted
17
2940
36
a=int(input()) print(int((1+a)*a/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,202,710
s719971753
p04029
u698197687
1579746991
Python
Python (3.4.3)
py
Accepted
17
2940
283
def calc_sum_of_candies(sum_of_children): sum_of_candies = 0 for i in range(sum_of_children+1): sum_of_candies = sum_of_candies + i return sum_of_candies if __name__=='__main__': sum_of_children = int(input()) print(calc_sum_of_candies(sum_of_children))
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,202,711
s466482492
p04029
u993435350
1579724741
Python
Python (3.4.3)
py
Accepted
17
2940
57
N = int(input()) print(sum([i for i in 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,202,712
s289347991
p04029
u116722061
1579709838
Python
Python (3.4.3)
py
Accepted
17
2940
78
N = int(input()) li = [] for i in range (N): li.append (1+i) print(sum(li))
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,202,713
s895087403
p04029
u790048565
1579693466
Python
Python (3.4.3)
py
Accepted
17
2940
77
N = int(input()) count = 0 for i in range(N): count += i + 1 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,202,714
s184694041
p04029
u071868443
1579596762
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,202,715
s846674571
p04029
u734434881
1579590452
Python
Python (3.4.3)
py
Accepted
17
2940
99
count = int(input()) answer = 0 for i in range(1, count + 1): answer = answer + i print(answer)
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,202,716
s012770130
p04029
u355865104
1579574523
Python
Python (3.4.3)
py
Accepted
19
3060
78
if __name__ == "__main__": 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,202,717
s550052455
p04029
u702786238
1579572634
Python
Python (3.4.3)
py
Accepted
17
3064
48
N = int(input()) print(sum(list(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,202,718
s346042437
p04029
u149991748
1579482952
Python
Python (3.4.3)
py
Accepted
17
2940
130
# -*-coding: utf-8 -*- #整数の入力 N = int(input()) sum = 0 for i in range(N): i = i + 1 sum = 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,202,719
s792337219
p04029
u383725933
1579468813
Python
Python (3.4.3)
py
Accepted
17
2940
40
N=int(input()) s=N*(N+1)/2 print(int(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,202,720
s835332993
p04029
u871596687
1579368837
Python
Python (3.4.3)
py
Accepted
17
2940
43
N = int(input()) S = N*(N+1)//2 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,202,721
s498194022
p04029
u506287026
1579325752
Python
Python (3.4.3)
py
Accepted
17
2940
48
N = int(input()) print(int(0.5 * (N ** 2 + 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,202,722
s660943126
p04029
u106342872
1579314845
Python
Python (3.4.3)
py
Accepted
19
2940
36
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,202,723
s706764248
p04029
u012131682
1579313428
Python
Python (3.4.3)
py
Accepted
17
2940
87
import sys N = int(input()) sum = 0 for i in range(N + 1): sum += i print(str(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,202,724
s698821816
p04029
u548303713
1579288447
Python
Python (3.4.3)
py
Accepted
17
2940
65
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,202,725
s462204361
p04029
u427984570
1579232844
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,202,726
s051276431
p04029
u780206746
1579227926
Python
Python (3.4.3)
py
Accepted
17
2940
60
N = int(input(), 10) print(sum([n for n in 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,202,727
s598359476
p04029
u580697892
1579203047
Python
Python (3.4.3)
py
Accepted
17
2940
52
# coding: utf-8 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,202,728
s746217186
p04029
u677121387
1579156884
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,202,729
s655821619
p04029
u380524497
1579112183
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,202,730
s591733819
p04029
u854685063
1579053802
Python
Python (3.4.3)
py
Accepted
18
3064
604
import sys import math def i():return int(sys.stdin.readline().replace("\n","")) def i2():return map(int,sys.stdin.readline().replace("\n","").split()) def s():return str(sys.stdin.readline().replace("\n","")) def l():return list(sys.stdin.readline().replace("\n","")) def intl():return [int(k) for k in sys.stdin.readli...
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,202,731
s555708933
p04029
u671211357
1579053684
Python
Python (3.4.3)
py
Accepted
17
2940
70
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,202,732
s746821975
p04029
u225388820
1579053662
Python
Python (3.4.3)
py
Accepted
18
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,202,733
s492666299
p04029
u761989513
1579053643
Python
Python (3.4.3)
py
Accepted
17
2940
76
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,202,734
s627823960
p04029
u268792407
1579028736
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,202,735
s489907416
p04029
u230717961
1578930815
Python
Python (3.4.3)
py
Accepted
17
2940
57
n = int(input()) ans = sum(list(range(1,n+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,202,736
s582281215
p04029
u293459994
1578888484
Python
Python (3.4.3)
py
Accepted
17
3064
76
s = input() total = 0 for i in range(int(s)+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,202,737
s557362009
p04029
u314089899
1578849490
Python
Python (3.4.3)
py
Accepted
17
2940
38
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,202,738
s373053154
p04029
u273010357
1578789347
Python
Python (3.4.3)
py
Accepted
17
2940
75
n = int(input()) total = 0 for i in range(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,202,739
s418635513
p04029
u749770850
1578782296
Python
Python (3.4.3)
py
Accepted
17
2940
62
n = int(input()) t = 0 for i in range(n+1): t += i print(t)
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,202,740
s945837101
p04029
u178432859
1578693906
Python
Python (3.4.3)
py
Accepted
18
3060
131
def factorial(n): if n == 1: return 1 else: return n + factorial(n-1) a = int(input()) print(factorial(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,202,741
s661349017
p04029
u072717685
1578630014
Python
Python (3.4.3)
py
Accepted
17
2940
100
N = int(input()) if N % 2 == 0: r = (N + 1) * N / 2 else: r = N * (N - 1) / 2 + N print(int(r))
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,202,742
s703232116
p04029
u696444274
1578570755
Python
Python (3.4.3)
py
Accepted
17
2940
68
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,202,743
s749684560
p04029
u709686535
1578456494
Python
Python (3.4.3)
py
Accepted
17
2940
64
subin = int(input()) res = int((1+subin) * subin / 2) 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,202,744
s823795900
p04029
u896791216
1578455120
Python
Python (3.4.3)
py
Accepted
17
2940
52
n = int(input()) ans = n * (n+1) / 2 print(int(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,202,745
s988656069
p04029
u226912938
1578413801
Python
Python (3.4.3)
py
Accepted
18
2940
52
n = int(input()) ans = n * (n+1) / 2 print(int(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,202,746
s373131565
p04029
u995062424
1578363069
Python
Python (3.4.3)
py
Accepted
16
2940
80
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,202,747
s010104697
p04029
u268792407
1578358573
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,202,748
s682952315
p04029
u823044869
1578334689
Python
Python (3.4.3)
py
Accepted
17
2940
81
n = int(input()) result = 0 for i in range(1,n+1): result += i print(result)
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,202,749
s565108315
p04029
u897328029
1578261359
Python
Python (3.4.3)
py
Accepted
17
2940
61
n = int(input()) ans = sum(list(range(n, 0, -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,202,750
s734044554
p04029
u047816928
1578249099
Python
Python (3.4.3)
py
Accepted
17
2940
49
print(sum([n for n in 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,202,751
s936119044
p04029
u185037583
1578176647
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,202,752
s022984159
p04029
u906077984
1578174984
Python
Python (3.4.3)
py
Accepted
17
2940
69
N = int(input()) sum = 0 for i in range(N): 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,202,753
s635521740
p04029
u992875223
1578169858
Python
Python (3.4.3)
py
Accepted
17
2940
40
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,202,754
s820848197
p04029
u058592821
1578129017
Python
Python (3.4.3)
py
Accepted
16
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,202,755
s762080873
p04029
u757117214
1578078515
Python
Python (3.4.3)
py
Accepted
17
2940
65
n=int(input()) sum=0 for i in range(n): 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,202,756
s607296300
p04029
u609061751
1578043634
Python
Python (3.4.3)
py
Accepted
17
2940
80
import sys input = sys.stdin.readline 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,202,757
s666064016
p04029
u444238096
1577937876
Python
Python (3.4.3)
py
Accepted
18
2940
119
enji = int(input()) goukei = 0 for num in range(1,enji): goukei = goukei + num goukei = goukei + enji print(goukei)
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,202,758
s472338413
p04029
u676015657
1577922311
Python
Python (3.4.3)
py
Accepted
17
2940
69
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,202,759
s764438859
p04029
u401949008
1577919583
Python
Python (3.4.3)
py
Accepted
17
2940
32
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,202,760
s126452445
p04029
u735069283
1577853926
Python
Python (3.4.3)
py
Accepted
17
2940
59
N = int(input()) r=0 for i in range(N): r +=i+1 print(r)
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,202,761
s458901983
p04029
u241190800
1577846808
Python
Python (3.4.3)
py
Accepted
17
2940
94
children = int(input()) total = 0 for i in range(children): i += 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,202,762
s565575172
p04029
u668352391
1577827857
Python
Python (3.4.3)
py
Accepted
17
2940
75
n = int(input()) num = 0 for i in range(n): num = num + 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,202,763
s690104781
p04029
u608726540
1577824882
Python
Python (3.4.3)
py
Accepted
17
2940
58
n=int(input()) a=0 for i in range(n+1): a+=i print(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,202,764
s573156492
p04029
u530786533
1577747404
Python
Python (3.4.3)
py
Accepted
17
2940
68
n = int(input()) c = 0 for i in range(1, n+1): c += i 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,202,765
s064886124
p04029
u485566817
1577738633
Python
Python (3.4.3)
py
Accepted
17
2940
69
n = int(input()) res = 0 for i in range(n+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,202,766
s551774915
p04029
u994521204
1577720160
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,202,767
s750966995
p04029
u498975813
1577673144
Python
Python (3.4.3)
py
Accepted
17
2940
65
n = int(input()) ans=0 for i in range(n): ans+=1+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,202,768
s080746326
p04029
u683134447
1577568056
Python
Python (3.4.3)
py
Accepted
19
3060
70
n = int(input()) 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,202,769
s555173890
p04029
u961674365
1577505037
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,202,770
s641083485
p04029
u581187895
1577474991
Python
Python (3.4.3)
py
Accepted
17
2940
65
N = int(input()) ans = sum([i for i in range(1, N+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,202,771
s144384280
p04029
u327532412
1577472638
Python
Python (3.4.3)
py
Accepted
17
2940
67
n = int(input()) ans = 0 for x in range(n+1): ans += x 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,202,772
s181571470
p04029
u847901871
1577427600
Python
Python (3.4.3)
py
Accepted
17
3060
205
def sigma(n: int) -> int: sum = 0 if n != 1: sum += n sum += sigma(n-1) else: sum += n return sum return sum n = int(input()) total = sigma(n) 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,202,773
s992084850
p04029
u426572476
1577415265
Python
Python (3.4.3)
py
Accepted
37
5048
70
import math import fractions 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,202,774
s244993965
p04029
u560301743
1577415018
Python
Python (3.4.3)
py
Accepted
17
2940
44
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,202,775
s501494309
p04029
u652569315
1577407531
Python
Python (3.4.3)
py
Accepted
18
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,202,776
s046827982
p04029
u325956328
1577390702
Python
Python (3.4.3)
py
Accepted
17
2940
33
print(sum(range(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,202,777
s511406553
p04029
u114366889
1577369654
Python
Python (3.4.3)
py
Accepted
17
2940
69
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,202,778
s055007828
p04029
u861141787
1577353606
Python
Python (3.4.3)
py
Accepted
17
2940
97
def gauss(n): ans = int (n * (n + 1) / 2) return(ans) N = int(input()) print(gauss(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,202,779
s863607220
p04029
u714378447
1577325928
Python
Python (3.4.3)
py
Accepted
16
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,202,780