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
s744570220
p04029
u414920281
1595379048
Python
Python (3.8.2)
py
Accepted
28
9120
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,981
s739365431
p04029
u298101891
1595375685
Python
Python (3.8.2)
py
Accepted
28
9084
66
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,982
s156193006
p04029
u289288647
1595296730
Python
Python (3.8.2)
py
Accepted
28
8936
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,201,983
s575469087
p04029
u422242631
1595147140
Python
Python (3.8.2)
py
Accepted
23
9136
77
n = int(input()) a = 0 for i in range(n): a = a + n n -= 1 print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,984
s317312066
p04029
u047197186
1595133616
Python
Python (3.8.2)
py
Accepted
28
9132
65
n = int(input()) lst = [i for i in range(1, n+1)] print(sum(lst))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,985
s101072376
p04029
u904406968
1595126757
Python
PyPy3 (7.3.0)
py
Accepted
60
61524
43
n = int(input()) tot= n*(n+1)//2 print(tot)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,986
s282364679
p04029
u962985517
1595098856
Python
Python (3.8.2)
py
Accepted
23
8968
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,987
s815995790
p04029
u039002256
1595041153
Python
Python (3.8.2)
py
Accepted
24
9124
76
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,988
s969258564
p04029
u623231048
1595036133
Python
Python (3.8.2)
py
Accepted
26
9136
35
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,989
s734176871
p04029
u354623416
1594969065
Python
Python (3.8.2)
py
Accepted
29
9060
37
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,990
s848978570
p04029
u833492079
1594958271
Python
Python (3.8.2)
py
Accepted
26
9016
36
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,991
s735358492
p04029
u095021077
1594955317
Python
Python (3.8.2)
py
Accepted
29
9096
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,992
s478439501
p04029
u271064067
1594927397
Python
Python (3.8.2)
py
Accepted
26
9024
39
n = int(input()) print(int(n*(n+1)/2))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,993
s920752045
p04029
u040298438
1594925002
Python
Python (3.8.2)
py
Accepted
26
8916
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,994
s472025685
p04029
u840841119
1594922439
Python
Python (3.8.2)
py
Accepted
24
9084
37
N = int(input()) print(N*(N + 1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,201,995
s566256921
p04029
u534308356
1594911854
Python
Python (3.8.2)
py
Accepted
26
9152
74
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,996
s179620405
p04029
u968166680
1594891715
Python
Python (3.8.2)
py
Accepted
29
9040
277
import sys read = sys.stdin.read readline = sys.stdin.readline readlines = sys.stdin.readlines sys.setrecursionlimit(10 ** 9) INF = 1 << 60 MOD = 1000000007 def main(): N = int(readline()) print(N * (N + 1) // 2) return 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,201,997
s845089477
p04029
u543373102
1594872644
Python
Python (3.8.2)
py
Accepted
28
9020
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,201,998
s863394117
p04029
u991604406
1594765463
Python
Python (3.8.2)
py
Accepted
27
9048
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,201,999
s115372312
p04029
u551857719
1594751932
Python
Python (3.8.2)
py
Accepted
26
9156
230
#!/usr/bin/python # -*- coding: UTF-8 -*- import sys def std_in(): return sys.stdin.readline().strip() def _main(): N = int(std_in()) r = range(1, N + 1) print(sum(r)) if __name__ == "__main__": _main()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,000
s978139766
p04029
u767797498
1594710591
Python
Python (3.8.2)
py
Accepted
26
9088
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,001
s659727710
p04029
u970198631
1594692882
Python
Python (3.8.2)
py
Accepted
30
9048
73
N =int(input()) total =0 for i in range(N+1): total +=i print(total)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,002
s677625697
p04029
u443471096
1594676995
Python
PyPy3 (7.3.0)
py
Accepted
63
61744
70
n = int(input()) sum = 0 for i in range(n+1): sum += i print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,003
s267090702
p04029
u113255362
1594612163
Python
Python (3.8.2)
py
Accepted
24
8972
48
N = int(input()) res = int(N*(N+1)/2) print(res)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,004
s411341979
p04029
u736546944
1594576325
Python
PyPy3 (7.3.0)
py
Accepted
69
61544
64
a = int(input()) s = 0 for i in range(1, a+1): s += i print(s)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,005
s681302945
p04029
u482080156
1594527697
Python
Python (3.8.2)
py
Accepted
29
9148
33
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,006
s051170262
p04029
u634079249
1594507520
Python
Python (3.8.2)
py
Accepted
35
10096
972
import sys, os, math, bisect, itertools, collections, heapq, queue # from scipy.sparse.csgraph import csgraph_from_dense, floyd_warshall from decimal import Decimal from collections import defaultdict, deque sys.setrecursionlimit(10000000) ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(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,202,007
s214844835
p04029
u016843859
1594481416
Python
Python (3.8.2)
py
Accepted
23
9096
69
N=int(input()) count=0 for i in range(N): count+=i+1 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,008
s923503221
p04029
u316603606
1594410954
Python
Python (3.8.2)
py
Accepted
31
9104
64
N = int (input ()) x =0 for i in range (N): x += N-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,009
s163769468
p04029
u729627789
1594400124
Python
PyPy3 (7.3.0)
py
Accepted
85
61224
34
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,010
s937732100
p04029
u716117006
1594395563
Python
Python (3.8.2)
py
Accepted
30
9096
89
def resolve(): N = int(input()) print(sum([i for i in range(1, N+1)])) resolve()
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,011
s840841384
p04029
u359573942
1594364820
Python
Python (3.8.2)
py
Accepted
30
9048
33
n=int(input()) print(n*(n+1)//2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,012
s654320065
p04029
u359573942
1594364695
Python
Python (3.8.2)
py
Accepted
21
9068
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,202,013
s517801195
p04029
u233932118
1594353131
Python
Python (3.8.2)
py
Accepted
28
8992
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,014
s952658185
p04029
u052838115
1594343449
Python
Python (3.8.2)
py
Accepted
28
9152
78
N=int(input()) ans=0 a=1 for i in range(N): ans+=1*a a=a+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,015
s861688749
p04029
u061361273
1594294624
Python
Python (3.8.2)
py
Accepted
26
9000
39
x = int(input()) print(int((1+x)*x/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,016
s889298186
p04029
u886907961
1594277270
Python
Python (3.8.2)
py
Accepted
26
9008
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,017
s856491947
p04029
u061361273
1594267561
Python
Python (3.8.2)
py
Accepted
22
9096
98
number = int(input()) answer = 0 for i in range(1,number+1): answer = answer + i print(answer)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,018
s402808290
p04029
u786020649
1594245107
Python
Python (3.8.2)
py
Accepted
28
9028
46
n = int(input()) print(sum(list(range(n+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,019
s800199673
p04029
u684743124
1594244020
Python
Python (3.8.2)
py
Accepted
24
8964
61
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,020
s457289645
p04029
u007381711
1594236355
Python
Python (3.8.2)
py
Accepted
24
9096
99
# -*- coding:utf-8 -*- import sys input = sys.stdin.readline 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,021
s150153615
p04029
u706414019
1594200606
Python
Python (3.8.2)
py
Accepted
24
9060
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,022
s433739549
p04029
u969848070
1594173095
Python
Python (3.8.2)
py
Accepted
26
8968
36
a = int(input()) print((a*(1+a))//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,023
s337701927
p04029
u693105608
1594101758
Python
Python (3.8.2)
py
Accepted
27
9016
49
a = int(input()) arr = range(a) print(sum(arr)+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,024
s889453266
p04029
u598684283
1594094814
Python
Python (3.8.2)
py
Accepted
27
8940
98
Array = int(input()) tmp = 0 add = 1 for i in range(Array): tmp += add add += 1 print(tmp)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,025
s921608847
p04029
u744920373
1594092952
Python
Python (3.8.2)
py
Accepted
26
9088
607
import sys sys.setrecursionlimit(10**8) def ii(): return int(sys.stdin.readline()) def mi(): return map(int, sys.stdin.readline().split()) def li(): return list(map(int, sys.stdin.readline().split())) def li2(N): return [list(map(int, sys.stdin.readline().split())) for _ in range(N)] def dp2(ini, i, j): return [[ini]*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,202,026
s568322725
p04029
u823885866
1594088238
Python
Python (3.8.2)
py
Accepted
26
9156
33
print(sum(range(int(input())+1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,027
s494711669
p04029
u188138642
1594087735
Python
Python (3.8.2)
py
Accepted
24
8984
49
print(sum([i for i in range(1, int(input())+1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,028
s126972350
p04029
u215376033
1594061530
Python
Python (3.8.2)
py
Accepted
29
9092
96
number = int(input()) answer = 0 for i in range(number+1): answer = answer + i print(answer)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,029
s558368308
p04029
u875769753
1594043664
Python
PyPy3 (7.3.0)
py
Accepted
62
61792
34
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,030
s000146878
p04029
u460615319
1594011893
Python
Python (3.8.2)
py
Accepted
29
9152
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,031
s894403704
p04029
u087072944
1593993708
Python
Python (3.8.2)
py
Accepted
22
8912
111
# coding: utf-8 input_ = input() 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,032
s874259687
p04029
u978167553
1593917599
Python
Python (3.8.2)
py
Accepted
25
9028
45
n = int(input()) print(sum(range(1, n + 1)))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,033
s680192766
p04029
u047931063
1593909332
Python
PyPy3 (7.3.0)
py
Accepted
74
61740
68
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,034
s087661940
p04029
u642874916
1593747458
Python
Python (3.8.2)
py
Accepted
26
8996
73
N = int(input()) ans = 0 for i in range(1, N+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,035
s874445320
p04029
u168416324
1593737045
Python
Python (3.8.2)
py
Accepted
27
9084
46
print(sum([x for x in range(int(input())+1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,036
s020163443
p04029
u487332991
1593723037
Python
PyPy3 (7.3.0)
py
Accepted
67
61724
64
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,202,037
s394014686
p04029
u445256674
1593716193
Python
Python (3.8.2)
py
Accepted
22
9020
99
N = int( input() ) total = 0 for i in range(1, N+1): total += i print(total) #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,038
s115804836
p04029
u443471096
1593679179
Python
PyPy3 (7.3.0)
py
Accepted
69
61744
71
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,039
s491886638
p04029
u520018621
1593672132
Python
Python (3.8.2)
py
Accepted
22
9144
58
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,040
s617301494
p04029
u917558625
1593665842
Python
Python (3.8.2)
py
Accepted
24
9112
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,041
s180529093
p04029
u345710188
1593570994
Python
Python (3.8.2)
py
Accepted
28
9124
78
N = int(input()) count = 0 for i in range(N): count += i+1 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,042
s362741379
p04029
u809819902
1593564527
Python
Python (3.8.2)
py
Accepted
25
9028
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,043
s701139971
p04029
u761062383
1593556161
Python
Python (3.8.2)
py
Accepted
24
9080
67
n = int(input()) ans=0 for i in range(1, n+1): ans+=i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,044
s567315979
p04029
u858670323
1593538850
Python
Python (3.8.2)
py
Accepted
23
9140
69
n = int(input()) ans = 0 for i in range(1,n+1): ans += i print(ans)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,045
s920961686
p04029
u243572357
1593537920
Python
Python (3.8.2)
py
Accepted
26
9140
70
count = 0 for i in range(1, int(input())+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,046
s215967786
p04029
u816070625
1593536969
Python
PyPy3 (7.3.0)
py
Accepted
70
61788
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,047
s420612082
p04029
u078276601
1593454358
Python
Python (3.8.2)
py
Accepted
34
8940
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,048
s831508915
p04029
u616542081
1593397451
Python
Python (3.8.2)
py
Accepted
29
9124
71
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,049
s057861615
p04029
u425758699
1593385990
Python
Python (3.8.2)
py
Accepted
30
8992
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,050
s065469810
p04029
u679817762
1593370193
Python
Python (3.8.2)
py
Accepted
25
9160
125
#入力 N = int(input()) sum = 0 #1からNまでの和を計算 for i in range(1, N+1): sum = sum + i #出力 print(sum)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,051
s903484520
p04029
u643679148
1593346643
Python
Python (3.8.2)
py
Accepted
23
9028
66
n = int(input()) ans = sum([x for x 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,052
s241351893
p04029
u017050982
1593304971
Python
PyPy3 (7.3.0)
py
Accepted
82
61420
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,053
s497179902
p04029
u088488125
1593272898
Python
Python (3.8.2)
py
Accepted
27
8988
63
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,054
s903226429
p04029
u729133443
1593254767
Python
Python (3.8.2)
py
Accepted
23
9048
30
n=int(input()) print(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,055
s922199342
p04029
u565245377
1593254450
Python
PyPy3 (7.3.0)
py
Accepted
64
61700
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,056
s123590372
p04029
u998679483
1593234921
Python
Python (3.8.2)
py
Accepted
38
10380
427
from fractions import gcd from collections import Counter, deque, defaultdict from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort from itertools import accumulate, product, permutations, combinations def m...
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,057
s444961524
p04029
u998679483
1593234757
Python
Python (3.8.2)
py
Accepted
38
10368
462
from fractions import gcd from collections import Counter, deque, defaultdict from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort from itertools import accumulate, product, permutations, combinations def m...
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,058
s487328485
p04029
u209275335
1593152041
Python
Python (3.8.2)
py
Accepted
28
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,202,059
s419663849
p04029
u775378629
1593133393
Python
Python (3.8.2)
py
Accepted
31
9136
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,060
s038923029
p04029
u062999487
1593114591
Python
PyPy3 (7.3.0)
py
Accepted
65
61812
71
N = int(input()) ans = 0 for n in range(N): ans += 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,061
s973339544
p04029
u702786238
1593114590
Python
PyPy3 (7.3.0)
py
Accepted
62
61664
71
N = int(input()) ans = 0 for n in range(N): ans += 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,062
s498557200
p04029
u049182844
1593103864
Python
Python (3.8.2)
py
Accepted
24
9056
59
import math n = int(input()) print(sum(list(range(1,n+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,063
s086496364
p04029
u697615293
1593091145
Python
Python (3.8.2)
py
Accepted
29
9024
68
a = int(input()) b = 0 for i in range(a+1): b += int(i) print(b)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,064
s623968089
p04029
u514118270
1593060772
Python
Python (3.8.2)
py
Accepted
29
9888
464
import sys import math import itertools import bisect from copy import copy from collections import deque,Counter from decimal import Decimal def s(): return input() def i(): return int(input()) def S(): return input().split() def I(): return map(int,input().split()) def L(): return list(input().split()) def l(): retur...
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,065
s266512979
p04029
u981898278
1593030929
Python
Python (3.8.2)
py
Accepted
29
8956
81
N = int(input()) x = 0 for i in range(N): x += i + 1 print("{}".format(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,066
s995379904
p04029
u325119213
1593015682
Python
Python (3.8.2)
py
Accepted
25
8964
79
def actual(N): return ((N + 1) * N) // 2 N = int(input()) print(actual(N))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,067
s527024767
p04029
u710398282
1593005116
Python
Python (3.8.2)
py
Accepted
27
8972
94
candy = int(0) N = int(input()) for i in range(1, N+1): candy = candy + i 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,202,068
s920590760
p04029
u618369407
1593004675
Python
Python (3.8.2)
py
Accepted
24
9152
119
# -*- coding: utf-8 -*- n = int(input()) counter = 0 for i in range(n + 1): counter = counter + i print(counter)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,069
s694632647
p04029
u656120612
1592976502
Python
Python (3.8.2)
py
Accepted
22
9096
59
n=int(input()) a=0 for i in range(1,n+1): a+=i print(a)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,070
s315256505
p04029
u793430793
1592973025
Python
Python (3.8.2)
py
Accepted
28
9092
52
#ABC043A n=input() print(int(int(n)*(1+int(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,071
s200879933
p04029
u124063060
1592960889
Python
Python (3.8.2)
py
Accepted
29
9108
74
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,072
s877083008
p04029
u014333473
1592948927
Python
Python (3.8.2)
py
Accepted
23
8924
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,073
s934686680
p04029
u014333473
1592948819
Python
Python (3.8.2)
py
Accepted
27
8876
48
print(sum([i for i in range(1,int(input())+1)]))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,074
s103091984
p04029
u583507988
1592934770
Python
Python (3.8.2)
py
Accepted
28
9164
68
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,075
s075644077
p04029
u804954217
1592928914
Python
Python (3.8.2)
py
Accepted
28
9064
42
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,076
s885400213
p04029
u663263525
1592928726
Python
PyPy3 (7.3.0)
py
Accepted
66
61772
56
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,077
s293482646
p04029
u790012205
1592904445
Python
Python (3.8.2)
py
Accepted
25
9048
40
N = int(input()) print(N * (N + 1) // 2)
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,078
s979308462
p04029
u033642300
1592884626
Python
Python (3.8.2)
py
Accepted
27
9088
115
def main(): N = int(input()) ans = 0 for i in range(N): ans = ans + i + 1 print(ans) 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,079
s068255350
p04029
u419481574
1592808503
Python
Python (3.8.2)
py
Accepted
24
9032
51
A = int(input()) print(sum(list(range(1,A+1))))
p04029
<span class="lang-en"> <p>Score : <var>100</var> points</p> <div class="part"> <section> <h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil...
3
6
1,202,080