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
s704218665
p04029
u122111917
1597940328
Python
Python (3.8.2)
py
Accepted
25
9036
89
N = int(input()) row = list(range(1, N+1, 1)) total_candy = sum(row) print(total_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,201,881
s778533507
p04029
u814886720
1597937086
Python
Python (3.8.2)
py
Accepted
27
9036
79
N=int(input()) total=0 for i in range(N): 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,201,882
s609640587
p04029
u663437630
1597933211
Python
Python (3.8.2)
py
Accepted
27
9148
56
number = int(input()) print(int((number + 1)*number/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,201,883
s942382401
p04029
u203962828
1597924669
Python
Python (3.8.2)
py
Accepted
27
8936
60
number = int(input()) print(int((number + 1) * number / 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,201,884
s943262952
p04029
u271176141
1597906190
Python
Python (3.8.2)
py
Accepted
26
8896
111
child_num = input() child_num = int(child_num) candy_num = int((child_num**2 + child_num) / 2) print(candy_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,201,885
s977229368
p04029
u271176141
1597905081
Python
Python (3.8.2)
py
Accepted
24
9036
59
n = input() n = int(n) sum = (n**2 + n) / 2 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,201,886
s661459698
p04029
u763963344
1597892044
Python
Python (3.8.2)
py
Accepted
30
9104
52
N=int(input()) answer=int(N*(N+1)/2) 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,201,887
s010904850
p04029
u070423038
1597886002
Python
Python (3.8.2)
py
Accepted
26
9028
60
a = 0 for i in range(1, int(input())+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,201,888
s161407708
p04029
u469226065
1597885974
Python
Python (3.8.2)
py
Accepted
25
9108
72
# 043A N = int(input()) answer = int(1/2 * N * (N + 1)) 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,201,889
s599743214
p04029
u010072501
1597878363
Python
Python (3.8.2)
py
Accepted
33
9036
231
# A - キャンディーとN人の子供イージー # N+(N-1)+.... # 子供の人数を入力 child_number = int(input()) # print(child_number) # 計算 answer = int(child_number * (child_number + 1) / 2) # 表示 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,201,890
s428909468
p04029
u905895868
1597860543
Python
Python (3.8.2)
py
Accepted
27
9056
140
num_of_children = int(input()) total_candy = 0 for i in range(1, num_of_children +1): total_candy = total_candy + i print(total_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,201,891
s687203888
p04029
u370721525
1597835763
Python
Python (3.8.2)
py
Accepted
26
9148
47
N = int(input()) ans = (N+1)* N // 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,201,892
s768379927
p04029
u297399512
1597834311
Python
Python (3.8.2)
py
Accepted
25
9092
98
N = int(input()) answer = 0 while not N == 0 : answer += N N -= 1 else : 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,201,893
s859868152
p04029
u051237313
1597810819
Python
Python (3.8.2)
py
Accepted
25
8964
48
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,201,894
s370245124
p04029
u169138653
1597807809
Python
Python (3.8.2)
py
Accepted
26
9048
70
n=int(input()) ans=0 for num in range(1,n+1): ans+=num 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,201,895
s486464481
p04029
u265118937
1597730555
Python
Python (3.8.2)
py
Accepted
24
9160
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,201,896
s383796635
p04029
u265118937
1597730422
Python
Python (3.8.2)
py
Accepted
24
9140
65
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,201,897
s304066049
p04029
u969708690
1597710204
Python
Python (3.8.2)
py
Accepted
29
9140
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,201,898
s968362899
p04029
u070201429
1597702863
Python
PyPy3 (7.3.0)
py
Accepted
60
61232
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,201,899
s585468411
p04029
u501451051
1597670443
Python
Python (3.8.2)
py
Accepted
32
9160
74
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,201,900
s337395664
p04029
u863370423
1597670263
Python
Python (3.8.2)
py
Accepted
26
9012
132
n = int(input()) x = (n * (n + 1)) // 2 #dsafasdfasdfasdfsadfsadfasldfjasdklfasdkfjhasdkjfhaskldjfhsakjdfhsalkdfhasdkfjhsad 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,201,901
s128252327
p04029
u793028948
1597670219
Python
Python (3.8.2)
py
Accepted
24
8980
43
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,201,902
s475257574
p04029
u814265211
1597626074
Python
Python (3.8.2)
py
Accepted
24
9032
72
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,201,903
s415751725
p04029
u512551187
1597596515
Python
PyPy3 (7.3.0)
py
Accepted
75
61288
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,201,904
s877423570
p04029
u364027015
1597585249
Python
Python (3.8.2)
py
Accepted
25
9144
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,201,905
s930250865
p04029
u239091426
1597550289
Python
Python (3.8.2)
py
Accepted
27
8852
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,201,906
s312400634
p04029
u468972478
1597507693
Python
Python (3.8.2)
py
Accepted
29
9156
64
n = int(input()) a = 0 for i in range(1, 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,201,907
s457194949
p04029
u172748267
1597479391
Python
Python (3.8.2)
py
Accepted
25
9028
36
n=int(input()) print(int((1+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,201,908
s915041628
p04029
u813387707
1597414956
Python
Python (3.8.2)
py
Accepted
25
9152
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,201,909
s626669890
p04029
u190195462
1597366687
Python
Python (3.8.2)
py
Accepted
28
9088
77
N = input() N = int(N) i=1 j=0 while i < N+1: j += i i += 1 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,201,910
s191510478
p04029
u632413369
1597339858
Python
Python (3.8.2)
py
Accepted
24
9076
71
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,201,911
s713530869
p04029
u849029577
1597283850
Python
PyPy3 (7.3.0)
py
Accepted
73
61628
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,201,912
s596371902
p04029
u571832343
1597195693
Python
Python (3.8.2)
py
Accepted
28
9096
60
n = int(input()) r = 0 while n!=0: r = r+n n-=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,201,913
s272313145
p04029
u928013091
1597184521
Python
Python (3.8.2)
py
Accepted
27
9136
85
child=int(input()) sum=0 for num in range(1, child+1): sum= 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,201,914
s918978493
p04029
u740909619
1597101380
Python
Python (3.8.2)
py
Accepted
26
9020
218
# A - キャンディーとN人の子供イージー def main(): n = int(input()) cnt = 0 for i in range(1, n+1): cnt += i else: print(cnt) 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,201,915
s946361265
p04029
u401686269
1597083959
Python
Python (3.8.2)
py
Accepted
29
8944
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,201,916
s621188671
p04029
u249987458
1597026863
Python
Python (3.8.2)
py
Accepted
32
9008
71
n = int(input()) num = 0 for i in range(1,n+1): 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,201,917
s172047622
p04029
u629607744
1596998929
Python
Python (3.8.2)
py
Accepted
24
9092
37
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,201,918
s089322548
p04029
u074220993
1596997231
Python
Python (3.8.2)
py
Accepted
31
9092
72
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,201,919
s020427797
p04029
u274615057
1596945652
Python
Python (3.8.2)
py
Accepted
25
8944
133
def main(): N = int(input()) total = [i for i in range(1, N+1)] print(sum(total)) 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,201,920
s276962873
p04029
u519339498
1596915346
Python
Python (3.8.2)
py
Accepted
27
8932
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,201,921
s395358447
p04029
u146066372
1596847664
Python
Python (3.8.2)
py
Accepted
26
9068
75
N=int(input()) total=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,201,922
s810664302
p04029
u894623942
1596827169
Python
Python (3.8.2)
py
Accepted
28
8984
65
a = int(input()) n = 0 for i in range(1,a+1): n += i print(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,201,923
s482714395
p04029
u083184913
1596810446
Python
Python (3.8.2)
py
Accepted
25
9124
37
s=int(input()) print(int(s*(s+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,201,924
s460067966
p04029
u554590385
1596768999
Python
Python (3.8.2)
py
Accepted
30
9096
82
import math N=int(input()) sum=0 for I in range(1,N+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,201,925
s374241649
p04029
u554590385
1596768936
Python
Python (3.8.2)
py
Accepted
29
9040
82
import math N=int(input()) sum=0 for I in range(1,N+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,201,926
s750859764
p04029
u500823377
1596764149
Python
Python (3.8.2)
py
Accepted
28
9040
62
s = int(input()) t = 0 for i in range(s): t += i + 1 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,201,927
s629516098
p04029
u552738814
1596761029
Python
Python (3.8.2)
py
Accepted
31
8940
78
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,201,928
s607484385
p04029
u175217658
1596746086
Python
Python (3.8.2)
py
Accepted
26
9060
78
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,201,929
s784697115
p04029
u330799501
1596641917
Python
Python (3.8.2)
py
Accepted
27
9164
269
#k = int(input()) #s = input() #a, b = map(int, input().split()) #s, t = map(str, input().split()) #l = list(map(int, input().split())) #l = [list(map(int,input().split())) for i in range(n)] 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,201,930
s876198645
p04029
u226779434
1596619584
Python
Python (3.8.2)
py
Accepted
23
9136
63
n = int(input()) a = 0 for i in range(1,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,201,931
s868245365
p04029
u442948527
1596601682
Python
Python (3.8.2)
py
Accepted
28
9084
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,201,932
s039320840
p04029
u844813573
1596596813
Python
Python (3.8.2)
py
Accepted
26
8956
38
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,201,933
s084449495
p04029
u714104087
1596571270
Python
PyPy3 (7.3.0)
py
Accepted
69
61768
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,201,934
s641544962
p04029
u174536291
1596562577
Python
Python (3.8.2)
py
Accepted
28
9148
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,201,935
s816640903
p04029
u125269142
1596507904
Python
Python (3.8.2)
py
Accepted
28
9048
55
n = int(input()) ans = int(n * (1 + n) / 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,201,936
s308953336
p04029
u806976856
1596505735
Python
Python (3.8.2)
py
Accepted
27
9148
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,201,937
s581540154
p04029
u876742094
1596476687
Python
Python (3.8.2)
py
Accepted
26
9140
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,201,938
s971299943
p04029
u582084082
1596420568
Python
Python (3.8.2)
py
Accepted
25
9144
78
n = int(input()) a = 0 b = 0 for i in range(n): a += 1 b += a 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,201,939
s373087508
p04029
u123107676
1596389765
Python
Python (3.8.2)
py
Accepted
29
8952
42
print(sum(list(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,201,940
s083767408
p04029
u123107676
1596389525
Python
Python (3.8.2)
py
Accepted
30
9168
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,201,941
s231674652
p04029
u671454079
1596389350
Python
Python (3.8.2)
py
Accepted
27
9140
71
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,201,942
s567815964
p04029
u372303722
1596389179
Python
Python (3.8.2)
py
Accepted
25
8960
66
N = int(input()) s = 0 for i in range(N): s += i+1 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,201,943
s059887686
p04029
u073729602
1596369528
Python
Python (3.8.2)
py
Accepted
25
9100
73
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,201,944
s623828201
p04029
u029929095
1596283793
Python
Python (3.8.2)
py
Accepted
25
9092
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,201,945
s951990863
p04029
u891847179
1596260373
Python
Python (3.8.2)
py
Accepted
28
8924
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,201,946
s095699559
p04029
u739843002
1596230671
Python
Python (3.8.2)
py
Accepted
26
9064
49
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,201,947
s310404824
p04029
u989851123
1596169764
Python
Python (3.8.2)
py
Accepted
27
9072
36
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,201,948
s639057328
p04029
u426764965
1596154157
Python
Python (3.8.2)
py
Accepted
27
8956
48
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,201,949
s822677359
p04029
u105099610
1596150102
Python
Python (3.8.2)
py
Accepted
22
8944
72
N = int(input()) s = 0 i = 1 while i <= N: s = s + i i += 1 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,201,950
s604233747
p04029
u981931040
1596103429
Python
PyPy3 (7.3.0)
py
Accepted
61
61836
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,201,951
s558629248
p04029
u044964932
1596065066
Python
Python (3.8.2)
py
Accepted
26
8916
145
def main(): n = int(input()) ans = 0 for i in range(1, n+1): ans += i 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,201,952
s810501446
p04029
u259190728
1596013843
Python
Python (3.8.2)
py
Accepted
25
9180
1,473
from sys import stdin,stdout import bisect import math def st(): return list(stdin.readline().strip()) def inp(): return int(stdin.readline()) def li(): return list(map(int,stdin.readline().split())) def mp(): return map(int,stdin.readline().split()) def pr(n): stdout.write(str(n)+"\n") def...
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,201,953
s026388477
p04029
u396211450
1596013839
Python
Python (3.8.2)
py
Accepted
25
8976
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,201,954
s563170814
p04029
u612519519
1595950090
Python
Python (3.8.2)
py
Accepted
29
9080
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,201,955
s802475707
p04029
u083184913
1595945029
Python
Python (3.8.2)
py
Accepted
27
9060
45
val1=int(input()) print(int(val1*(val1+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,201,956
s772285196
p04029
u099212858
1595941622
Python
Python (3.8.2)
py
Accepted
23
9024
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,201,957
s953958127
p04029
u572032237
1595931272
Python
Python (3.8.2)
py
Accepted
28
9080
70
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,201,958
s023011896
p04029
u079699418
1595917381
Python
Python (3.8.2)
py
Accepted
26
8972
80
x = int(input()) out=[] for i in range(0,x): out.append(i+1) print(sum(out))
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,201,959
s686428555
p04029
u075304271
1595910634
Python
Python (3.8.2)
py
Accepted
38
10244
210
import math import collections import fractions import itertools import functools import operator def solve(): n = int(input()) print((n*(n+1))//2) return 0 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,201,960
s517761457
p04029
u036190609
1595904065
Python
Python (3.8.2)
py
Accepted
26
9076
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,201,961
s020385401
p04029
u771541471
1595898051
Python
Python (3.8.2)
py
Accepted
23
8944
42
inp=int(input()) print(int(inp*(inp+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,201,962
s687352927
p04029
u980503157
1595870820
Python
Python (3.8.2)
py
Accepted
27
9004
70
num = int(input()) s = 0 for i in range(num): s += (i+1) 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,201,963
s188155574
p04029
u200245833
1595858450
Python
Python (3.8.2)
py
Accepted
26
9040
56
n=int(input()) i=0 while n > 0: i+=n n-=1 print(i)
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,201,964
s960854870
p04029
u306950978
1595845614
Python
PyPy3 (7.3.0)
py
Accepted
73
61708
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,201,965
s197187718
p04029
u980503157
1595827408
Python
Python (3.8.2)
py
Accepted
23
8920
70
num = int(input()) s = 0 for i in range(num): s += (i+1) 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,201,966
s598755833
p04029
u790653524
1595821812
Python
Python (3.8.2)
py
Accepted
27
9008
67
n = int(input()) a = 0 while n > 0: a += n n -= 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,201,967
s235722638
p04029
u875113233
1595794952
Python
Python (3.8.2)
py
Accepted
27
9064
92
def main(): n=int(input()) print(int(n*(n+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,201,968
s935103002
p04029
u539768961
1595723770
Python
Python (3.8.2)
py
Accepted
25
9128
75
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,201,969
s671343662
p04029
u023127434
1595709453
Python
Python (3.8.2)
py
Accepted
23
9160
71
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,201,970
s576147586
p04029
u045793300
1595685161
Python
Python (3.8.2)
py
Accepted
27
9092
85
n = int(input()) total = 0 for num in range(n+1): total = total + num 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,201,971
s021441380
p04029
u758815106
1595665020
Python
Python (3.8.2)
py
Accepted
27
8988
71
N = int(input()) r = 0 for i in range(1, N + 1): r += i 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,201,972
s820861797
p04029
u487288850
1595654262
Python
Python (3.8.2)
py
Accepted
28
9084
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,201,973
s732279727
p04029
u079699418
1595645857
Python
Python (3.8.2)
py
Accepted
24
9108
91
n = int(input()) mylist = 0 for num in range(n+1): mylist = mylist + num print(mylist)
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,201,974
s230746564
p04029
u298101891
1595637273
Python
Python (3.8.2)
py
Accepted
24
8912
66
sum = 0 for i in range(1,int(input())+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,201,975
s948290777
p04029
u088553842
1595635831
Python
Python (3.8.2)
py
Accepted
24
9008
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,201,976
s548303786
p04029
u112065131
1595568612
Python
Python (3.8.2)
py
Accepted
23
9080
175
# -*- coding: utf-8 -*- def main(): N = int(input()) ans = 0 for i in range(N + 1): ans = ans + i 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,201,977
s719136505
p04029
u119148115
1595567242
Python
PyPy3 (7.3.0)
py
Accepted
65
61564
88
import sys def I(): return int(sys.stdin.readline().rstrip()) N = I() 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,201,978
s006495726
p04029
u926046014
1595535497
Python
PyPy3 (7.3.0)
py
Accepted
92
61352
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,201,979
s543925645
p04029
u767797498
1595383402
Python
Python (3.8.2)
py
Accepted
28
9156
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,201,980