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
s353847435
p04029
u942505202
1598601354
Python
Python (3.8.2)
py
Accepted
23
8960
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,201,781
s535084161
p04029
u739896919
1598590745
Python
Python (3.8.2)
py
Accepted
25
9048
49
N = int(input()) x = N * (N + 1) // 2 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,782
s702193835
p04029
u282420844
1598590543
Python
Python (3.8.2)
py
Accepted
25
9156
80
# 入力 N=int(input()) 1<=int(N)<=100 # 数え上げの計算 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,201,783
s728856517
p04029
u657096772
1598587981
Python
Python (3.8.2)
py
Accepted
25
9088
154
N = int(input()) # 1個ずつ増えるキャンディー # 必要なキャンディーの個数の合計を出力する。 x = N * (N + 1) // 2 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,784
s996684361
p04029
u947123009
1598587711
Python
Python (3.8.2)
py
Accepted
23
9116
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,201,785
s467933123
p04029
u888380104
1598586587
Python
Python (3.8.2)
py
Accepted
25
9152
49
N = int(input()) x = N * (N + 1) // 2 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,786
s918230009
p04029
u898967808
1598585417
Python
Python (3.8.2)
py
Accepted
25
9048
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,201,787
s994665263
p04029
u822986642
1598581378
Python
Python (3.8.2)
py
Accepted
27
9016
82
N = int(input()) i = 1 SUM = 0 while i <= N: SUM += i 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,201,788
s513042499
p04029
u185948224
1598580877
Python
Python (3.8.2)
py
Accepted
24
9084
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,201,789
s266923391
p04029
u614181788
1598578514
Python
Python (3.8.2)
py
Accepted
25
9148
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,201,790
s031287581
p04029
u223060578
1598578202
Python
Python (3.8.2)
py
Accepted
27
8972
48
N = int(input()) x = N * (N + 1) // 2 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,791
s898669648
p04029
u183469756
1598569109
Python
Python (3.8.2)
py
Accepted
29
9028
46
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,201,792
s290904683
p04029
u779508975
1598564316
Python
Python (3.8.2)
py
Accepted
27
8856
56
N = int(input()) answer = int(N*(N+1)/2) 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,201,793
s292931498
p04029
u668271522
1598549689
Python
Python (3.8.2)
py
Accepted
24
9152
54
N = int(input()) X = range(1,N+1) S = sum(X) 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,201,794
s227216601
p04029
u221944793
1598547707
Python
Python (3.8.2)
py
Accepted
30
9016
37
N=int(input()) print(int(N*(N+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,795
s598948556
p04029
u738240930
1598529531
Python
Python (3.8.2)
py
Accepted
25
9036
188
N = int(input()) # N人目にN個のキャンディーをあげる際に必要なキャンディーの合計数の式 # 等差級数の和 をxとする x = ( N * ( N + 1 )) // 2 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,796
s882521334
p04029
u076363290
1598520424
Python
Python (3.8.2)
py
Accepted
29
9044
73
N = input() s = 0 i = 1 while i <= int(N): s = s + i i = i + 1 print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,797
s171871632
p04029
u937303520
1598519484
Python
Python (3.8.2)
py
Accepted
22
9052
45
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,201,798
s204568446
p04029
u456879806
1598505364
Python
Python (3.8.2)
py
Accepted
26
9124
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,201,799
s165057719
p04029
u268314634
1598501831
Python
Python (3.8.2)
py
Accepted
27
9044
114
#他人のコピー n=input() candy = (1 / 2) * int(n) * (int(n) + 1) print(int(candy)) #他人のコピー
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,800
s485602812
p04029
u787059958
1598495057
Python
Python (3.8.2)
py
Accepted
24
9084
111
N = int(input()) sum_num = 0 candy = 1 for i in range(N): sum_num += candy candy += 1 print(sum_num)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,801
s985971955
p04029
u470678640
1598494355
Python
Python (3.8.2)
py
Accepted
24
8932
45
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,201,802
s512298961
p04029
u349856770
1598492700
Python
Python (3.8.2)
py
Accepted
26
9024
74
n = int(input()) ame = 0 for i in range(1, n+1): ame += i print(ame)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,803
s891647157
p04029
u496280557
1598491390
Python
Python (3.8.2)
py
Accepted
28
9068
39
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,201,804
s377998756
p04029
u526818929
1598485661
Python
Python (3.8.2)
py
Accepted
25
9152
42
N = int(input()) print((N ** 2 + 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,201,805
s407264182
p04029
u997134361
1598464571
Python
Python (3.8.2)
py
Accepted
26
8964
69
n = int(input()) t = 0 for i in range(1, n+1): t += i 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,201,806
s687961018
p04029
u297447724
1598440152
Python
Python (3.8.2)
py
Accepted
28
9064
123
number = int(input()) candy = 0 for i in range(number): candy_add = i + 1 candy = candy + candy_add print(candy)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,807
s017238854
p04029
u174849391
1598434020
Python
Python (3.8.2)
py
Accepted
26
8988
34
N = int(input()) print(N*(1+N)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,808
s192553588
p04029
u846155148
1598422300
Python
Python (3.8.2)
py
Accepted
25
9108
66
N = int( input() ) candy = int( N * ( N + 1 ) / 2 ) print(candy)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,809
s023264655
p04029
u434630332
1598417329
Python
Python (3.8.2)
py
Accepted
24
9076
62
n = int(input()) answer = int((n + 1) * n / 2) 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,201,810
s446022211
p04029
u485349322
1598411548
Python
Python (3.8.2)
py
Accepted
30
9152
43
N=input() N=int(N) 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,201,811
s350990393
p04029
u991757487
1598410769
Python
Python (3.8.2)
py
Accepted
31
9144
94
#043 # 1 <= N <= 100 #入力 N = int(input()) #処理 x = N * (N + 1) // 2 #出力 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,812
s944725295
p04029
u155251346
1598408445
Python
Python (3.8.2)
py
Accepted
29
9004
55
N = input() answer = int(N)*(int(N)+1)//2 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,201,813
s658101017
p04029
u727238330
1598398961
Python
Python (3.8.2)
py
Accepted
24
9056
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,201,814
s580746558
p04029
u065939424
1598387821
Python
Python (3.8.2)
py
Accepted
24
9104
193
# A - キャンディーとN人の子供イージー # https://atcoder.jp/contests/abc043/tasks/abc043_a 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,201,815
s506234987
p04029
u127462352
1598384144
Python
Python (3.8.2)
py
Accepted
31
8916
58
# 等差数列の公式 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,201,816
s588932801
p04029
u120651703
1598382738
Python
Python (3.8.2)
py
Accepted
27
8888
73
N = int(input()) sum = 0 for i in range(1, N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,817
s339809279
p04029
u863723142
1598374253
Python
Python (3.8.2)
py
Accepted
23
9052
76
num = int(input()) wa = 0 for i in range(num): wa += i+1 print(wa)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,818
s511633031
p04029
u628070051
1598370490
Python
Python (3.8.2)
py
Accepted
23
9140
77
# 入力 N = int(input()) # 処理 x = N * (N + 1) // 2 # 出力 print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,819
s333886935
p04029
u782001565
1598367227
Python
Python (3.8.2)
py
Accepted
29
9156
85
# 入力 N = int(input()) # 処理 answer = N * (N + 1) // 2 # 出力 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,201,820
s715669854
p04029
u227279746
1598366194
Python
Python (3.8.2)
py
Accepted
23
9008
58
N = int(input()) answer = N * (N + 1) // 2 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,201,821
s696114114
p04029
u558059388
1598326763
Python
Python (3.8.2)
py
Accepted
28
9144
68
n = int(input()) x=0 for i in range(1,n+1): x = x + i print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,822
s399926733
p04029
u824981877
1598326052
Python
Python (3.8.2)
py
Accepted
25
9080
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,201,823
s541282660
p04029
u844196583
1598324043
Python
Python (3.8.2)
py
Accepted
24
9064
64
N = int(input()) b = 0 for a in range(N+1): b = b + a 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,201,824
s609823236
p04029
u510331904
1598321296
Python
Python (3.8.2)
py
Accepted
27
9008
96
#!/usr/bin/env python3 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,201,825
s975833879
p04029
u512520932
1598317382
Python
Python (3.8.2)
py
Accepted
25
9084
120
# N = 子供の数 # answer = 飴の数 N = int ( input () ) answer = int ((( N + 1) * N / 2 )) 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,201,826
s598264672
p04029
u540912766
1598312568
Python
Python (3.8.2)
py
Accepted
23
9164
45
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,201,827
s637925427
p04029
u808569469
1598310975
Python
Python (3.8.2)
py
Accepted
27
9016
201
# 入力 n = int(input()) # result初期化 result = 0 # 1からNまで繰り返し for i in range(1,n+1): # 等差数列 count = i result = result + count # 結果を表示 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,201,828
s150914455
p04029
u301337088
1598297399
Python
Python (3.8.2)
py
Accepted
29
9068
153
# 必要なキャンディーの個数の合計を出力せよ # 1からNまでの和はN/2(N+1)で表される 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,201,829
s049694016
p04029
u546132222
1598296033
Python
Python (3.8.2)
py
Accepted
24
9148
159
# 043A # N人の時のキャンディーの合計数 # 入力値 子供の人数 # 入力 n = int(input()) # 処理 answer = (n + 1) * n // 2 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,201,830
s325052962
p04029
u332331919
1598295736
Python
Python (3.8.2)
py
Accepted
24
9172
179
# 043_a N = int(input()) if 1 <= N & N <= 100: result = 0 for i in range(N): count = N - i result += count if count == 1: print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,831
s394029373
p04029
u147492202
1598294946
Python
Python (3.8.2)
py
Accepted
24
9076
288
# A - キャンディーとN人の子供イージー # 一人目にはキャンディーを一個、二人目には二個、N人目にはN個あげていくと # 必要なキャンディーは合計何個か? child = int(input()) answer = int(child * (child + 1) / 2) 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,201,832
s915516442
p04029
u496280557
1598290479
Python
Python (3.8.2)
py
Accepted
27
9152
59
N = int(input()) answer = (N + 1 ) * N // 2 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,201,833
s764767811
p04029
u003505857
1598289694
Python
Python (3.8.2)
py
Accepted
26
9100
654
# 43a # 競プロ幼稚園には N 人の子供がいます。えび先生は、 # 子供たちを一列に並べ、一人目にはキャンディーを # 1個,二人目には2個,..., N 人目にはN個あげることにしました。 # 必要なキャンディーの個数の合計は何個でしょう? # Nに入力された数字を格納する N = int(input()) # answer(計算結果を格納するところ)を定義 answer = 0 # while文で 1以上100以下の数字で値を繰り返し処理 # Nの値をanswerに+するたびにNの値から-1するようにする while 1 <= N <= 100: answer = answer + N N = 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,201,834
s240469951
p04029
u601393594
1598285398
Python
Python (3.8.2)
py
Accepted
28
9076
122
# AtCoder abc043 a # 入力 n = int(input()) # 処理 candy = (1 / 2) * n * (n + 1) # 出力 print(int(candy))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,835
s572996167
p04029
u601393594
1598284984
Python
Python (3.8.2)
py
Accepted
26
9132
122
# AtCoder abc055 a # 入力 n = int(input()) # 処理 candy = (1 / 2) * n * (n + 1) # 出力 print(int(candy))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,836
s323151940
p04029
u427690532
1598283899
Python
Python (3.8.2)
py
Accepted
27
9044
82
S = int(input()) candy_number = int(S * (S+1) / 2) print(candy_number)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,837
s309105604
p04029
u113835532
1598278807
Python
Python (3.8.2)
py
Accepted
29
8916
38
i = int(input()) print(int((i+1)*i/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,201,838
s597522036
p04029
u113835532
1598278425
Python
Python (3.8.2)
py
Accepted
26
9068
82
answer = 0 for candy in range(int(input()) + 1): answer += candy 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,201,839
s046977969
p04029
u530169312
1598270498
Python
Python (3.8.2)
py
Accepted
24
9028
339
#子ども N人 # 1人目に1個、2人目に2個・・・ N人めにはN個 #必要なキャンディーの合計を求める #N=2の時 1+2=3 #N=3の時 1+2+3=6 #N=4の時 1+2+3+4=10 #N=10の時 55 N=int(input()) #個数に対してのキャンディーの合計を示す sum_candy=(N * (N+1) / 2) print(int(sum_candy))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,840
s835882555
p04029
u938224478
1598264566
Python
Python (3.8.2)
py
Accepted
25
9020
61
N = int(input()) candy = int(N * (N + 1) / 2) print(candy)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,841
s928555124
p04029
u941624042
1598247287
Python
Python (3.8.2)
py
Accepted
23
9084
252
# N人の子ども # 1人目には1個, 2人目には2個...N人目にはN個 # 必要なキャンディーの個数の合計を出力 # 入力された値を数値に変換 N = int(input()) # 1〜Nまでの範囲の整数の和 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,201,842
s614193566
p04029
u114148255
1598240591
Python
Python (3.8.2)
py
Accepted
31
9068
63
n = int(input()) sum_candy = n*(n+1)/2 print(int(sum_candy))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,843
s017592296
p04029
u278143034
1598237404
Python
Python (3.8.2)
py
Accepted
23
9104
271
# 子供の人数を取得 N = int(input()) # 子供の人数分のキャンディの個数を計算 Childrencnt = 1 Candysum = 0 for Childrencnt in range(1, N+1): Candysum = Candysum + Childrencnt # キャンディの合計個数を出力 else: print(Candysum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,844
s809539838
p04029
u801864018
1598233676
Python
Python (3.8.2)
py
Accepted
24
9136
60
N = int(input()) candy = int(N * (N + 1) / 2) print(candy)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,845
s747649952
p04029
u925353288
1598228046
Python
Python (3.8.2)
py
Accepted
26
9132
160
N = int(input()) # 1+2+3+4+...+(N-2)+(N-1)+N # N+(N-1)+(N-2)+...+4+3+2+1 # 上と下を足し算して、2で割る a = N+1 b = N print(int( a * b * 0.5 ))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,846
s877233829
p04029
u596536048
1598224831
Python
Python (3.8.2)
py
Accepted
32
8980
66
N = int(input()) I = 0 for K in range(1,N+1): I = I+K print(I)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,847
s626892679
p04029
u596536048
1598222944
Python
Python (3.8.2)
py
Accepted
25
9092
44
N = int(input()) print(int(N / 2 * (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,201,848
s043442958
p04029
u781267013
1598222041
Python
Python (3.8.2)
py
Accepted
27
9116
57
N = int(input()) answer = (N + 1) * N // 2 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,201,849
s927922398
p04029
u454866339
1598217355
Python
Python (3.8.2)
py
Accepted
25
9084
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,201,850
s395483784
p04029
u098994567
1598205189
Python
Python (3.8.2)
py
Accepted
30
9072
563
# 競プロ幼稚園には N人の子供がいます。 # えび先生は、子供たちを一列に並べ、一人目にはキャンディーを1個, # 二人目には 2個,..., N人目には N個あげることにしました。 # 必要なキャンディーの個数の合計は何個でしょう? # 標準入力から子供の人数(N)を取得する input_num = int(input()) # 取得した Nから必要なキャンディーの個数を算出し出力する i = 1 result = 0; while i <= input_num: result = result + i i = i + 1 print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,851
s545124744
p04029
u559313689
1598202501
Python
Python (3.8.2)
py
Accepted
25
9048
44
N = int(input()) print(int(N / 2 * (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,201,852
s720069597
p04029
u423812170
1598158230
Python
Python (3.8.2)
py
Accepted
29
9004
82
N = int(input()) result = 0; for n in range(N + 1): result += n 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,201,853
s628482819
p04029
u423812170
1598157642
Python
Python (3.8.2)
py
Accepted
23
9100
124
N = int(input()) if N % 2 == 0: result = (N / 2) * (1 + N) else: result = ((N - 1) / 2) * N + N print(int(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,201,854
s274256480
p04029
u366939485
1598157246
Python
Python (3.8.2)
py
Accepted
33
9160
83
n = input() val = int(n)+1 s = 0 for i in range(val): s += i else: 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,201,855
s861305480
p04029
u244836567
1598156189
Python
Python (3.8.2)
py
Accepted
29
9024
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,201,856
s252944576
p04029
u489717595
1598154883
Python
Python (3.8.2)
py
Accepted
29
8984
47
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,201,857
s525234473
p04029
u053535689
1598143932
Python
Python (3.8.2)
py
Accepted
26
9080
102
# 式:y = N*(N+1)/2 N = int(input()) # 人数Nを代入 candy = int(N * (N + 1) / 2) print(candy)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,858
s682238624
p04029
u510331904
1598136811
Python
Python (3.8.2)
py
Accepted
26
9004
96
#!/usr/bin/env python3 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,201,859
s528669032
p04029
u272457181
1598136262
Python
Python (3.8.2)
py
Accepted
26
8972
40
N = int(input()) print(int((N*(N+1))/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,860
s844166103
p04029
u653837719
1598132065
Python
PyPy3 (7.3.0)
py
Accepted
62
61732
53
n = int(input()) print(sum([i+1 for i in range(n)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,861
s508373969
p04029
u432453907
1598123529
Python
Python (3.8.2)
py
Accepted
27
8984
65
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,201,862
s540560736
p04029
u410903849
1598120918
Python
Python (3.8.2)
py
Accepted
29
9068
55
N = int(input()) answer = int(N*(N+1)/2) 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,201,863
s553683789
p04029
u843768197
1598119849
Python
Python (3.8.2)
py
Accepted
26
9012
34
n = int(input()) print(n*(1+n)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,864
s378680278
p04029
u255020959
1598118486
Python
Python (3.8.2)
py
Accepted
22
9140
54
N = int(input()) answer =int(N*(N+1)/2) 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,201,865
s002455828
p04029
u955248595
1598082634
Python
Python (3.8.2)
py
Accepted
26
9148
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,201,866
s872335883
p04029
u442636632
1598081663
Python
Python (3.8.2)
py
Accepted
22
8896
119
# 入力 N = int(input()) # totalの定義 total = 0 # ループ while N > 0: total += N N -= 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,201,867
s229928449
p04029
u165612156
1598073746
Python
Python (3.8.2)
py
Accepted
29
9116
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,201,868
s016668249
p04029
u159335277
1598065006
Python
Python (3.8.2)
py
Accepted
28
8912
38
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,201,869
s076003719
p04029
u434630332
1598060210
Python
Python (3.8.2)
py
Accepted
23
9020
63
n = int(input()) answer = int((n + 1) * n / 2) 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,201,870
s779866426
p04029
u434630332
1598060152
Python
Python (3.8.2)
py
Accepted
27
9068
60
number = int(input()) print(int((number + 1) * number / 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,201,871
s381835121
p04029
u221940831
1598026819
Python
Python (3.8.2)
py
Accepted
25
8988
43
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,201,872
s164790954
p04029
u271176141
1597986602
Python
Python (3.8.2)
py
Accepted
24
9088
113
#子供の数を入力 child_num = int(input()) candy_num = int((child_num**2 + child_num) / 2) print(candy_num)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,873
s989327272
p04029
u642528832
1597980661
Python
Python (3.8.2)
py
Accepted
24
9100
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,201,874
s789041807
p04029
u581619372
1597980557
Python
Python (3.8.2)
py
Accepted
26
9068
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,201,875
s664154163
p04029
u779830746
1597973168
Python
Python (3.8.2)
py
Accepted
23
9076
114
# 入力 N = int(input()) # 処理 total = 0 for i in range(1, N+1): total = 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,201,876
s295916757
p04029
u147912476
1597971608
Python
Python (3.8.2)
py
Accepted
26
9056
42
N=int(input()) a=int(N*(N+1)/2) print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,877
s183498098
p04029
u588557741
1597951620
Python
Python (3.8.2)
py
Accepted
28
8984
75
N = int(input()) 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,201,878
s266186567
p04029
u588557741
1597951369
Python
Python (3.8.2)
py
Accepted
28
9140
38
N=int(input()) print(int(1/2*(N+1)*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,201,879
s175189358
p04029
u077671688
1597947749
Python
Python (3.8.2)
py
Accepted
26
9120
52
N = int(input()) x = int(((N + 1) * N / 2)) print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,880