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
s825231142
p04029
u693007703
1574661187
Python
Python (3.4.3)
py
Accepted
17
2940
250
N = int(input()) camdy_for_pair = (1 + N) num_of_pairs, amari = divmod((N),2) if amari == 0: nesseary_candy = num_of_pairs * camdy_for_pair else : nesseary_candy = num_of_pairs * camdy_for_pair + num_of_pairs + 1 print(nesseary_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,202,881
s299151553
p04029
u771756419
1574646063
Python
Python (3.4.3)
py
Accepted
18
3316
62
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,202,882
s148745369
p04029
u229833930
1574636671
Python
Python (2.7.6)
py
Accepted
12
2692
75
n = int(raw_input()) out = 0 for i in range(1, n+1): out += i print(out)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,883
s704137832
p04029
u467831546
1574622067
Python
Python (3.4.3)
py
Accepted
17
2940
70
n = int(input()) a = 0 for n in range(1, n+1): a = n + a print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,884
s356554238
p04029
u172035535
1574601687
Python
Python (3.4.3)
py
Accepted
17
2940
35
n = int(input()) print(n*(n+1) //2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,885
s901344183
p04029
u609814378
1574563991
Python
Python (3.4.3)
py
Accepted
17
2940
57
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,202,886
s442962412
p04029
u094948011
1574542303
Python
Python (3.4.3)
py
Accepted
17
3064
65
N = int(input()) t = 0 for i in range(N): 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,202,887
s378002061
p04029
u467307100
1574525985
Python
Python (3.4.3)
py
Accepted
17
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,202,888
s785454669
p04029
u124498235
1574477247
Python
Python (3.4.3)
py
Accepted
17
2940
45
n = int(input()) s = n*(n+1)/2 print (int(s))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,889
s125764726
p04029
u340947941
1574438160
Python
Python (3.4.3)
py
Accepted
17
2940
60
##### 解けた ##### N=int(input()) print(int((N+1)*N/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,890
s438579577
p04029
u644972721
1574402785
Python
Python (3.4.3)
py
Accepted
17
2940
78
n = int(input()) ans = 0 for i in range(n): ans += n 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,202,891
s317067125
p04029
u675073679
1574389855
Python
Python (3.4.3)
py
Accepted
18
2940
80
#ABC043_A N = int(input()) sum = 0 for i in range(N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,892
s575451092
p04029
u516447519
1574378803
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,893
s034914813
p04029
u679325651
1574311147
Python
Python (3.4.3)
py
Accepted
17
2940
38
N = int(input()) print(int(N*(N+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,894
s250081252
p04029
u718706790
1574305618
Python
Python (3.4.3)
py
Accepted
17
2940
69
N = int(input()) X = 0 for i in range(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,202,895
s898348938
p04029
u718706790
1574305186
Python
Python (3.4.3)
py
Accepted
17
2940
85
N = int(input()) X = [] for i in range(N): Y = i + 1 X.append(Y) print(sum(X))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,896
s242824517
p04029
u836737505
1574296710
Python
Python (3.4.3)
py
Accepted
18
2940
62
N =int(input()) c = 0 for i in range(N+1): c += i print(c)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,897
s373010970
p04029
u143278390
1574279953
Python
Python (3.4.3)
py
Accepted
17
2940
38
n=int(input()) print(int((n*(1+n)/2)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,898
s005874372
p04029
u211025746
1574266888
Python
Python (3.4.3)
py
Accepted
17
2940
63
N=int(input()) sum=0 for i in range(N): sum+=i+1 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,899
s283460653
p04029
u633450100
1574263700
Python
Python (3.4.3)
py
Accepted
17
2940
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,900
s833547249
p04029
u580093517
1574134568
Python
Python (3.4.3)
py
Accepted
20
3060
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,901
s783560953
p04029
u673981655
1574132245
Python
Python (3.4.3)
py
Accepted
17
2940
188
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = int(readline()) 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,202,902
s555501454
p04029
u673981655
1574132207
Python
Python (3.4.3)
py
Accepted
17
2940
188
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N = int(readline()) 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,202,903
s578684344
p04029
u141786930
1574130649
Python
Python (3.4.3)
py
Accepted
18
2940
98
def main(): N = int(input()) print(N*(N+1)//2) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,904
s083653197
p04029
u141786930
1574130310
Python
Python (3.4.3)
py
Accepted
18
2940
148
def main(): N = int(input()) ans = 0 for i in range(N): ans += i + 1 print(ans) if __name__ == '__main__': main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,905
s236868872
p04029
u864197622
1574128797
Python
Python (3.4.3)
py
Accepted
17
2940
38
N = int(input()) print(N * (N+1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,906
s043191089
p04029
u007263493
1574092255
Python
Python (3.4.3)
py
Accepted
17
2940
34
N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,907
s174868064
p04029
u007263493
1574091716
Python
Python (3.4.3)
py
Accepted
17
2940
81
m = int(input()) result = 0 for i in range(1, m+1): result += i print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,908
s441611777
p04029
u629560745
1574023155
Python
Python (3.4.3)
py
Accepted
17
2940
81
n = int(input()) result = 0 for i in range(1, n+1): result += i print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,909
s468337465
p04029
u951480280
1574013850
Python
Python (3.4.3)
py
Accepted
17
2940
53
n=int(input()) print((1+n)*(n//2) + (n%2)*((1+n)//2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,910
s350345836
p04029
u427093056
1573965010
Python
Python (3.4.3)
py
Accepted
17
2940
55
n=int(input()) a=0 for i in range(n+1): a+=i print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,911
s630708264
p04029
u607741489
1573743579
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,912
s400265201
p04029
u672882146
1573658529
Python
Python (3.4.3)
py
Accepted
17
2940
41
N=int(input()) print(int((N+1)*N/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,913
s177418550
p04029
u672882146
1573658478
Python
Python (3.4.3)
py
Accepted
18
2940
72
N=int(input()) ans = 0 for i in range(N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,914
s412109375
p04029
u735069283
1573624827
Python
Python (3.4.3)
py
Accepted
17
2940
58
N = int(input()) r=0 for i in range(N): r +=i+1 print(r)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,915
s530103717
p04029
u779728630
1573623948
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,916
s971792614
p04029
u452015170
1573622943
Python
Python (3.4.3)
py
Accepted
17
2940
53
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,202,917
s699151087
p04029
u052499405
1573617209
Python
Python (3.4.3)
py
Accepted
17
2940
48
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,202,918
s385103730
p04029
u090649502
1573421262
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,919
s616571301
p04029
u053035261
1573364756
Python
Python (3.4.3)
py
Accepted
17
2940
42
i = int(input()) print(int(i*(i + 1) /2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,920
s872528970
p04029
u942028688
1573300684
Python
Python (3.4.3)
py
Accepted
17
2940
60
N = int(input()) result = int((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,202,921
s272000374
p04029
u021759654
1573266628
Python
Python (3.4.3)
py
Accepted
16
2940
73
num = int(input()) ans = 0 for i in range(num+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,922
s243214010
p04029
u845937249
1573257173
Python
Python (3.4.3)
py
Accepted
18
2940
53
n = int(input()) k = (n + 1) * n / 2 print(int(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,202,923
s282186176
p04029
u533039576
1573228127
Python
Python (3.4.3)
py
Accepted
17
2940
53
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,202,924
s884005570
p04029
u545666277
1573189821
Python
Python (3.4.3)
py
Accepted
19
2940
116
# -*- coding: utf-8 -*- # 整数の入力 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,202,925
s196205518
p04029
u281303342
1573167729
Python
Python (3.4.3)
py
Accepted
17
2940
98
# python3 (3.4.3) import sys input = sys.stdin.readline # main N = int(input()) print(N*(N+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,926
s885279675
p04029
u434282696
1573160239
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,202,927
s311645905
p04029
u050034744
1573156155
Python
Python (3.4.3)
py
Accepted
17
2940
65
n=int(input()) sum=0 for i in range(n): sum+=(i+1) print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,928
s986902827
p04029
u391442102
1573071306
Python
Python (3.4.3)
py
Accepted
17
2940
76
N = int(input()) j=0 k=1 for i in range(N): j = j + k k = k + 1 print(j)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,929
s383437878
p04029
u637551956
1573067032
Python
Python (3.4.3)
py
Accepted
17
2940
38
N=int(input()) print(round((N+1)*N/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,930
s953945992
p04029
u895536055
1573056003
Python
Python (3.4.3)
py
Accepted
20
3060
43
N = int(input()) print((N * (N + 1)) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,931
s650302975
p04029
u690781906
1573049069
Python
Python (3.4.3)
py
Accepted
17
2940
72
n = int(input()) ans = 0 for i in range(1, n+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,932
s859230056
p04029
u663438907
1573010886
Python
Python (3.4.3)
py
Accepted
17
2940
69
N = int(input()) ans = 0 for i in range(N): ans += i+1 print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,933
s129680578
p04029
u867848444
1572990248
Python
Python (3.4.3)
py
Accepted
18
2940
36
n=int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,934
s779957593
p04029
u149991748
1572986580
Python
Python (3.4.3)
py
Accepted
17
2940
114
# -*-coding: utf-8 -*- num = int(input()) total = 0 for i in range(num): total = total + i + 1 print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,935
s397726471
p04029
u940061594
1572985435
Python
Python (3.4.3)
py
Accepted
17
2940
48
N = int(input()) S = N * (N+1) / 2 print(int(S))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,936
s883862330
p04029
u754022296
1572910686
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,937
s449073018
p04029
u914330401
1572895377
Python
Python (3.4.3)
py
Accepted
17
2940
35
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,938
s310968952
p04029
u319609701
1572835024
Python
Python (3.4.3)
py
Accepted
17
2940
93
# -*- coding:utf-8 -*- 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,202,939
s197757315
p04029
u971237642
1572810556
Python
Python (3.4.3)
py
Accepted
17
2940
61
# -*- coding: utf-8 -*- n = int(input()) print(n*(1+n)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,940
s031241651
p04029
u143278390
1572727269
Python
Python (3.4.3)
py
Accepted
17
3060
118
N=int(input()) def souwa(n): if n==1: return 1 else: return n+souwa(n-1) x=souwa(N) print(x)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,941
s741241026
p04029
u644907318
1572692523
Python
Python (3.4.3)
py
Accepted
17
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,202,942
s416416643
p04029
u402467563
1572556014
Python
Python (3.4.3)
py
Accepted
17
2940
38
N = int(input()) print(int(N*(N+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,943
s379274473
p04029
u923659712
1572555390
Python
Python (3.4.3)
py
Accepted
17
2940
43
n = int(input()) print(round(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,944
s562361306
p04029
u557494880
1572554587
Python
Python (3.4.3)
py
Accepted
17
2940
41
N = int(input()) S = N*(N+1)//2 print(S)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,945
s300291809
p04029
u717993780
1572553114
Python
Python (3.4.3)
py
Accepted
17
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,202,946
s759291919
p04029
u171115409
1572485870
Python
Python (3.4.3)
py
Accepted
17
2940
94
# -*- coding: utf-8 -*- N = int(input()) sum = 0 for i in range(N+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,947
s761171914
p04029
u533713111
1572401413
Python
Python (3.4.3)
py
Accepted
16
2940
80
N = int(input()) result = 0 for i in range(1,N+1): result += i print(result)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,948
s974433631
p04029
u586273727
1572381306
Python
Python (3.4.3)
py
Accepted
17
2940
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,202,949
s128782696
p04029
u209619667
1572376762
Python
Python (3.4.3)
py
Accepted
17
2940
74
N = int(input()) a = 0 for n in range(N): n = n + 1 a = a + n print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,950
s561897931
p04029
u982517812
1572371566
Python
Python (3.4.3)
py
Accepted
17
2940
60
N = int(input()) candy_sum = int((1+N)*N/2) print(candy_sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,951
s895464957
p04029
u100418016
1572328368
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,202,952
s811197080
p04029
u099300051
1572319214
Python
Python (3.4.3)
py
Accepted
17
2940
67
N = int(input()) ans = 0 for i in range(N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,953
s537591810
p04029
u010090035
1572258985
Python
Python (3.4.3)
py
Accepted
17
2940
32
n=int(input()) print(n*(1+n)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,954
s996251465
p04029
u633000076
1572218348
Python
Python (3.4.3)
py
Accepted
17
2940
71
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,202,955
s674007420
p04029
u623516423
1572211711
Python
Python (3.4.3)
py
Accepted
17
2940
55
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,202,956
s740885368
p04029
u203886313
1572184509
Python
Python (3.4.3)
py
Accepted
17
2940
81
n = int(input()); ans = 0; for i in range(n): ans += i + 1; print(ans);
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,957
s427034103
p04029
u269778596
1572114005
Python
Python (3.4.3)
py
Accepted
17
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,202,958
s659213923
p04029
u368882459
1572044496
Python
Python (3.4.3)
py
Accepted
17
2940
56
ary = [i+1 for i in range(int(input()))] print(sum(ary))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,959
s439383629
p04029
u254871849
1571985039
Python
Python (3.4.3)
py
Accepted
17
2940
56
n = int(input()) ans = int((1 + n) * n / 2) print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,960
s082397334
p04029
u348868667
1571968673
Python
Python (3.4.3)
py
Accepted
17
2940
118
N = int(input()) if N == 1: print(1) elif N%2 != 0: print((1+N)*(N//2)+(N-N//2)) else: print((1+N)*(N//2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,961
s119192887
p04029
u182765930
1571940323
Python
Python (3.4.3)
py
Accepted
17
2940
32
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,962
s606886574
p04029
u182765930
1571940220
Python
Python (3.4.3)
py
Accepted
17
2940
38
n = int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,963
s391144037
p04029
u241159583
1571925209
Python
Python (3.4.3)
py
Accepted
17
2940
58
n = int(input()) l = list(range(1, (n + 1))) print(sum(l))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,964
s433906592
p04029
u780354103
1571886732
Python
Python (3.4.3)
py
Accepted
17
2940
66
N = int(input()) S = 0 for i in range(1,N+1): S += i print(S)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,965
s125699573
p04029
u901180556
1571873765
Python
Python (3.4.3)
py
Accepted
17
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,202,966
s417808695
p04029
u912115033
1571778551
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,967
s202433004
p04029
u556589653
1571773399
Python
Python (3.4.3)
py
Accepted
17
2940
40
N = int(input()) print(int(0.5*N*(N+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,968
s948756283
p04029
u388904130
1571755525
Python
Python (3.4.3)
py
Accepted
17
2940
102
n = int(input()) ans = 0 counter = 1 for i in range(n): ans += counter counter += 1 print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,969
s343209250
p04029
u744563031
1571730385
Python
Python (3.4.3)
py
Accepted
17
2940
39
N=int(input());print(sum(range(1,N+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,970
s308328497
p04029
u244203620
1571699860
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,202,971
s965105708
p04029
u390883247
1571576342
Python
Python (3.4.3)
py
Accepted
17
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,202,972
s109881936
p04029
u488127128
1571507029
Python
Python (3.4.3)
py
Accepted
17
2940
95
def solve(): n = int(input()) print((n+1)*n//2) if __name__ == '__main__': solve()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,973
s922257484
p04029
u088552457
1571454309
Python
Python (3.4.3)
py
Accepted
18
3064
103
# -*- coding: utf-8 -*- n = int(input()) result = 0 for i in range(n): result += 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,202,974
s137693493
p04029
u669067427
1571440452
Python
Python (2.7.6)
py
Accepted
10
2568
31
n = input() print((n*(n+1))//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,975
s821515029
p04029
u539517139
1571423668
Python
Python (3.4.3)
py
Accepted
17
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,202,976
s729039000
p04029
u268623418
1571405176
Python
Python (3.4.3)
py
Accepted
17
2940
34
n = int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,977
s091219818
p04029
u045953894
1571377401
Python
Python (3.4.3)
py
Accepted
17
2940
57
n=int(input()) s=0 for i in range(1,n+1): s+=i print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,978
s410464998
p04029
u799978560
1571369200
Python
Python (3.4.3)
py
Accepted
17
2940
61
x = 0 n = int(input()) for i in range(n+1): 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,202,979
s667193298
p04029
u777283665
1571336161
Python
Python (3.4.3)
py
Accepted
17
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,202,980