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
s230692249
p04029
u738269785
1587113150
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,381
s107770846
p04029
u068595072
1587022052
Python
Python (3.4.3)
py
Accepted
16
2940
38
n=int(input()) print((n + 1) * n // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,382
s697057757
p04029
u654701082
1587006891
Python
Python (3.4.3)
py
Accepted
20
3192
76
N = int(input()) 個数 = 0 for N in range(N+1): 個数 += N print(個数)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,383
s364628102
p04029
u848667447
1587005932
Python
Python (3.4.3)
py
Accepted
17
2940
68
N = int(input()) a = 0 for i in range(N): a += i+1 print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,384
s921667394
p04029
u652656291
1587005880
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,385
s261512829
p04029
u975644365
1586992933
Python
Python (3.4.3)
py
Accepted
17
3060
188
def resolve(n): def ans(n, a): if n == 0: return a else: a += n return ans(n-1,a) return ans(n, 0) print(resolve(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,202,386
s835452915
p04029
u068750695
1586990982
Python
Python (3.4.3)
py
Accepted
18
2940
35
n=int(input()) print(((1+n)*n)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,387
s776793604
p04029
u342456871
1586989036
Python
Python (3.4.3)
py
Accepted
17
2940
73
n = int(input()) ans = 0 for i in range(n): ans += (i+1) print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,388
s818315730
p04029
u566321790
1586979747
Python
Python (3.4.3)
py
Accepted
17
2940
70
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,202,389
s209379577
p04029
u469392996
1586929977
Python
Python (3.4.3)
py
Accepted
17
2940
83
a = input() a = int(a) +1 add = 0 for i in range(a): add = add + i print(add)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,390
s771994543
p04029
u752898745
1586922459
Python
Python (3.4.3)
py
Accepted
17
2940
71
def candy(N): return (N**2 +N)//2 N = int(input()) print(candy(N))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,391
s785986856
p04029
u568789901
1586918035
Python
Python (3.4.3)
py
Accepted
18
2940
67
N=int(input()) ans=0 for i in range(0,N+1): ans+=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,392
s257569919
p04029
u515647766
1586895571
Python
Python (3.4.3)
py
Accepted
17
2940
80
def total(n): return int(1/2 * n * (n + 1)) n = int(input()) print(total(n))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,393
s307994981
p04029
u667472448
1586876603
Python
Python (3.4.3)
py
Accepted
17
2940
48
n = int(input()) sum = int(n*(n+1)/2) print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,394
s758751034
p04029
u423665486
1586835447
Python
Python (3.4.3)
py
Accepted
17
2940
62
def resolve(): n = int(input()) print(n*(n+1)//2) resolve()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,395
s539503111
p04029
u054717609
1586828795
Python
Python (3.4.3)
py
Accepted
17
2940
42
n=input() n=int(n) s =n*(n+1)//2 print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,396
s924521186
p04029
u054717609
1586828633
Python
Python (3.4.3)
py
Accepted
17
2940
78
n=input() n=int(n) s=0 for i in range(1,n+1): s =s+i print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,397
s137963780
p04029
u239475827
1586808859
Python
Python (3.4.3)
py
Accepted
18
2940
44
N = int(input()) S = int(N*(N+1)/2) print(S)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,398
s747949456
p04029
u759884285
1586808577
Python
Python (3.4.3)
py
Accepted
17
2940
99
N = input() N = int(N) x = N total = 0 while x >=1: total += x x = x - 1 else: print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,399
s477487191
p04029
u048176319
1586765987
Python
Python (3.4.3)
py
Accepted
17
2940
48
N = int(input()) S = N * (N+1) / 2 print(int(S))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,400
s835910411
p04029
u381712637
1586753009
Python
Python (3.4.3)
py
Accepted
17
2940
87
n = int (input()) result =0 for i in range(1,n+1): result =result +i print (result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,401
s106959297
p04029
u568789901
1586747866
Python
Python (3.4.3)
py
Accepted
17
2940
67
N=int(input()) ans =0 for i in range(0,N+1): ans+=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,402
s984346845
p04029
u576432509
1586728469
Python
Python (3.4.3)
py
Accepted
17
2940
77
icase=43 if icase==43: n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,403
s555419388
p04029
u239772565
1586717236
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,404
s539211298
p04029
u238956837
1586707235
Python
Python (3.4.3)
py
Accepted
18
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,202,405
s464824507
p04029
u246343119
1586666830
Python
Python (3.4.3)
py
Accepted
17
2940
44
n = int(input()) print(int(n * (n+1) / 2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,406
s445852469
p04029
u141410514
1586662702
Python
Python (3.4.3)
py
Accepted
17
3064
37
n = int(input()) print(((n+1)*n)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,407
s690839551
p04029
u835283937
1586660077
Python
Python (3.4.3)
py
Accepted
17
2940
79
def main(): N = int(input()) num = int(N*(N+1)/2) print(num) main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,408
s687434791
p04029
u835283937
1586659661
Python
Python (3.4.3)
py
Accepted
17
2940
79
def main(): N = int(input()) num = int(N*(N+1)/2) print(num) main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,409
s273424020
p04029
u006817280
1586654872
Python
Python (3.4.3)
py
Accepted
17
2940
43
n = int(input().strip()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,410
s685943709
p04029
u535171899
1586649800
Python
Python (3.4.3)
py
Accepted
17
2940
54
n = int(input()) print(sum([i for i in range(1,n+1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,411
s542354061
p04029
u032798323
1586646959
Python
Python (3.4.3)
py
Accepted
17
2940
62
N = int(input()) a = 0 for i in range(N): a+= i+1 print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,412
s344499387
p04029
u106489129
1586611323
Python
Python (3.4.3)
py
Accepted
17
2940
57
a=int(input()) c=0 for b in range(1,a+1): c+=b print(c)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,413
s011057320
p04029
u982591663
1586606487
Python
Python (3.4.3)
py
Accepted
18
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,202,414
s939618557
p04029
u013202780
1586578696
Python
Python (3.4.3)
py
Accepted
17
2940
43
print (sum(list(range(1, int(input())+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,415
s371765082
p04029
u172296140
1586569281
Python
Python (3.4.3)
py
Accepted
17
2940
94
class add: N=int(input()) sum=0 for i in range(N): sum+=i+1 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,416
s200360069
p04029
u457957084
1586542577
Python
Python (3.4.3)
py
Accepted
17
2940
80
x = int(input()) sum = 0 for i in range(x + 1): sum = sum + i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,417
s116649422
p04029
u903005414
1586523207
Python
Python (3.4.3)
py
Accepted
17
2940
40
N = int(input()) print(N * (N + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,418
s939164794
p04029
u686036872
1586489883
Python
Python (3.4.3)
py
Accepted
17
2940
35
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,419
s179944319
p04029
u583507988
1586484899
Python
Python (3.4.3)
py
Accepted
17
2940
74
N = int(input()) ans = 0 for i in range(N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,420
s787195041
p04029
u172780602
1586483827
Python
Python (3.4.3)
py
Accepted
17
2940
76
n=int(input()) total=0 for i in range(n+1): total+=i print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,421
s613029614
p04029
u289162337
1586463899
Python
Python (3.4.3)
py
Accepted
17
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,202,422
s862623137
p04029
u373047809
1586452577
Python
Python (3.4.3)
py
Accepted
17
2940
32
n = int(input()) print(n*-~n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,423
s908787893
p04029
u698988260
1586405821
Python
Python (3.4.3)
py
Accepted
17
2940
41
N = int(input()) print(int(((N+1)*N)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,424
s768276301
p04029
u102223485
1586401247
Python
Python (3.4.3)
py
Accepted
17
2940
81
# coding: utf-8 N = int(input()) ans = sum([i + 1 for i in range(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,202,425
s593661910
p04029
u684906944
1586396927
Python
Python (3.4.3)
py
Accepted
17
2940
115
n = int(input()) if n % 2 == 0: ans = (n+1) * n/2 else: ans = (n+1) * (n // 2) + (n // 2 + 1) print(int(ans))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,426
s322088123
p04029
u934442292
1586393105
Python
Python (3.4.3)
py
Accepted
17
2940
142
import sys input = sys.stdin.readline 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,202,427
s904826770
p04029
u489959379
1586363189
Python
Python (3.4.3)
py
Accepted
16
2940
71
n = int(input()) res = 0 for i in range(n): res += i + 1 print(res)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,428
s671113438
p04029
u451206510
1586359234
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,429
s236209051
p04029
u747602774
1586355018
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,430
s559244992
p04029
u114233208
1586326694
Python
Python (3.4.3)
py
Accepted
17
2940
38
N = int(input()) print((N*(N+1))//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,431
s439018723
p04029
u201802797
1586302353
Python
Python (3.4.3)
py
Accepted
18
2940
59
# solution nancy = int(input()) print(nancy*(nancy+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,432
s646616788
p04029
u052066895
1586269781
Python
Python (3.4.3)
py
Accepted
17
2940
67
a = int(input()) b = 0 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,202,433
s512815908
p04029
u810356688
1586261292
Python
Python (3.4.3)
py
Accepted
17
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,202,434
s117267738
p04029
u235210692
1586229959
Python
Python (3.4.3)
py
Accepted
17
2940
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,435
s148946276
p04029
u939198091
1586222146
Python
Python (3.4.3)
py
Accepted
17
2940
70
if __name__ == "__main__": n = int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,436
s887488979
p04029
u959225525
1586218531
Python
Python (3.4.3)
py
Accepted
18
2940
67
n=int(input()) ans=0 for i in range(1,n+1): ans+=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,437
s620877490
p04029
u772649753
1586205443
Python
Python (3.4.3)
py
Accepted
17
2940
44
n = int(input()) N = int(n*(n+1)/2) 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,202,438
s896298063
p04029
u870841038
1586201218
Python
Python (3.4.3)
py
Accepted
19
2940
79
n = int(input()) ans = 0 for i in range(1, n+1): ans += i print(str(ans))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,439
s030560295
p04029
u443577878
1586198002
Python
Python (3.4.3)
py
Accepted
17
3068
36
N=int(input()) print(int((N+1)*N/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,440
s559310689
p04029
u000770457
1586180988
Python
Python (3.4.3)
py
Accepted
20
2940
62
n=int(input()) s=0 for i in range(0,n): s+=i+1 print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,441
s428080792
p04029
u440632112
1586135173
Python
Python (3.4.3)
py
Accepted
17
2940
73
n = int(input()); ans = 0; for i in range(n): ans += i print(ans+n)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,442
s554725542
p04029
u158032363
1586134855
Python
Python (3.4.3)
py
Accepted
19
3060
76
num = int(input()) i=0 a=0 while i <= num: a += num-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,202,443
s330672597
p04029
u158032363
1586134323
Python
Python (3.4.3)
py
Accepted
17
2940
76
num = int(input()) i=0 a=0 while i <= num: a += num-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,202,444
s566108366
p04029
u263691873
1586120255
Python
Python (3.4.3)
py
Accepted
17
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,202,445
s900021202
p04029
u060793972
1586104826
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,202,446
s062658617
p04029
u341543478
1586087222
Python
Python (3.4.3)
py
Accepted
17
2940
55
n = int(input()) print(int((n * (2 * 1 + (n -1)*1))/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,447
s267512233
p04029
u266964556
1586066735
Python
Python (3.4.3)
py
Accepted
17
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,202,448
s616356673
p04029
u755180064
1586031495
Python
Python (3.4.3)
py
Accepted
17
2940
208
url = "https://atcoder.jp/contests/abc043/tasks/abc043_a" def main(): a = int(input()) ans = 0 for i in range(1, a + 1): ans += i print(ans) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,449
s316489750
p04029
u679154596
1586010088
Python
Python (3.4.3)
py
Accepted
17
2940
90
N = int(input()) result = 0 for i in range(1, N+1): result = result + i print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,450
s772784028
p04029
u396961814
1585960617
Python
Python (3.4.3)
py
Accepted
17
2940
51
N = int(input()) ans = (1 + N) * N // 2 print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,451
s679289919
p04029
u086172144
1585957396
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,202,452
s724646587
p04029
u916478767
1585951018
Python
Python (2.7.6)
py
Accepted
10
2568
64
N = input() sum = 0 for i in range(1,N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,453
s113718651
p04029
u870297120
1585945622
Python
Python (3.4.3)
py
Accepted
17
2940
49
print(sum([i for i in range(1, int(input())+1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,454
s554220767
p04029
u151005508
1585941645
Python
Python (3.4.3)
py
Accepted
21
3316
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,455
s754553037
p04029
u080986047
1585933790
Python
Python (3.4.3)
py
Accepted
17
2940
76
a = int(input()) total = 0 for n in range(a+1): total += n print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,456
s411475360
p04029
u708019102
1585890532
Python
Python (3.4.3)
py
Accepted
17
2940
69
N = int(input()) ans = 0 for i in range(1,N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,457
s041968229
p04029
u181801282
1585881922
Python
Python (3.4.3)
py
Accepted
17
2940
32
N=int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,458
s282974453
p04029
u485319545
1585874013
Python
Python (3.4.3)
py
Accepted
18
2940
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,202,459
s742930200
p04029
u541610817
1585797495
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,202,460
s544871160
p04029
u536836760
1585795886
Python
Python (3.4.3)
py
Accepted
18
2940
71
N = int(input()) sum = 0 for i in range(0,N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,461
s569747398
p04029
u218838821
1585794139
Python
Python (3.4.3)
py
Accepted
19
2940
73
n = int(input()) ans = 0 for i in range(n+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,462
s582006512
p04029
u702517202
1585761403
Python
Python (3.4.3)
py
Accepted
17
2940
81
n = int(input()) result = 0 for i in range(1, n + 1): result += i print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,463
s084622558
p04029
u220612891
1585759840
Python
Python (3.4.3)
py
Accepted
17
2940
58
j=0 for i in range(1,(int(input()))+1): j=j+i print(j)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,464
s794079054
p04029
u156815136
1585749696
Python
Python (3.4.3)
py
Accepted
18
3060
105
n = int(input()) def rec(a): if a == 1: return 1 else: return a + rec(a - 1) print(rec(n))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,465
s255246630
p04029
u535659144
1585691451
Python
Python (3.4.3)
py
Accepted
18
2940
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,202,466
s417845452
p04029
u063346608
1585684186
Python
Python (3.4.3)
py
Accepted
17
2940
88
N = int(input()) answer = 0 for i in range(1,N + 1): answer = answer + i print(answer)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,467
s908929084
p04029
u735654057
1585659598
Python
Python (3.4.3)
py
Accepted
17
2940
126
# https://atcoder.jp/contests/abc043/tasks/abc043_a n = int(input()) sum = 0 for i in range(n): sum += (i + 1) print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,468
s028770427
p04029
u865383026
1585624762
Python
Python (3.4.3)
py
Accepted
18
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,202,469
s401051870
p04029
u857547702
1585608304
Python
Python (3.4.3)
py
Accepted
17
2940
40
N=int(input()) print(sum(range(1,N+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,470
s548588512
p04029
u254871849
1585592686
Python
Python (3.4.3)
py
Accepted
17
2940
145
import sys n = int(sys.stdin.readline().rstrip()) def main(): ans = (1 + n) * n // 2 print(ans) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,471
s468476057
p04029
u229518917
1585585300
Python
Python (3.4.3)
py
Accepted
17
2940
43
N=int(input()) print(int(((1+N)*int(N))/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,472
s915580984
p04029
u852790844
1585583037
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,473
s347471431
p04029
u276115223
1585579849
Python
Python (3.4.3)
py
Accepted
17
2940
139
# ABC 043: A – キャンディーとN人の子供イージー / Children and Candies (ABC Edit) 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,202,474
s225615071
p04029
u320763652
1585525892
Python
Python (3.4.3)
py
Accepted
17
2940
77
N = int(input()) total = 0 for i in range(N): total += i+1 print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,475
s541307308
p04029
u391819434
1585525732
Python
Python (3.4.3)
py
Accepted
17
2940
32
N=int(input());print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,476
s428247960
p04029
u765721093
1585516350
Python
Python (3.4.3)
py
Accepted
17
2940
50
a=0 for i in range(int(input())+1): a+=i print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,477
s491756941
p04029
u290187182
1585515960
Python
Python (3.4.3)
py
Accepted
25
3828
235
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque if __name__ == '__main__': n = int(input()) print((1+n)*n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,478
s871525461
p04029
u197968862
1585511928
Python
Python (3.4.3)
py
Accepted
17
2940
42
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,202,479
s988617558
p04029
u947883560
1585501447
Python
Python (3.4.3)
py
Accepted
17
2940
395
#!/usr/bin/env python3 import sys sys.setrecursionlimit(10**8) INF = float("inf") def solve(N: int): print(N*(N+1)//2) return def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word tokens = iterate_tokens() N = int(next(...
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,480