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
s678319698
p04029
u367130284
1552542531
Python
Python (3.4.3)
py
Accepted
18
2940
30
n=int(input());print(n*-~n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,581
s608879104
p04029
u367130284
1552542339
Python
Python (3.4.3)
py
Accepted
17
2940
32
n=int(input());print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,582
s156126045
p04029
u367130284
1552542262
Python
Python (3.4.3)
py
Accepted
18
2940
33
print(sum(range(int(input())+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,583
s050682181
p04029
u285443936
1552531169
Python
Python (3.4.3)
py
Accepted
18
2940
69
N = int(input()) ans = 0 for i in range(1,N+1): ans +=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,584
s416069787
p04029
u384657160
1552507816
Python
Python (3.4.3)
py
Accepted
18
2940
75
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,203,585
s275590820
p04029
u878138257
1552460467
Python
Python (3.4.3)
py
Accepted
17
2940
61
n = int(input()) k = 0 for i in range(n+1): k += i print(k)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,586
s241441325
p04029
u020176853
1552267056
Python
Python (3.4.3)
py
Accepted
16
2940
67
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,203,587
s828339591
p04029
u325264482
1552266769
Python
Python (3.4.3)
py
Accepted
19
3064
45
N = int(input()) ans = N*(N+1)//2 print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,588
s197503752
p04029
u392029857
1552262397
Python
Python (3.4.3)
py
Accepted
18
2940
36
N = int(input()) print((N*(N+1))//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,589
s180888589
p04029
u664652300
1552249343
Python
Python (3.4.3)
py
Accepted
17
2940
36
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,203,590
s424209257
p04029
u380933932
1552244572
Python
Python (3.4.3)
py
Accepted
18
2940
44
n=int(input()) ans=int(n*(n+1)/2) print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,591
s887895424
p04029
u021877437
1552178129
Python
Python (3.4.3)
py
Accepted
18
2940
102
N = int(input().rstrip()) v = (1 + N) * int(N / 2) if N % 2 == 1: v += int(N / 2) + 1 print(v)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,592
s803578934
p04029
u003928116
1552164880
Python
Python (3.4.3)
py
Accepted
17
2940
59
a =int(input()) b=0 for i in range(1,a+1): b=b+i print(b)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,593
s164862608
p04029
u677393869
1552151119
Python
Python (3.4.3)
py
Accepted
20
2940
57
A=int(input()) N=0 for i in range(1,A+1): N+=i print(N)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,594
s463371616
p04029
u191635495
1552147593
Python
Python (3.4.3)
py
Accepted
17
2940
36
N = int(input()) print((N+1)*N // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,595
s178155274
p04029
u724742135
1552014367
Python
Python (3.4.3)
py
Accepted
18
2940
95
from sys import stdin a = int(stdin.readline().rstrip()) print(sum([i for i in range(1, a+1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,596
s241474463
p04029
u865413330
1551843200
Python
Python (3.4.3)
py
Accepted
18
2940
75
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,203,597
s302042253
p04029
u363610900
1551818565
Python
Python (3.4.3)
py
Accepted
20
2940
56
N = int(input()) result = N * (1 + N) // 2 print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,598
s441665604
p04029
u728498511
1551737840
Python
Python (3.4.3)
py
Accepted
18
2940
65
ans = 0 for i in range(1,int(input())+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,599
s701636405
p04029
u864667985
1551717821
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,203,600
s229452183
p04029
u251123951
1551631553
Python
Python (3.4.3)
py
Accepted
18
2940
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,601
s321747550
p04029
u588633699
1551593241
Python
Python (3.4.3)
py
Accepted
18
2940
95
N = int(input()) if N%2==0: print(int((N+1)*N/2)) else: print(int((N+1)*(N//2)+(N-N//2)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,602
s289940397
p04029
u590595435
1551579901
Python
Python (3.4.3)
py
Accepted
18
2940
38
n = int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,603
s254445746
p04029
u566574814
1551576567
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,203,604
s694896691
p04029
u619197965
1551564996
Python
Python (3.4.3)
py
Accepted
17
2940
63
n=int(input()) ans=0 for i in range(n+1): ans+=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,605
s113932084
p04029
u631277801
1551457851
Python
Python (3.4.3)
py
Accepted
16
2940
55
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,203,606
s860686673
p04029
u030626972
1551412111
Python
Python (3.4.3)
py
Accepted
18
2940
74
n = int(input()) sum = 0 for i in range(1,n+1): sum += i print (sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,607
s581624028
p04029
u155236040
1551408284
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,203,608
s944233450
p04029
u301302814
1551399799
Python
Python (3.4.3)
py
Accepted
18
2940
56
# coding: utf-8 n = int(input()) print(n * (n + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,609
s503574150
p04029
u370331385
1551388896
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,203,610
s734107043
p04029
u144980750
1551343895
Python
Python (3.4.3)
py
Accepted
20
2940
64
a=int(input()) sum=0 for i in range(a+1): sum=sum+i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,611
s343108932
p04029
u403984573
1551300555
Python
Python (3.4.3)
py
Accepted
18
2940
61
Sum=0 N=int(input()) for i in range(N): Sum+=i+1 print(Sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,612
s537328251
p04029
u698460655
1551241649
Python
Python (3.4.3)
py
Accepted
18
2940
76
N = int(input()) count = 0 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,203,613
s537017909
p04029
u545368057
1551194647
Python
Python (3.4.3)
py
Accepted
18
2940
38
N = int(input()) print(int(N*(N+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,614
s978024826
p04029
u488178971
1551145781
Python
Python (3.4.3)
py
Accepted
17
2940
163
# ABC 043 A - キャンディーとN人の子供イージー / Children and Candies (ABC Edit) N = int(input()) ans = 0 for i in range(N+1): ans +=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,615
s065172504
p04029
u488178971
1551145747
Python
Python (3.4.3)
py
Accepted
18
2940
163
# ABC 043 A - キャンディーとN人の子供イージー / Children and Candies (ABC Edit) N = int(input()) ans = 0 for i in range(N+1): ans +=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,616
s553969362
p04029
u143492911
1551127376
Python
Python (3.4.3)
py
Accepted
18
2940
64
n=int(input()) ans=0 for i in range(n+1): ans+=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,617
s219862274
p04029
u503228842
1551067414
Python
Python (3.4.3)
py
Accepted
17
2940
69
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,203,618
s306331864
p04029
u456877307
1551049342
Python
Python (3.4.3)
py
Accepted
17
2940
61
a = input() b = 0 for x in range(int(a)+1): b+=x print(b)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,619
s215582162
p04029
u275934251
1551049182
Python
Python (3.4.3)
py
Accepted
17
2940
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,620
s418206777
p04029
u887207211
1550981068
Python
Python (3.4.3)
py
Accepted
17
2940
104
N = int(input()) def dfs(n): ret = 0 for i in range(1,n+1): ret += i return ret print(dfs(N))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,621
s922088894
p04029
u449555432
1550977115
Python
Python (3.4.3)
py
Accepted
18
2940
67
a = int(input()) sum = 0 for i in range(a): sum += i+1 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,622
s299450599
p04029
u118642796
1550926189
Python
Python (3.4.3)
py
Accepted
17
2940
69
N = int(input()) ans = 0 for i in range(1,N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,623
s651807235
p04029
u987170100
1550897493
Python
Python (3.4.3)
py
Accepted
17
2940
40
N = int(input()) print((1 + N) * N // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,624
s334120445
p04029
u722535636
1550860827
Python
Python (3.4.3)
py
Accepted
17
2940
38
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,203,625
s910559207
p04029
u717001163
1550851224
Python
Python (3.4.3)
py
Accepted
18
2940
63
a=int(input()) sum=0 while a>0: sum=sum+a a=a-1 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,626
s696888795
p04029
u007550226
1550685105
Python
Python (3.4.3)
py
Accepted
17
2940
41
n = int(input()) print( (n * (n+1)) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,627
s634690270
p04029
u860670906
1550682385
Python
Python (3.4.3)
py
Accepted
18
2940
67
N=int(input()) sum=0 for i in range(N+1): sum=sum+i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,628
s449302781
p04029
u543954314
1550679397
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,629
s037881305
p04029
u282228874
1550678676
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,630
s998942094
p04029
u516272298
1550606606
Python
Python (3.4.3)
py
Accepted
18
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,203,631
s736022346
p04029
u610232844
1550589137
Python
Python (3.4.3)
py
Accepted
18
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,203,632
s626858835
p04029
u551351897
1550526252
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,203,633
s602791103
p04029
u374099594
1550483799
Python
Python (2.7.6)
py
Accepted
10
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,203,634
s493172088
p04029
u186838327
1550481151
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,635
s317076580
p04029
u952130512
1550442735
Python
Python (3.4.3)
py
Accepted
18
2940
36
s=int(input()) print(int(s*(s+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,636
s258816497
p04029
u071730284
1550435885
Python
Python (3.4.3)
py
Accepted
28
3700
124
N = int(input()) from operator import add from functools import reduce ans = reduce(add, range(N)) + N print(ans) 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,203,637
s083800355
p04029
u604412462
1550420546
Python
Python (3.4.3)
py
Accepted
18
2940
44
num = int(input()) print(int(num*(num+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,638
s066723543
p04029
u023229441
1550377476
Python
Python (3.4.3)
py
Accepted
17
2940
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,639
s235402214
p04029
u518064858
1550265555
Python
Python (3.4.3)
py
Accepted
18
2940
62
n=int(input()) s=0 for i in range(n): s+=i+1 print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,640
s435429903
p04029
u597374218
1550196568
Python
Python (3.4.3)
py
Accepted
18
2940
30
n=int(input()) print(n*-~n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,641
s417392670
p04029
u190086340
1550180553
Python
Python (3.4.3)
py
Accepted
18
2940
75
N = int(input()) def solve(n): return n * (n + 1) // 2 print(solve(N))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,642
s729818154
p04029
u777028980
1550170574
Python
Python (3.4.3)
py
Accepted
17
2940
61
a=int(input()) kei=0 for i in range(a): kei+=i+1 print(kei)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,643
s168347886
p04029
u656995812
1550136604
Python
Python (3.4.3)
py
Accepted
17
2940
78
N = int(input()) total = 0 for i in range(1, N+1): total += i print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,644
s037702944
p04029
u514719376
1550086543
Python
Python (3.4.3)
py
Accepted
17
2940
64
s = int(input()) num = (s + 1) * s / 2 ans = int(num) print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,645
s328495180
p04029
u337851472
1550012393
Python
Python (3.4.3)
py
Accepted
17
2940
69
N = int(input()) sum = 0 for i in range(N): sum += i+1 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,646
s660908102
p04029
u169221932
1549966452
Python
Python (3.4.3)
py
Accepted
17
2940
60
num = int(input()) sum = (num + 1) * num / 2 print(int(sum))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,647
s871985798
p04029
u570018655
1549875623
Python
Python (3.4.3)
py
Accepted
18
2940
62
n = int(input()) kaijo = list(range(1, n+1)) print(sum(kaijo))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,648
s568408484
p04029
u118211443
1549830495
Python
Python (3.4.3)
py
Accepted
18
2940
32
n=int(input()) print((1+n)*n//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,649
s593801650
p04029
u859897687
1549812912
Python
Python (3.4.3)
py
Accepted
18
2940
67
n = int(input()) m=0 for i in range(n): i+=1 m+=i print(m)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,650
s933340619
p04029
u500297289
1549792397
Python
Python (3.4.3)
py
Accepted
20
3060
94
""" AtCoder """ N = int(input()) ans = 0 for i in range(1, N + 1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,651
s830514137
p04029
u367130284
1549762863
Python
Python (3.4.3)
py
Accepted
17
2940
59
N=int(input()) k=0 for s in range(1,N+1): k+=s print(k)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,652
s747057843
p04029
u796942881
1549745091
Python
Python (3.4.3)
py
Accepted
18
2940
41
N = int(input()) print(N * (1 + N) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,653
s760408791
p04029
u492030100
1549638719
Python
Python (3.4.3)
py
Accepted
17
2940
72
N = int(input()) lists = [i for i in range(1, N + 1)] print(sum(lists))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,654
s913752483
p04029
u921826483
1549406801
Python
Python (3.4.3)
py
Accepted
17
2940
64
a = int(input()) t = 0 for i in range(a): t += i+1 print(t)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,655
s024790188
p04029
u951601135
1549404497
Python
Python (3.4.3)
py
Accepted
18
2940
57
N=int(input()) x=0 for i in range(N): x+=(i+1) print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,656
s732921338
p04029
u483645888
1549317390
Python
Python (3.4.3)
py
Accepted
18
3064
82
N = int(input()) counter = 0 for i in range(1, N+1): counter += i print(counter)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,657
s608977859
p04029
u343930666
1549189205
Python
Python (3.4.3)
py
Accepted
18
2940
43
n = int(input()) print(int(n * (n+1) / 2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,658
s338156625
p04029
u343930666
1549189129
Python
Python (3.4.3)
py
Accepted
17
2940
70
n = int(input()) ans = 0 for i in range(n+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,659
s431159905
p04029
u705617253
1549049638
Python
Python (3.4.3)
py
Accepted
18
2940
57
n = int(input()) result = (1 + n) * n // 2 print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,660
s767991934
p04029
u977389981
1549040019
Python
Python (3.4.3)
py
Accepted
18
3060
94
n = int(input()) def f(n): if n == 1: return 1 return n + f(n - 1) print(f(n))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,661
s975699399
p04029
u185896732
1548974381
Python
Python (3.4.3)
py
Accepted
18
2940
58
n=int(input()) ans=sum(i for i in range(1,n+1)) print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,662
s904721584
p04029
u316386814
1548936374
Python
Python (3.4.3)
py
Accepted
18
2940
64
n = int(input()) ans = sum(i for i in range(n + 1)) print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,663
s990995383
p04029
u676707608
1548929867
Python
Python (3.4.3)
py
Accepted
18
2940
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,203,664
s359132678
p04029
u690536347
1548715706
Python
Python (3.4.3)
py
Accepted
18
2940
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,665
s025833523
p04029
u223133214
1548627302
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,203,666
s916290361
p04029
u223133214
1548627153
Python
Python (3.4.3)
py
Accepted
18
2940
76
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,203,667
s735031259
p04029
u172873334
1548469956
Python
Python (3.4.3)
py
Accepted
18
2940
32
a=int(input()) print(a*(a+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,668
s064758818
p04029
u950708010
1548443400
Python
Python (3.4.3)
py
Accepted
18
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,669
s068461216
p04029
u529518602
1548090212
Python
Python (3.4.3)
py
Accepted
18
2940
47
Num = int(input()) print(sum(range(Num + 1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,670
s652320750
p04029
u529518602
1548089935
Python
Python (3.4.3)
py
Accepted
18
2940
60
Num = int(input()) print(sum([i for i in range(Num + 1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,671
s732045474
p04029
u882209234
1548075930
Python
Python (3.4.3)
py
Accepted
18
2940
38
N = int(input()) print(int(N*(N+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,672
s964307700
p04029
u067694718
1548026430
Python
Python (3.4.3)
py
Accepted
18
2940
57
a = 0 for i in range(int(input())): a += i + 1 print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,673
s769913901
p04029
u076503518
1547947292
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,674
s035211421
p04029
u695857481
1547943906
Python
Python (3.4.3)
py
Accepted
19
2940
69
n = int(input()) sum = 0 for i in range(n): sum += i + 1 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,675
s706930061
p04029
u811156202
1547873285
Python
Python (3.4.3)
py
Accepted
18
2940
73
answer = 0 for a in range(int(input())): answer += a+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,203,676
s798452130
p04029
u132344815
1547786203
Python
Python (3.4.3)
py
Accepted
18
2940
57
n = int(input()) a = list(range(1,n +1)) print(sum(a))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,677
s197121546
p04029
u731368968
1547715202
Python
Python (3.4.3)
py
Accepted
17
2940
46
print(sum([i+1 for i in range(int(input()))]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,678
s487688693
p04029
u983918956
1547698346
Python
Python (3.4.3)
py
Accepted
18
2940
45
N = int(input()) ans = N*(N+1)//2 print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,679
s649095764
p04029
u445624660
1547670990
Python
Python (3.4.3)
py
Accepted
19
2940
43
print(sum(list(range(0, int(input())+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,203,680