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
s878502426
p04029
u816631826
1547601757
Python
Python (3.4.3)
py
Accepted
18
2940
169
while True: try: n = int(input()) sum = int(0) for i in range(1, n+1): sum += i print(sum) except: break;
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,681
s718550487
p04029
u171366497
1547583554
Python
Python (3.4.3)
py
Accepted
18
2940
63
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,203,682
s009253365
p04029
u924895886
1547496448
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,683
s800936893
p04029
u033524082
1547480117
Python
Python (3.4.3)
py
Accepted
19
3064
83
n=int(input()) ans=0 kari=0 for i in range(n): kari+=1 ans+=kari 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,684
s457032869
p04029
u619819312
1547477339
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,685
s436025987
p04029
u175034939
1547416997
Python
Python (3.4.3)
py
Accepted
18
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,686
s028637446
p04029
u231647664
1547328656
Python
Python (3.4.3)
py
Accepted
18
2940
55
a = int(input()) l = range(1, a+1) b = sum(l) 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,203,687
s034234286
p04029
u593063683
1547250274
Python
Python (3.4.3)
py
Accepted
17
2940
40
# A 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,688
s718666341
p04029
u762682474
1547039767
Python
Python (3.4.3)
py
Accepted
17
2940
106
def execute(n): return n * (1 + n) // 2 if __name__ == '__main__': print(execute(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,689
s890958823
p04029
u593063683
1546886581
Python
Python (3.4.3)
py
Accepted
18
2940
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,690
s478909147
p04029
u943004959
1546757377
Python
Python (3.4.3)
py
Accepted
18
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,691
s089529459
p04029
u658978681
1546669400
Python
Python (3.4.3)
py
Accepted
18
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,692
s788308124
p04029
u813916554
1546569124
Python
Python (3.4.3)
py
Accepted
17
2940
36
n=input() n=int(n) 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,693
s240465660
p04029
u785578220
1546489083
Python
Python (3.4.3)
py
Accepted
17
2940
64
a = int(input()) b = 0 for i in range(1,a+1): b +=i print(b)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,694
s725045904
p04029
u216631280
1546482095
Python
Python (3.4.3)
py
Accepted
18
2940
44
n = int(input()) print(int((1 + n) * n / 2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,695
s368210898
p04029
u597374218
1546475190
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,696
s571722848
p04029
u272557899
1546466243
Python
Python (3.4.3)
py
Accepted
17
2940
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,203,697
s091619620
p04029
u066455063
1546399625
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,203,698
s487658473
p04029
u281303342
1546392273
Python
Python (3.4.3)
py
Accepted
18
2940
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,699
s300724177
p04029
u892796322
1546313014
Python
Python (3.4.3)
py
Accepted
17
2940
40
n = int(input()) print(int(1/2*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,700
s506553747
p04029
u071061942
1546303759
Python
Python (3.4.3)
py
Accepted
18
2940
54
N = int(input()) ans = int(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,701
s576029582
p04029
u089032001
1546299377
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,702
s749004004
p04029
u586149955
1546295994
Python
Python (3.4.3)
py
Accepted
17
2940
36
print(sum(range(int(input()) + 1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,703
s656341782
p04029
u586478468
1546275360
Python
Python (3.4.3)
py
Accepted
17
2940
68
a = int(input()) ans = 0 while(a>0): ans+=a a-=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,203,704
s752098195
p04029
u126823513
1546258480
Python
Python (3.4.3)
py
Accepted
17
2940
55
n = int(input()) print(sum([i for i in 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,705
s370330276
p04029
u239342230
1546255542
Python
Python (3.4.3)
py
Accepted
17
2940
35
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,203,706
s309699614
p04029
u048945791
1546201959
Python
Python (3.4.3)
py
Accepted
19
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,707
s610885194
p04029
u643840641
1546097754
Python
Python (3.4.3)
py
Accepted
18
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,708
s638686189
p04029
u740284863
1546084080
Python
Python (3.4.3)
py
Accepted
17
3060
95
def sum(x): if x == 1: return 1 else: return sum(x-1)+x print(sum(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,709
s740816039
p04029
u726439578
1545975872
Python
Python (3.4.3)
py
Accepted
20
2940
54
n=int(input()) a=[i for i in range(n+1)] print(sum(a))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,710
s723308412
p04029
u916806287
1545909378
Python
Python (3.4.3)
py
Accepted
17
2940
38
n = int(input()) print(int((1+n)*n/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,711
s247652711
p04029
u129978636
1545861390
Python
Python (3.4.3)
py
Accepted
20
3060
33
print(sum(range(int(input())+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,712
s050524247
p04029
u129978636
1545861127
Python
Python (3.4.3)
py
Accepted
17
2940
57
j = 0 for i in range(int(input())+1): j += i print(j)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,713
s303754752
p04029
u886274153
1545814434
Python
Python (3.4.3)
py
Accepted
18
2940
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,714
s875869059
p04029
u572561929
1545757150
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,715
s779624857
p04029
u052332717
1545751896
Python
Python (3.4.3)
py
Accepted
19
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,716
s916492094
p04029
u424103788
1545629767
Python
Python (3.4.3)
py
Accepted
18
2940
40
N = int(input()) print(int((1+N)*N/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,717
s429920262
p04029
u546074985
1545402663
Python
Python (3.4.3)
py
Accepted
17
2940
71
a = int(input()) o = 0 for x in range(1, a+1): o += x print(o)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,718
s243401011
p04029
u060936992
1545267230
Python
Python (3.4.3)
py
Accepted
18
2940
61
# n=int(input()) a=0 for i in range(n): a+=i+1 print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,719
s793486032
p04029
u472400577
1545256092
Python
Python (3.4.3)
py
Accepted
17
2940
59
n = int(input()) print((n>=2)*(int((1+n)/2*n))or(n==1)*(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,720
s829831124
p04029
u589726284
1545253856
Python
Python (3.4.3)
py
Accepted
18
2940
43
N = int(input()) print(int((N * (N+1))/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,721
s791976061
p04029
u439392790
1545233311
Python
Python (3.4.3)
py
Accepted
17
2940
37
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,722
s909341819
p04029
u887207211
1545192420
Python
Python (3.4.3)
py
Accepted
18
2940
70
N = int(input()) cnt = 0 for i in range(1,N+1): cnt += i print(cnt)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,723
s078820270
p04029
u880373275
1545169594
Python
Python (3.4.3)
py
Accepted
18
2940
101
def main(): n = int(input()) print(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,203,724
s385461886
p04029
u364741711
1545163202
Python
Python (3.4.3)
py
Accepted
17
2940
36
n=int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,725
s200878974
p04029
u694370915
1545087970
Python
Python (3.4.3)
py
Accepted
18
2940
70
a = int(input()) cnt = 0 for i in range(a+1): cnt += i print(cnt)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,726
s917904203
p04029
u762420987
1545061258
Python
Python (3.4.3)
py
Accepted
20
3060
70
N = int(input()) num = 0 for n in range(N): num += n+1 print(num)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,727
s066213540
p04029
u445511055
1544990161
Python
Python (3.4.3)
py
Accepted
18
2940
143
# -*- coding: utf-8 -*- def main(): """Function.""" n = int(input()) print((n + 1)*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,728
s602219256
p04029
u933214067
1544900225
Python
Python (3.4.3)
py
Accepted
37
5148
237
from statistics import mean, median,variance,stdev import sys import math #x = input().split() #y = input().split() x = int(input()) #for i in range(len(x)): # a.append(int(x[i])) num =0 for i in range(x): num+=(i+1) print(num)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,729
s013234036
p04029
u272377260
1544898577
Python
Python (3.4.3)
py
Accepted
19
2940
44
n = int(input()) print(int((1 + n) * n /2 ))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,730
s826251424
p04029
u434208140
1544895538
Python
Python (3.4.3)
py
Accepted
18
2940
32
a=int(input()) print(a*(a+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,731
s933112441
p04029
u557437077
1544847008
Python
Python (3.4.3)
py
Accepted
18
2940
76
n = int(input()) if n == 1: print(1) else: print(int((1 + n)*(n/2)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,732
s127543979
p04029
u371467115
1544670769
Python
Python (3.4.3)
py
Accepted
17
2940
61
N=int(input()) i=1 s=0 while i<=N: 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,203,733
s241250467
p04029
u371467115
1544661663
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,734
s285574089
p04029
u201234972
1544582052
Python
Python (3.4.3)
py
Accepted
18
2940
36
N = int( input()) print( N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,735
s208575331
p04029
u669382434
1544563665
Python
Python (3.4.3)
py
Accepted
17
2940
44
print(sum(i for i in range(int(input())+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,736
s479300409
p04029
u928784113
1544504745
Python
Python (3.4.3)
py
Accepted
17
2940
63
# -*- 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,737
s889922737
p04029
u764056643
1544503833
Python
Python (3.4.3)
py
Accepted
17
2940
41
n = int(input()) print(n * (n + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,738
s762333580
p04029
u695811449
1544433317
Python
Python (3.4.3)
py
Accepted
18
2940
32
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,739
s745235915
p04029
u623954643
1544316716
Python
Python (3.4.3)
py
Accepted
19
2940
34
a = int(input()) print(a*(a+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,740
s545754386
p04029
u514383727
1544247900
Python
Python (3.4.3)
py
Accepted
18
2940
50
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,741
s640271106
p04029
u140251125
1544022655
Python
Python (3.4.3)
py
Accepted
18
2940
82
# input 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,203,742
s697415021
p04029
u761529120
1543975060
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,743
s604881595
p04029
u515364861
1543966892
Python
Python (3.4.3)
py
Accepted
17
2940
61
N = int(input()) a = 0 for i in range(N+1): a+=i print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,744
s177978123
p04029
u440191278
1543966758
Python
Python (3.4.3)
py
Accepted
18
2940
453
import sys # 関数 solve は,もちろん,問題に応じて書き換える def solve(n): s = 0 for i in range(n): s+=(i+1) return s # ここから下は,入力・出力形式が同じであれば,変えなくて良い. def readQuestion(): line = sys.stdin.readline().rstrip() return int(line) def main(): n = readQuestion() answer = solve(n) print(answer) if _...
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,745
s304141637
p04029
u983967747
1543965969
Python
Python (3.4.3)
py
Accepted
18
2940
77
b = input("") count = 0 for i in range(1,int(b)+1): count+=i print(count)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,746
s386882620
p04029
u237362582
1543934336
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,747
s207773260
p04029
u620945921
1543702961
Python
Python (3.4.3)
py
Accepted
17
2940
55
n=int(input()) x=0 for i in range(n): x+=i+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,748
s511443284
p04029
u588093355
1543671151
Python
Python (3.4.3)
py
Accepted
19
2940
295
#!/usr/bin/env python3 import sys def solve(n): s = 0 for i in range(1,n+1): s += i print(s) def readQuestion(): ws = sys.stdin.readline().strip().split() n = int(ws[0]) return (n,) def main(): solve(*readQuestion()) # Uncomment before submission 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,749
s155970189
p04029
u844789719
1543372453
Python
Python (3.4.3)
py
Accepted
18
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,750
s994020292
p04029
u064408584
1543122545
Python
Python (3.4.3)
py
Accepted
17
2940
69
a=int(input()) c=0 for i in range(a): c+=i+1 print(c)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,751
s076858430
p04029
u919521780
1542946007
Python
Python (3.4.3)
py
Accepted
17
2940
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,203,752
s727974470
p04029
u060392346
1542914183
Python
Python (3.4.3)
py
Accepted
17
2940
43
N = int(input()) print(int(N * (N+1) / 2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,753
s373648997
p04029
u555962250
1542765369
Python
Python (3.4.3)
py
Accepted
19
2940
44
N = int(input()) print(int(N * (N + 1) / 2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,754
s037158003
p04029
u330039499
1542518360
Python
Python (2.7.6)
py
Accepted
10
2568
49
N = 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,203,755
s679660542
p04029
u993642190
1542499533
Python
Python (3.4.3)
py
Accepted
17
2940
44
n = int(input()) print(int((1 + n) * n / 2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,756
s589204854
p04029
u001024152
1542384891
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,757
s169657009
p04029
u255280439
1542309207
Python
Python (3.4.3)
py
Accepted
38
4688
3,018
import sys import math import collections import itertools import array import inspect # Set max recursion limit sys.setrecursionlimit(1000000) # Debug output def chkprint(*args): names = { id(v): k for k, v in inspect.currentframe().f_back.f_locals.items() } print(', '.join( name...
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,758
s291226223
p04029
u782098901
1541968734
Python
Python (3.4.3)
py
Accepted
18
2940
41
N = int(input()) print(N * (N + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,759
s379936764
p04029
u461636820
1541746609
Python
Python (3.4.3)
py
Accepted
16
2940
45
N = int(input()) cnt = N *(1+N)//2 print(cnt)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,760
s321074889
p04029
u939552576
1541712434
Python
Python (3.4.3)
py
Accepted
19
2940
64
ans = 0 for i in range(int(input())): 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,203,761
s047252565
p04029
u369212307
1541651812
Python
Python (3.4.3)
py
Accepted
17
2940
143
num = int(input()) mlp = int(num / 2) bf_ans = (1 + num) * mlp if num % 2 == 0: ans = bf_ans else : ans = bf_ans + (mlp + 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,203,762
s269346667
p04029
u390694622
1541643485
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,763
s991966840
p04029
u759360502
1541624910
Python
Python (3.4.3)
py
Accepted
18
2940
68
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,203,764
s873056189
p04029
u869728296
1541622465
Python
Python (3.4.3)
py
Accepted
18
2940
59
N=int(input()) a=0 for i in range(N+1): a+=i print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,765
s471676481
p04029
u977642052
1541560913
Python
Python (3.4.3)
py
Accepted
17
2940
53
N = int(input()) a = 1 print(int(((a + 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,203,766
s320684983
p04029
u397531548
1541535575
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,767
s996697126
p04029
u273201018
1541453730
Python
Python (3.4.3)
py
Accepted
17
2940
43
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,768
s896681757
p04029
u883048396
1541382174
Python
Python (3.4.3)
py
Accepted
19
3316
75
def calcTriangle(x): return x*(x+1)//2 print(calcTriangle(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,769
s740772806
p04029
u883048396
1541380291
Python
Python (3.4.3)
py
Accepted
16
2940
63
ans = 0 for i in range(1,int(input())+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,770
s010764254
p04029
u943657163
1541268166
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,771
s760203670
p04029
u059727354
1541094760
Python
Python (3.4.3)
py
Accepted
17
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,203,772
s259812070
p04029
u059727354
1541094683
Python
Python (3.4.3)
py
Accepted
17
2940
41
n = int(input()) print(n * (n + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,773
s414686608
p04029
u350997995
1541037994
Python
Python (3.4.3)
py
Accepted
17
2940
61
N = int(input()) S = 0 for i in range(N+1): S += i print(S)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,774
s175533536
p04029
u432805419
1540957369
Python
Python (3.4.3)
py
Accepted
17
2940
42
a = int(input()) print(int((a + 1)*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,775
s201682507
p04029
u294000907
1540869460
Python
Python (3.4.3)
py
Accepted
17
2940
84
#!/usr/bin/env python3 # -*- coding: utf-8 -*- 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,776
s130058589
p04029
u143189168
1540864450
Python
Python (3.4.3)
py
Accepted
17
2940
77
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,203,777
s920490748
p04029
u143189168
1540864185
Python
Python (3.4.3)
py
Accepted
17
2940
77
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,203,778
s645357351
p04029
u897302879
1540863014
Python
Python (3.4.3)
py
Accepted
17
2940
42
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,779
s845319656
p04029
u240793404
1540821960
Python
Python (3.4.3)
py
Accepted
17
2940
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,203,780