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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s019201903 | p04029 | u288601503 | 1540786131 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 69 | #1
n=int(input())
sum=0
for i in range(n):
sum=sum+i+1
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,781 |
s416808396 | p04029 | u090225501 | 1540784378 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | n = int(input())
print((1 + n) * n // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,782 |
s970750236 | p04029 | u733321071 | 1540751140 | 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,203,783 |
s905547157 | p04029 | u729133443 | 1540716493 | Python | PyPy2 (5.6.0) | py | Accepted | 35 | 27884 | 24 | n=input();print(n*-~n/2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,784 |
s055631742 | p04029 | u729133443 | 1540716468 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 24 | n=input();print(n*-~n/2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,785 |
s265353743 | p04029 | u637824361 | 1540676983 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 43 | N = int(input())
print(int(N * (N+1) / 2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,786 |
s750526097 | p04029 | u754553095 | 1540495783 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 59 | a=int(input())
def f(x):
return(x*(x+1)//2)
print(f(a)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,787 |
s448583800 | p04029 | u295961023 | 1540202962 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 104 | def main():
N = int(input())
print(sum(range(1, N + 1)))
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,203,788 |
s022691673 | p04029 | u923279197 | 1540160287 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 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,203,789 |
s396280669 | p04029 | u328755070 | 1540137236 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 41 | N = int(input())
print(N * (N + 1) // 2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,790 |
s497333942 | p04029 | u131405882 | 1540070883 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 46 | N = input()
sum = N * (N + 1) / 2
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,791 |
s509595291 | p04029 | u941753895 | 1540026869 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | n=int(input());print(int(n*(1+n)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,792 |
s174976621 | p04029 | u500279510 | 1540009520 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,793 |
s136140002 | p04029 | u533306556 | 1539992862 | Python | Python (3.4.3) | py | Accepted | 24 | 2940 | 72 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,794 |
s989355267 | p04029 | u832039789 | 1539901238 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | res = 0
n = int(input())
for i in range(1,n+1):
res += i
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,203,795 |
s056092031 | p04029 | u723304131 | 1539831805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 51 | 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,203,796 |
s114396794 | p04029 | u848647227 | 1539653660 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 75 | a = int(input())
count = 0
for i in range(1,a+1):
count += i
print(count) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,797 |
s802746042 | p04029 | u094191970 | 1539615617 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | child_num = int(input())
candy_num = 0
for num in range(child_num):
candy_num += num + 1
print(candy_num) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,798 |
s557837327 | p04029 | u094191970 | 1539615435 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | child_num = int(input())
candy_num = 0
for num in range(child_num):
candy_num += num + 1
print(candy_num) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,799 |
s470224752 | p04029 | u681150536 | 1539479179 | Python | Python (3.4.3) | py | Accepted | 19 | 3316 | 105 | def main():
N = int(input())
print(int(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,203,800 |
s825180723 | p04029 | u178536051 | 1539456505 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 69 | N = int(input())
ret = 0
for i in range(N):
ret += i+1
print(ret) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,801 |
s596412647 | p04029 | u595353654 | 1539384744 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 135 | # -*- coding: utf-8 -*-
from sys import stdin
n = int(stdin.readline().rstrip())
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,203,802 |
s021921527 | p04029 | u371763408 | 1539369948 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 94 | n = int(input())
if n % 2 == 0:
print(n*(1+n)//2)
else:
print((n*(1+(n-1))//2)+(n//2+1))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,803 |
s977861666 | p04029 | u052332717 | 1539050199 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 88 | num = int(input())
count = 0
for i in range(0, num):
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,203,804 |
s773027389 | p04029 | u163449343 | 1539036785 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,805 |
s300148797 | p04029 | u233152254 | 1538968345 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 41 | N = int(input())
print(N * (N + 1) // 2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,806 |
s853588232 | p04029 | u320325426 | 1538860737 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 48 | print(sum([i for i 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,203,807 |
s742762720 | p04029 | u320325426 | 1538860610 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | r = 0
for i in range(int(input()) + 1):
r += i
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,203,808 |
s467248580 | p04029 | u459697504 | 1538852181 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 823 | #! /usr/bin/python3
# A - キャンディーとN人の子供イージー / Children and Candies (ABC Edit)
"""
問題文
競プロ幼稚園にはN人の子供がいます。
えび先生は、子供たちを一列に並べ、
一人目にはキャンディーを1個,二人目には2個,...,
N人目にはN個あげることにしました。
必要なキャンディーの個数の合計は何個でしょう?
制約
1 ≦ N ≦ 100
入力
入力は以下の形式で標準入力から与えられる。
N
出力
必要なキャンディーの個数の合計を出力せよ。
"""
test_mode = True
... | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,809 |
s847410146 | p04029 | u711295009 | 1538847936 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 92 | n = int(input())
candy=0
index=0
while index < n:
index+=1
candy+=index
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,203,810 |
s028801136 | p04029 | u484856305 | 1538830877 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | a=int(input())
l=[]
for i in range(a):
l.append(i+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,203,811 |
s842035404 | p04029 | u474270503 | 1538774556 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,812 |
s743978685 | p04029 | u138486156 | 1538714586 | 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,203,813 |
s981112396 | p04029 | u635339675 | 1538696124 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 37 | a=int(input())
print(int(a*(a+1)/2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,814 |
s155911620 | p04029 | u596276291 | 1538610384 | Python | Python (3.4.3) | py | Accepted | 27 | 3944 | 740 | from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursi... | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,815 |
s788558831 | p04029 | u320325426 | 1538590883 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 60 | r = 0
for i in range(1, int(input()) + 1):
r += i
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,203,816 |
s838135136 | p04029 | u426108351 | 1538589501 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,817 |
s836488257 | p04029 | u940102677 | 1538527339 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 33 | print(sum(range(int(input())+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,818 |
s455517423 | p04029 | u094565093 | 1538442999 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | N=int(input())
sum=0
for i in range(N+1):
sum+=i
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,819 |
s446836974 | p04029 | u873849550 | 1538355746 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,820 |
s948794460 | p04029 | u063052907 | 1538250763 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 62 | #coding: utf-8
print(sum([i for i 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,203,821 |
s097549434 | p04029 | u063052907 | 1538250612 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 53 | #coding: utf-8
N = int(input())
print(N * (N+1) // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,822 |
s739568617 | p04029 | u589087860 | 1537825604 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 100 | n = input()
#print(n)
ans = 0
for i in range(int(n)):
#print(i)
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,203,823 |
s087902829 | p04029 | u099918199 | 1537813237 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 68 | n = int(input())
ans = 0
while n > 0:
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,203,824 |
s950513965 | p04029 | u853900545 | 1537719074 | 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,203,825 |
s745174909 | p04029 | u457901067 | 1537507144 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | N = int(input())
print(N * (N+1) // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,826 |
s390204122 | p04029 | u140342018 | 1537473091 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 69 | n = int(input())
sum = 0
for i in range(n):
sum += i+1
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,827 |
s646615375 | p04029 | u608088992 | 1537391958 | 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,203,828 |
s793868466 | p04029 | u505420467 | 1537295901 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 37 | n=int(input());print(int(n*(1+n)/2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,829 |
s801717291 | p04029 | u518556834 | 1537231554 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n = int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,830 |
s673188930 | p04029 | u611249982 | 1537166131 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
n = int(input())
print(sum([i for i in 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,203,831 |
s336236631 | p04029 | u484460274 | 1537012469 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 46 | print(sum([i+1 for i in range(int(input()))])) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,832 |
s909684954 | p04029 | u177398299 | 1536985038 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 68 | ans = 0
for i in range(1, int(input()) + 1):
ans += i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,833 |
s730475715 | p04029 | u932465688 | 1536961203 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,834 |
s127585065 | p04029 | u304561065 | 1536818981 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | N=int(input())
a=0
b=0
while not a==N:
a+=1
b+=a
print(b) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,835 |
s933021668 | p04029 | u177040005 | 1536771923 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | N = int(input())
ans = 0
for i in range(N+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,836 |
s488850627 | p04029 | u102126195 | 1536593858 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | N = int(input())
cnt = 0
for i in range(1, N + 1):
cnt += i
print(cnt) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,837 |
s457514124 | p04029 | u787562674 | 1536558579 | 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,203,838 |
s346251551 | p04029 | u251017754 | 1536266776 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,839 |
s525562295 | p04029 | u016393440 | 1536258921 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 76 | a = int(input())
ans = 0
for i in range(a + 1):
ans = ans + i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,840 |
s868452000 | p04029 | u394482932 | 1536249647 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | n=int(input());print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,841 |
s174578480 | p04029 | u863841238 | 1536179843 | 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,203,842 |
s390626273 | p04029 | u106297876 | 1536089671 | 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,203,843 |
s263888027 | p04029 | u017810624 | 1536028143 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | a=int(input())
print(int(a*(a+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,844 |
s977245275 | p04029 | u466105944 | 1535996498 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 173 | def total_candy(n):
if n == 1:
return 1
else:
return n + total_candy(n-1)
if __name__ == '__main__':
n = int(input())
print (total_candy(n)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,845 |
s920014049 | p04029 | u601082779 | 1535994026 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | a=int(input());print(a*(a+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,846 |
s392318400 | p04029 | u525423408 | 1535631911 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | n=int(input())
total=0
for i in range(1,n+1):
total +=i
print(total) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,847 |
s888156612 | p04029 | u331036636 | 1535613210 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 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,203,848 |
s075478582 | p04029 | u461636820 | 1535423769 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 119 | def main():
N = int(input())
candys = N * (1 + N) // 2
print(candys)
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,203,849 |
s854917119 | p04029 | u386819480 | 1535216098 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,850 |
s016380609 | p04029 | u366644013 | 1534789412 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n = int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,851 |
s990529436 | p04029 | u756569003 | 1534454547 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | N = int(input())
sumof = 0
for i in range(1, N+1):
sumof += i
print(sumof)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,852 |
s226346495 | p04029 | u759651152 | 1534215974 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 136 | #-*-coding:utf-8-*-
def main():
n = int(input())
ans = (n * (1 + n)) // 2
print(ans)
if __name__ == '__main__':
main() | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,853 |
s081572598 | p04029 | u277802731 | 1534015200 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 53 | #43a
n = int(input())
ans = int(n*(1+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,203,854 |
s506865034 | p04029 | u214617707 | 1534012635 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | n = int(input())
print(n * (n + 1) // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,855 |
s228360244 | p04029 | u076564993 | 1533954538 | 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,203,856 |
s943262704 | p04029 | u005260772 | 1533943592 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | from math import*
n=int(input())
print(floor(n*(n+1)/2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,857 |
s717801879 | p04029 | u005260772 | 1533943562 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 60 | from math import *
n=int(raw_input())
print n * (n + 1) / 2
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,858 |
s687777493 | p04029 | u005260772 | 1533943531 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 41 | n=int(raw_input())
print n * (n + 1) / 2
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,859 |
s965872205 | p04029 | u181668771 | 1533939580 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 76 | n = int(input())
candy = 0
for i in range(n+1):
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,203,860 |
s987074525 | p04029 | u263933075 | 1533932961 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 56 | from math import*
n=int(input())
print(floor(n*(n+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,861 |
s644775891 | p04029 | u263933075 | 1533932445 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 42 | print sum(range(1, int(raw_input()) + 1))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,862 |
s870381055 | p04029 | u005260772 | 1533932424 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 42 | print sum(range(1, int(raw_input()) + 1))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,863 |
s878852684 | p04029 | u653642801 | 1533783163 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 148 |
def main():
n = int(input())
ans = 0
for i in range(1,n+1):
ans+=i
print(ans)
if __name__ == "__main__":
main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,864 |
s191410564 | p04029 | u653642801 | 1533782710 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 148 |
def main():
n = int(input())
ans = 0
for i in range(1,n+1):
ans+=i
print(ans)
if __name__ == "__main__":
main()
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,865 |
s247421914 | p04029 | u629287683 | 1533782652 | 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,203,866 |
s092153012 | p04029 | u796060588 | 1533782131 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 104 | # vim: set fileencoding=utf-8 :
n = int(raw_input())
ko = 0
for i in range(n+1):
ko += i
print(ko)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,867 |
s588309321 | p04029 | u006657459 | 1533781197 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | N = int(input())
print(N * (N + 1) // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,868 |
s634082394 | p04029 | u419686324 | 1533781077 | Python | Python (3.4.3) | py | Accepted | 21 | 2940 | 40 | N = int(input())
print((N + 1) * N // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,869 |
s656461314 | p04029 | u373274281 | 1533781077 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,870 |
s574142341 | p04029 | u373274281 | 1533780959 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,871 |
s817758773 | p04029 | u006657459 | 1533780643 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | N = int(input())
print(N * (N + 1) // 2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,872 |
s233158891 | p04029 | u373274281 | 1533780598 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,873 |
s678331259 | p04029 | u373274281 | 1533780585 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,874 |
s737250219 | p04029 | u373274281 | 1533780339 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | n = int(input())
ans = 0
for i in range(1,n+1):
ans += i
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,875 |
s988145237 | p04029 | u769852547 | 1533780111 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 62 | import sys
n= int(input())
print(int(n*(n+1)/2))
sys.exit(0)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,876 |
s728347507 | p04029 | u439396449 | 1533780096 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 75 | N = int(input())
ans = 0
for i in range(1, N + 1):
ans += i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,877 |
s165769052 | p04029 | u879870653 | 1533659517 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 67 | 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,203,878 |
s114483619 | p04029 | u665190342 | 1533447065 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | n = int(input())
sum = 0
for i in range(n+1) :
sum += i
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,879 |
s325681648 | p04029 | u690536347 | 1533355960 | 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,203,880 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.