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
s435703707
p04029
u524343822
1485228735
Python
Python (2.7.6)
py
Accepted
17
2692
28
a = input() print a*(a+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,081
s393287666
p04029
u788681441
1484963923
Python
Python (3.4.3)
py
Accepted
24
3064
58
n = int(input()) n = sum([x for x in range(n+1)]) print(n)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,082
s420260587
p04029
u012693733
1484630944
Python
Python (2.7.6)
py
Accepted
16
2568
76
n = int(raw_input()) cnt = 0 for i in xrange(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,204,083
s036092252
p04029
u614550445
1484523977
Python
Python (3.4.3)
py
Accepted
23
3064
34
N = int(input()) print((N+1)*N//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,084
s540890010
p04029
u815524843
1483557491
Python
Python (2.7.6)
py
Accepted
17
2568
31
N = input() print N * (N+1) / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,085
s493620045
p04029
u423925725
1483373244
Python
Python (3.4.3)
py
Accepted
23
3064
154
# coding: utf-8; def main(): n = int(input()) r = 0 for i in range(1, n + 1): r += i print(r) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,086
s954515706
p04029
u386131832
1483077741
Python
Python (3.4.3)
py
Accepted
23
3064
74
def fun(x): return x if x==1 else x+fun(x-1) print(fun(int(input())))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,087
s865119589
p04029
u580920947
1482717368
Python
Python (3.4.3)
py
Accepted
22
3064
107
# -*- coding: utf-8 -*- # problem A 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,204,088
s738423453
p04029
u637175065
1482706645
Python
Python (3.4.3)
py
Accepted
51
5420
229
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time sys.setrecursionlimit(10**7) inf = 10**20 mod = 10**9 + 7 def main(): n = int(input()) return int(n*(n+1) // 2) print(main())
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,089
s449658998
p04029
u942697937
1482041594
Python
Python (2.7.6)
py
Accepted
17
2692
42
N = int(raw_input()) print N * (N + 1) / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,090
s683744506
p04029
u333917945
1480892488
Python
Python (3.4.3)
py
Accepted
22
3064
39
n = int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,091
s900777732
p04029
u596276291
1480652930
Python
Python (3.4.3)
py
Accepted
22
3064
227
# 初項a,交差dの数列n個の和 def arithmetic_series(a, d, n): return n * (2 * a + (n - 1) * d) // 2 def main(): n = int(input()) print(arithmetic_series(1, 1, n)) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,092
s636631876
p04029
u596276291
1479565395
Python
Python (3.4.3)
py
Accepted
25
3064
116
def main(): n = int(input()) print(sum(i for i in 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,204,093
s587831748
p04029
u858392771
1479511296
Python
Python (3.4.3)
py
Accepted
23
3064
61
N=int(input()) a=0 for i in range(1,N+1): a=a+i print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,094
s934112227
p04029
u841517236
1479508720
Python
Python (2.7.6)
py
Accepted
17
2568
75
N = input() i = 0 a = 0 while(i<=N): a = a + i i = 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,204,095
s310499818
p04029
u417914064
1479508651
Python
Python (3.4.3)
py
Accepted
23
3064
69
N=int(input()) a=0 for count in range(N): a=a+(1+count) 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,204,096
s698679797
p04029
u308850614
1479508597
Python
Python (3.4.3)
py
Accepted
24
3064
74
N =int(input()) sum =0 for i in range(1,N+1): sum = i+sum print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,097
s534187143
p04029
u982020214
1479343597
Python
Python (3.4.3)
py
Accepted
23
3064
70
N = int(input()) sum = 0 for i in range(N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,098
s229704141
p04029
u025504404
1478974662
Python
Python (3.4.3)
py
Accepted
23
3064
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,204,099
s461804485
p04029
u831695469
1478937679
Python
Python (3.4.3)
py
Accepted
23
3064
125
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,204,100
s558007484
p04029
u043805613
1478917850
Python
Python (2.7.6)
py
Accepted
16
2568
63
N=int(input()) sum=0 for i in range(N+1): sum+=i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,101
s622704762
p04029
u089636269
1478908553
Python
Python (3.4.3)
py
Accepted
23
3064
128
# coding: UTF8 # python3 # input = "10" input = input() sum = 0 for num in range(1,int(input) + 1): sum += num; print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,102
s202691584
p04029
u999536956
1478887038
Python
Python (2.7.6)
py
Accepted
16
2568
59
N = input() c = 0 for i in range(1,N): c+=i print c + N
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,103
s943745739
p04029
u493916575
1478862520
Python
Python (3.4.3)
py
Accepted
23
3064
72
N = int(input()) sum = 0 for i in range(N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,104
s362466319
p04029
u272496669
1478548259
Python
Python (3.4.3)
py
Accepted
24
3064
40
n = int(input()) print(int((n*(n+1))/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,105
s923418088
p04029
u582243208
1477951676
Python
Python (3.4.3)
py
Accepted
23
3064
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,106
s111404622
p04029
u083668616
1477933098
Python
Python (2.7.6)
py
Accepted
17
2568
93
def calc(n): return n * (n+1) / 2 def main(): n = int(raw_input()) print calc(n) main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,107
s199943743
p04029
u354630369
1477809512
Python
Python (2.7.6)
py
Accepted
16
2568
42
N = int(raw_input()) print N * (N+1) / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,108
s245983012
p04029
u117095520
1477672346
Python
Python (2.7.6)
py
Accepted
16
2568
76
N = int(raw_input()) ans = 0 for n in xrange(1, N+1): ans += n print ans
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,109
s728127095
p04029
u386349298
1477661595
Python
Python (3.4.3)
py
Accepted
24
3064
79
data = int(input()) cnt = 0 for i in range(1, data+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,204,110
s290873426
p04029
u810799221
1477198191
Python
Python (3.4.3)
py
Accepted
23
3064
85
N = int(input()) i = 1 answer = 0 while i <= N: answer += i i += 1 print(answer)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,111
s041222523
p04029
u471797506
1476589806
Python
Python (2.7.6)
py
Accepted
39
4392
147
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll N = int(raw_input()) print N*(N + 1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,112
s638377120
p04029
u065683101
1475459382
Python
Python (3.4.3)
py
Accepted
23
3064
180
def read(): return int(input()) def reads(sep=None): return list(map(int, input().split(sep))) def main(): n = read() print(sum([i+1 for i in range(n)])) main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,113
s981073779
p04029
u608854150
1473878015
Python
Python (3.4.3)
py
Accepted
40
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,204,114
s050376099
p04029
u555199741
1473732571
Python
Python (2.7.6)
py
Accepted
27
2568
35
n = input() print n * (n + 1) / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,115
s854129952
p04029
u095015466
1473284124
Python
Python (2.7.6)
py
Accepted
28
2568
36
N = int(raw_input()) print N*(N+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,116
s052084325
p04029
u664031692
1473135012
Python
Python (2.7.6)
py
Accepted
27
2568
28
n = input() print n*(n+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,117
s696862992
p04029
u816175360
1473132096
Python
Python (3.4.3)
py
Accepted
37
3064
33
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,118
s530438865
p04029
u544337787
1473125059
Python
Python (2.7.6)
py
Accepted
28
2568
43
n = int(raw_input()) print sum(range(n+1))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,119
s883971291
p04029
u284188208
1473102024
Python
Python (2.7.6)
py
Accepted
28
2568
60
a = input() b = 0 c = 1 for i in range(a): b += i+1 print b
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,120
s473336465
p04029
u712335892
1472961393
Python
Python (3.4.3)
py
Accepted
42
3064
68
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,204,121
s707988232
p04029
u357487020
1472960649
Python
Python (2.7.6)
py
Accepted
28
2568
26
n=input() print((n+1)*n/2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,122
s639899705
p04029
u030110634
1472775772
Python
Python (3.4.3)
py
Accepted
40
3064
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,204,123
s086324229
p04029
u289792007
1472691424
Python
Python (2.7.6)
py
Accepted
26
2568
80
count = 0 n = int(raw_input()) for i in range(1,n+1): count += i print count
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,124
s679893153
p04029
u411544692
1472616879
Python
Python (2.7.6)
py
Accepted
27
2568
27
N=input() print N*(N+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,125
s479802725
p04029
u461954362
1472561679
Python
Python (3.4.3)
py
Accepted
38
3064
64
#!/usr/bin/env python N = int(input()) print(N * (N + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,126
s140795517
p04029
u706147596
1472412316
Python
Python (2.7.6)
py
Accepted
25
2568
79
N = int(raw_input()) sum = 0 for i in xrange(N+1): sum += i print sum
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,127
s842714132
p04029
u159043787
1472348582
Python
Python (2.7.6)
py
Accepted
25
2568
30
N = input() print ((1+N)*N/2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,128
s743130466
p04029
u783939477
1472242799
Python
Python (3.4.3)
py
Accepted
42
3064
118
from sys import stdin, stdout n = int(stdin.read().strip()) result = str(int(n * (n + 1) / 2)) stdout.write(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,204,129
s132553720
p04029
u542939897
1472185874
Python
Python (2.7.6)
py
Accepted
27
2568
65
N=int(raw_input()) n=0 for i in range(0,N+1): n+=i print n
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,130
s252616999
p04029
u492932526
1472177140
Python
Python (2.7.6)
py
Accepted
27
2568
47
n = int(raw_input()) s = n*( n+1)/2 print s
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,131
s378388460
p04029
u760868074
1472174434
Python
Python (3.4.3)
py
Accepted
37
3064
46
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,204,132
s786803711
p04029
u041703540
1472001253
Python
Python (3.4.3)
py
Accepted
39
3064
72
sum = 0 for i in range(1, int(input())+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,204,133
s378277987
p04029
u824147251
1471952600
Python
Python (3.4.3)
py
Accepted
42
3444
34
n = int(input()) print((n+1)*n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,134
s392965960
p04029
u438131499
1471900991
Python
Python (2.7.6)
py
Accepted
27
2568
25
n=input() print n*(n+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,135
s773834304
p04029
u343675824
1471891457
Python
Python (3.4.3)
py
Accepted
38
3064
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,204,136
s042633432
p04029
u039623862
1471732644
Python
Python (3.4.3)
py
Accepted
42
3064
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,137
s515949749
p04029
u482544950
1471704892
Python
Python (3.4.3)
py
Accepted
39
3064
67
n = input() s = 0 for i in range(0, int(n)+1): s += i print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,138
s749469324
p04029
u337931720
1471689100
Python
Python (2.7.6)
py
Accepted
27
2568
33
N = input() print N * (N + 1) / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,139
s105332995
p04029
u024612773
1471662495
Python
Python (3.4.3)
py
Accepted
40
3188
32
n=int(input());print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,140
s825322133
p04029
u149580849
1471576272
Python
Python (3.4.3)
py
Accepted
41
3064
47
n = int(input()) print(sum(list(range(1,n+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,141
s845060677
p04029
u149580849
1471576257
Python
Python (2.7.6)
py
Accepted
28
2568
47
n = int(input()) print(sum(list(range(1,n+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,142
s502739588
p04029
u149580849
1471576057
Python
Python (3.4.3)
py
Accepted
39
3064
77
n = int(input()) sum = 0 for num in range(1,n + 1): sum += num print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,143
s163136830
p04029
u682128453
1471575638
Python
Python (2.7.6)
py
Accepted
27
2568
68
i = input() ans = 0 for j in range(i+1): ans = ans + j print ans
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,144
s232046685
p04029
u696805736
1471492411
Python
Python (3.4.3)
py
Accepted
39
3064
33
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,145
s933839719
p04029
u417874416
1471468632
Python
Python (3.4.3)
py
Accepted
39
3064
67
n = int(input()) s = 0 for i in range(1, n+1): s += i print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,146
s529447193
p04029
u338686846
1471381315
Python
Python (2.7.6)
py
Accepted
26
2568
30
N = input() print ((N+1)*N/2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,147
s279392020
p04029
u233602244
1471367542
Python
Python (3.4.3)
py
Accepted
38
3064
41
n = int(input()) print(n * (n + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,148
s848518844
p04029
u713368238
1471354210
Python
Python (3.4.3)
py
Accepted
40
3064
71
n = int(input()) ame = 0 for i in range(n): ame += i + 1 print(ame)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,149
s472536163
p04029
u857605629
1471322207
Python
Python (2.7.6)
py
Accepted
27
2568
29
n = input() print (n*(n+1))/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,150
s382746615
p04029
u226155577
1471319966
Python
Python (2.7.6)
py
Accepted
26
2568
27
n = input() print n*(n+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,151
s579227035
p04029
u050708958
1471318911
Python
Python (3.4.3)
py
Accepted
39
3064
38
x = int(input()) print(int(x*(x+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,152
s881941525
p04029
u518732500
1471288457
Python
Python (3.4.3)
py
Accepted
37
3064
45
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,204,153
s480281802
p04029
u591287669
1471274555
Python
Python (3.4.3)
py
Accepted
39
3064
35
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,154
s747393846
p04029
u726905855
1471240184
Python
Python (3.4.3)
py
Accepted
39
3064
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,204,155
s826087531
p04029
u941268675
1471229263
Python
Python (2.7.6)
py
Accepted
30
2700
31
n = input() print (1 + n)*n / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,156
s306193074
p04029
u187430339
1471220667
Python
Python (2.7.6)
py
Accepted
29
2568
95
import sys #sys.stdin = open('a_2.txt', 'r') N = int(raw_input()) print str(((N+1) * N) / 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,157
s604382481
p04029
u751047721
1471215417
Python
Python (3.4.3)
py
Accepted
37
3064
65
A = 0 S = input() for n in range(1,int(S)+1): A = A + n 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,204,158
s844393304
p04029
u521667517
1471209365
Python
Python (2.7.6)
py
Accepted
30
2568
75
# coding: utf-8 import sys n = int(raw_input()) print n*(n+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,159
s126304163
p04029
u579875569
1471185157
Python
Python (3.4.3)
py
Accepted
38
3064
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,204,160
s258293956
p04029
u886545507
1471175514
Python
Python (2.7.6)
py
Accepted
27
2568
61
#coding: utf-8 #ABC043A n=int(raw_input()) print n*(n+1)/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,161
s630169262
p04029
u982123883
1471147675
Python
Python (3.4.3)
py
Accepted
41
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,204,162
s532993177
p04029
u620084012
1471146678
Python
Python (3.4.3)
py
Accepted
39
3188
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,204,163
s099162478
p04029
u277373937
1471139868
Python
Python (2.7.6)
py
Accepted
27
2568
44
N = int(raw_input()) print N * ( N + 1 ) / 2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,164
s250209313
p04029
u971801396
1471139831
Python
Python (2.7.6)
py
Accepted
27
2568
74
N=int(raw_input()) ans=0 for i in range(1,N+1): ans += i print ans
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,165
s314454259
p04029
u300538442
1471139790
Python
Python (3.4.3)
py
Accepted
38
3064
63
x=int(input()) n=0 for i in range(x): n = n+(i+1) print(n)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,166
s176516802
p04029
u583826716
1471139644
Python
Python (3.4.3)
py
Accepted
39
3064
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,204,167
s213065093
p04029
u008482168
1471138985
Python
Python (2.7.6)
py
Accepted
27
2568
34
n = int(input()) print (n*(n+1))/2
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,168
s643248505
p04029
u124139453
1471138277
Python
Python (2.7.6)
py
Accepted
26
2568
34
n = input() print int(n*(n+1)*0.5)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,169
s241650692
p04029
u945094648
1471137807
Python
Python (2.7.6)
py
Accepted
25
2568
55
n = 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,204,170
s300210857
p04029
u945094648
1471137799
Python
Python (2.7.6)
py
Accepted
46
2568
55
n = 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,204,171
s990863671
p04029
u945094648
1471137794
Python
Python (2.7.6)
py
Accepted
27
2568
55
n = 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,204,172
s657158595
p04029
u945094648
1471137791
Python
Python (2.7.6)
py
Accepted
29
2568
55
n = 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,204,173
s260757126
p04029
u048744861
1471137763
Python
Python (2.7.6)
py
Accepted
30
2692
163
def fact(n): if n == 0: return 0 return n + fact(n-1) def main(): a = int(raw_input()) print fact(a) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,174
s136776744
p04029
u330623252
1471137516
Python
Python (3.4.3)
py
Accepted
38
3064
45
n = int(input()) print(sum(range(1, n + 1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,175
s735348802
p04029
u687470137
1471137328
Python
Python (3.4.3)
py
Accepted
39
3064
40
x = int(input()) print(int(x*(x+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,176
s858549944
p04029
u077080573
1471137295
Python
Python (3.4.3)
py
Accepted
38
3064
75
ans = 0 N = int(input()) for i in range(1,N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,177
s771938262
p04029
u472492255
1471137242
Python
Python (3.4.3)
py
Accepted
38
3064
57
# 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,204,178
s497638012
p04029
u825624694
1471137231
Python
Python (3.4.3)
py
Accepted
37
3064
58
a =int(input()) s=0 for i in range(a+1): s+=i print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,179
s571030175
p04029
u587295817
1471137214
Python
Python (3.4.3)
py
Accepted
39
3064
37
a=int(input()) print(int(a*(a+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,204,180