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
s979876879
p04029
u225388820
1571287070
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,981
s590173145
p04029
u606878291
1571285542
Python
Python (3.4.3)
py
Accepted
17
2940
163
def check(n): return sum(range(1, n + 1)) def main(): N = int(input()) result = check(n=N) 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,982
s162328279
p04029
u471684875
1571275366
Python
Python (3.4.3)
py
Accepted
17
2940
66
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,983
s402442863
p04029
u814986259
1571229238
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,984
s518339912
p04029
u376099073
1571218666
Python
Python (3.4.3)
py
Accepted
17
2940
35
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,985
s654842002
p04029
u626468554
1571193784
Python
Python (3.4.3)
py
Accepted
18
2940
75
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,986
s685289867
p04029
u578049848
1571166591
Python
Python (3.4.3)
py
Accepted
17
2940
53
N = int(input()) sum = int((1 + N)*N/2) 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,987
s151111759
p04029
u045953894
1571161249
Python
Python (3.4.3)
py
Accepted
18
2940
88
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,988
s126164359
p04029
u408791346
1571084007
Python
Python (3.4.3)
py
Accepted
17
2940
52
n = int(input()) print(sum([i+1 for i in range(n)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,989
s398516194
p04029
u901180556
1571066255
Python
Python (3.4.3)
py
Accepted
21
2940
69
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,202,990
s931409193
p04029
u203383537
1571026790
Python
Python (3.4.3)
py
Accepted
17
2940
82
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,202,991
s120569016
p04029
u281610856
1570996304
Python
Python (3.4.3)
py
Accepted
17
2940
94
n = int(input()) if n == 1: print(1) else: l = list(range(1, n + 1)) print(sum(l))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,992
s321404231
p04029
u884657429
1570921943
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,993
s174386163
p04029
u416223629
1570901902
Python
Python (3.4.3)
py
Accepted
17
2940
50
N=int(input()) print('{:.0f}'.format((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,994
s829359210
p04029
u746419473
1570828417
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,995
s085684321
p04029
u654558363
1570828177
Python
Python (3.4.3)
py
Accepted
17
2940
73
if __name__ == "__main__": 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,996
s648103666
p04029
u391059484
1570673164
Python
Python (3.4.3)
py
Accepted
17
2940
75
N = int(input()) candy = 0 for i in range(1,N+1): candy += i 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,997
s162720524
p04029
u891635666
1570618671
Python
Python (3.4.3)
py
Accepted
17
2940
42
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,998
s135037147
p04029
u263830634
1570616981
Python
Python (3.4.3)
py
Accepted
18
2940
44
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,999
s821657215
p04029
u545368057
1570554735
Python
Python (3.4.3)
py
Accepted
17
2940
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,000
s897993771
p04029
u615817983
1570519897
Python
Python (3.4.3)
py
Accepted
17
2940
39
N = int(input()) print(sum(range(N+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,001
s528757807
p04029
u727787724
1570509206
Python
Python (3.4.3)
py
Accepted
17
2940
40
n=int(input()) a=int(n*(n+1)/2) 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,203,002
s693099160
p04029
u396495667
1570481736
Python
Python (3.4.3)
py
Accepted
17
2940
82
n =int(input()) l=[1] for i in range(1,n): a = i +1 l.append(a) print(sum(l))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,003
s962309630
p04029
u614875193
1570475755
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,203,004
s042109150
p04029
u380284234
1570456837
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,203,005
s255638363
p04029
u396553339
1570426103
Python
Python (3.4.3)
py
Accepted
17
2940
41
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,203,006
s402844846
p04029
u448655578
1570382069
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,203,007
s475075622
p04029
u674064321
1570304172
Python
Python (3.4.3)
py
Accepted
18
2940
96
count = 0 for i in range(int(input()) + 1): if i == 0: continue count += i print(count)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,008
s638408039
p04029
u437638594
1570293345
Python
Python (3.4.3)
py
Accepted
17
2940
53
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,203,009
s274156327
p04029
u517447467
1570249953
Python
Python (3.4.3)
py
Accepted
17
2940
49
print(sum([i for i 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,203,010
s978415592
p04029
u079672271
1570244480
Python
Python (3.4.3)
py
Accepted
17
2940
79
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,203,011
s812206680
p04029
u517099533
1570239361
Python
Python (3.4.3)
py
Accepted
17
2940
71
a = int(input()) sum=0 for i in range(a+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,203,012
s929699691
p04029
u403986473
1570238772
Python
Python (3.4.3)
py
Accepted
17
2940
54
n = int(input()) print(sum([a for a 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,203,013
s518533788
p04029
u287431190
1570219317
Python
Python (3.4.3)
py
Accepted
17
2940
69
n = int(input()) s = 0 for i in range(n+1): s = s + i 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,203,014
s024857550
p04029
u194496802
1570213050
Python
Python (3.4.3)
py
Accepted
17
2940
78
n = input() result = 0 for i in range(int(n)): result += i+1 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,203,015
s484723812
p04029
u339537294
1570212822
Python
Python (3.4.3)
py
Accepted
17
2940
84
import sys N = input() sum=0 for i in range(1,int(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,203,016
s260582899
p04029
u048956777
1570212678
Python
Python (3.4.3)
py
Accepted
17
2940
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,203,017
s380766149
p04029
u873059840
1570126858
Python
Python (3.4.3)
py
Accepted
17
2940
68
N = int(input()) tmp =0 for i in range(1,N+1): tmp += i print(tmp)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,018
s077575624
p04029
u945181840
1570119238
Python
Python (3.4.3)
py
Accepted
18
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,203,019
s668732007
p04029
u291766461
1570116149
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,203,020
s141406856
p04029
u318508464
1569945461
Python
Python (3.4.3)
py
Accepted
17
2940
71
# coding:utf-8 n = int(input()) candy = (1 + n) * n // 2 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,203,021
s214866418
p04029
u175590965
1569897798
Python
Python (3.4.3)
py
Accepted
18
2940
34
a = int(input()) print((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,203,022
s448565979
p04029
u856957183
1569895952
Python
Python (3.4.3)
py
Accepted
17
2940
106
ninnzuu = int(input()) + 1 goukei = 0 for i in range(ninnzuu): goukei = goukei + i print(str(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,203,023
s865651673
p04029
u662449766
1569846715
Python
Python (3.4.3)
py
Accepted
17
2940
146
import sys input = sys.stdin.readline def main(): n = int(input()) print(sum(range(1, n + 1))) if __name__ == "__main__": main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,024
s383961127
p04029
u824326335
1569825408
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print((n+1)*n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,025
s996796247
p04029
u153902122
1569818599
Python
Python (3.4.3)
py
Accepted
17
2940
66
n = int(input()) x = 0 for i in range(n + 1): x += i print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,026
s244816398
p04029
u396890425
1569779164
Python
Python (3.4.3)
py
Accepted
17
2940
68
v=0 for k in range(int(input())): i = k + 1 v += i print(v)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,027
s580859294
p04029
u115188504
1569774269
Python
Python (3.4.3)
py
Accepted
19
3316
73
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,203,028
s063410902
p04029
u681917640
1569730050
Python
Python (3.4.3)
py
Accepted
17
2940
35
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,203,029
s076229514
p04029
u223904637
1569718155
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,203,030
s970709599
p04029
u747602774
1569645081
Python
Python (3.4.3)
py
Accepted
17
2940
36
N=int(input()) S=(N+1)*N//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,203,031
s753660275
p04029
u821989875
1569526037
Python
Python (3.4.3)
py
Accepted
18
2940
87
# -*- coding: utf-8 -*- 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,203,032
s984702848
p04029
u397942996
1569443922
Python
Python (3.4.3)
py
Accepted
17
2940
117
#幼稚園の子供の数N N = input() list_num = list(range(1,int(N)+1)) sum_list = sum(list_num) print(sum_list)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,033
s913216598
p04029
u799751074
1569432399
Python
Python (3.4.3)
py
Accepted
20
3060
134
from sys import stdin count = 1 n = int(stdin.readline().rstrip()) s = 0 for i in range(n): s += count count += 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,203,034
s029890903
p04029
u470359972
1569423033
Python
Python (3.4.3)
py
Accepted
17
2940
86
num=int(input()) candy=0 ans=0 for i in range(num): candy+=1 ans+=candy 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,203,035
s084485006
p04029
u672898046
1569384384
Python
Python (3.4.3)
py
Accepted
18
2940
61
n = int(input()) c = 0 for i in range(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,203,036
s250571653
p04029
u214122599
1569377981
Python
Python (3.4.3)
py
Accepted
17
2940
74
n = int(input()) k = 0 for i in range(n + 1): k += i i + 1 print(k)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,037
s661643858
p04029
u893063840
1569329709
Python
Python (3.4.3)
py
Accepted
17
2940
102
# -*- coding: utf-8 -*- 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,203,038
s964650450
p04029
u723590269
1569327293
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,203,039
s249790762
p04029
u873715358
1569267385
Python
Python (3.4.3)
py
Accepted
18
2940
75
child = int(input()) sum = 0 for i in range(child+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,203,040
s121134386
p04029
u779170803
1569219163
Python
Python (3.4.3)
py
Accepted
17
2940
225
INT = lambda: int(input()) INTM = lambda: map(int,input().split()) STR = lambda: str(input()) LIST = lambda: list(map(int,input().split())) def do(): N = INT() print(int(N*(N+1)/2)) if __name__ == '__main__': do()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,041
s369614067
p04029
u953753178
1569214562
Python
Python (3.4.3)
py
Accepted
17
2940
41
N = int(input()) print(int(N*(N+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,042
s123140804
p04029
u167908302
1569204447
Python
Python (3.4.3)
py
Accepted
17
2940
51
#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,203,043
s816821825
p04029
u404794295
1569178290
Python
Python (3.4.3)
py
Accepted
18
3060
106
N=int(input()) def sum(N): if N==1: return 1 else: return N+sum(N-1) print(sum(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,203,044
s793283191
p04029
u305732215
1569121819
Python
Python (3.4.3)
py
Accepted
17
2940
52
n = int(input()) ans = (1+n) * n / 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,203,045
s435101158
p04029
u661980786
1569108164
Python
Python (3.4.3)
py
Accepted
18
2940
71
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,203,046
s042290163
p04029
u336624604
1569096319
Python
Python (3.4.3)
py
Accepted
17
2940
42
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,203,047
s055835035
p04029
u707690642
1569078490
Python
Python (3.4.3)
py
Accepted
17
2940
79
N = int(input()) sigma = 0 for i in range(N + 1): sigma += i print(sigma)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,048
s848670874
p04029
u385244248
1569060346
Python
Python (3.4.3)
py
Accepted
17
2940
46
print(sum([i+1 for i in range(int(input()))]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,049
s768020511
p04029
u924374652
1569034024
Python
Python (3.4.3)
py
Accepted
17
2940
72
n = int(input()) sum = 0 for i in range(1, n + 1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,050
s560396291
p04029
u597047658
1569026125
Python
Python (3.4.3)
py
Accepted
17
2940
74
N = int(input()) candies = [n for n in range(1, N+1)] print(sum(candies))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,051
s916437692
p04029
u821989875
1569024589
Python
Python (3.4.3)
py
Accepted
17
2940
100
# -*- cording: utf-8 -*- n = int(input()) candy = 0 for i in range(n): candy += i + 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,203,052
s927752574
p04029
u333731247
1568962048
Python
Python (3.4.3)
py
Accepted
17
2940
39
N=int(input()) print(int(0.5*N*(N+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,053
s475212883
p04029
u202570162
1568933598
Python
Python (3.4.3)
py
Accepted
17
3064
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,203,054
s671039988
p04029
u062484507
1568908179
Python
Python (3.4.3)
py
Accepted
17
2940
68
N = int(input()) a = [i for i in range(N+1)] ans = sum(a) 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,203,055
s655153935
p04029
u636290142
1568893695
Python
Python (3.4.3)
py
Accepted
17
2940
73
n = int(input()) sum = 0 for i in range(1, n+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,056
s247676163
p04029
u463775490
1568880845
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,203,057
s353248056
p04029
u480138356
1568864817
Python
Python (3.4.3)
py
Accepted
18
2940
136
import sys input = sys.stdin.readline def main(): N = int(input()) print(((1+N)*N)//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,203,058
s786865617
p04029
u131264627
1568777906
Python
Python (3.4.3)
py
Accepted
17
2940
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,203,059
s268490854
p04029
u699699071
1568773068
Python
Python (3.4.3)
py
Accepted
17
2940
75
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,203,060
s071993112
p04029
u608355135
1568731831
Python
Python (3.4.3)
py
Accepted
17
2940
51
a = int(input()) b = a * (a + 1) / 2 print(int(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,203,061
s356334943
p04029
u296518383
1568692577
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,203,062
s000372394
p04029
u231122239
1568692201
Python
Python (3.4.3)
py
Accepted
17
2940
35
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,063
s860162148
p04029
u710907926
1568682559
Python
Python (3.4.3)
py
Accepted
17
2940
80
A = int(input()) result = 0 for i in range(A): result += i+1 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,203,064
s160005497
p04029
u460737328
1568682419
Python
Python (3.4.3)
py
Accepted
17
2940
34
N = int(input()) print((1+N)*N//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,065
s489307804
p04029
u055687574
1568512740
Python
Python (3.4.3)
py
Accepted
17
2940
40
n = int(input()) print(sum(range(n+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,066
s220397860
p04029
u908349502
1568506719
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,203,067
s338365037
p04029
u354916249
1568480265
Python
Python (3.4.3)
py
Accepted
17
2940
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,203,068
s279503835
p04029
u575560095
1568480125
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,203,069
s950093030
p04029
u536177854
1568426028
Python
Python (3.4.3)
py
Accepted
17
2940
64
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,203,070
s830616544
p04029
u503755120
1568407714
Python
Python (3.4.3)
py
Accepted
17
2940
39
N=int(input()) X=(N*(N+1))//2 print(X)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,071
s627544097
p04029
u252828980
1568395280
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,072
s861997246
p04029
u760767494
1568381990
Python
Python (3.4.3)
py
Accepted
20
2940
77
N=int(input()) a=N//2 b=N%2 if b==0: x=(N+1)*a else: x=(N+1)*a+a+1 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,073
s285559093
p04029
u502304480
1568234243
Python
Python (3.4.3)
py
Accepted
17
2940
54
n = int(input()) l = list(range(1, n+1)) print(sum(l))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,074
s477628520
p04029
u970082363
1568232950
Python
Python (3.4.3)
py
Accepted
17
2940
35
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,075
s656098110
p04029
u759412327
1568228537
Python
Python (3.4.3)
py
Accepted
20
2940
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,076
s741713508
p04029
u787456042
1568228535
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,203,077
s197908643
p04029
u008357982
1568202287
Python
Python (3.4.3)
py
Accepted
17
2940
30
n=int(input());print(n*-~n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,078
s268969242
p04029
u008357982
1568202155
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,203,079
s109963814
p04029
u469254913
1568169161
Python
Python (3.4.3)
py
Accepted
17
2940
75
N = int(input()) res = 0 for i in range(1,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,203,080