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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s965390446 | p04029 | u120691615 | 1555729023 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 34 | n = int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,481 |
s181755134 | p04029 | u120691615 | 1555728869 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 71 | 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,482 |
s412011862 | p04029 | u382431597 | 1555727799 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | n = int(input())
isum = 0
for i in range(n+1):
isum += i
print(isum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,483 |
s660249617 | p04029 | u481026841 | 1555725582 | 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,484 |
s796746275 | p04029 | u150641538 | 1555687436 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 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,203,485 |
s988640111 | p04029 | u980492406 | 1555610045 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | n = int(input())
print(int(n*(n+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,486 |
s111716885 | p04029 | u407158193 | 1555559637 | Python | Python (3.4.3) | py | Accepted | 21 | 3060 | 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,203,487 |
s126424038 | p04029 | u885899351 | 1555446960 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 32 | n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,488 |
s832424285 | p04029 | u021083776 | 1555438370 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 74 | N = int(input())
ans = 0
for i in range(N):
ans += N
N -= 1
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,489 |
s652581870 | p04029 | u848678027 | 1555392761 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 124 | from sys import stdin
input=stdin.readline().rstrip()
input=int(input)
sum=0
for i in range(input+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,490 |
s644032373 | p04029 | u767664985 | 1555384799 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 45 | n = int(input())
print(int(n * (n + 1) / 2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,491 |
s550741920 | p04029 | u331464808 | 1555349950 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | n = int(input())
res = 0
for i in range(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,492 |
s353614014 | p04029 | u957872856 | 1555259116 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 67 | a = int(input())
sum = 0
for i in range(a+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,493 |
s538024186 | p04029 | u163320134 | 1555236416 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 61 | 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,494 |
s584360808 | p04029 | u220345792 | 1555118735 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,495 |
s401134215 | p04029 | u363438602 | 1555108874 | Python | Python (3.4.3) | py | Accepted | 20 | 3316 | 64 | n=input()
n=int(n)
a=0
for i in range(1,n+1):
a=a+i
print(a) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,496 |
s782744780 | p04029 | u956866689 | 1555040453 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | # -*- coding:utf-8 -*-
n = int(input())
sum = 0
for i in range(1, n+1):
sum += i
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,497 |
s515230415 | p04029 | u556016145 | 1555035891 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | x = int(input())
print(int((x**2 + 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,203,498 |
s196213529 | p04029 | u992910889 | 1555020282 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | from sys import stdin
n = int(stdin.readline().rstrip())
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,499 |
s032546723 | p04029 | u387456967 | 1555016687 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | x = int(input())
print(int(x*(x+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,500 |
s239874915 | p04029 | u423852414 | 1554935418 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 52 | N = int(input())
a = int(N * ( N + 1 ) / 2)
print(a) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,501 |
s728860450 | p04029 | u831830097 | 1554930867 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 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,203,502 |
s333666436 | p04029 | u428855582 | 1554912844 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 49 | print(sum([n for n 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,503 |
s214729746 | p04029 | u733870825 | 1554897168 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | n = int(input())
c = 0
for i in range(n):
c += i +1
print(c) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,504 |
s705331957 | p04029 | u209918867 | 1554859960 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 30 | n=int(input());print(n*-~n//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,505 |
s944575618 | p04029 | u923712635 | 1554764419 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | N = int(input())
print(int((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,506 |
s431235438 | p04029 | u319818856 | 1554759166 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 166 | def children_and_candies(N: int)->int:
return N * (N + 1) // 2
if __name__ == "__main__":
N = int(input())
ans = children_and_candies(N)
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,507 |
s279430529 | p04029 | u894694822 | 1554690289 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 45 | a = int(input())
b = range(a+1)
print(sum(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,508 |
s967999827 | p04029 | u894839777 | 1554682805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | n = input()
ya = 0
for i in range(1,int(n) + 1):
ya += i
print(ya)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,509 |
s457611748 | p04029 | u457960175 | 1554673789 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 72 | n = int(input())
cnt = 0
for i in range(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,510 |
s274669874 | p04029 | u288040231 | 1554668981 | Python | Python (3.4.3) | py | Accepted | 19 | 2940 | 77 | N = int(input())
result = 0
for i in range(N+1):
result += i
print(result)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,511 |
s394152170 | p04029 | u288040231 | 1554668709 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | N = int(input())
cnt = 0
for i in range(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,512 |
s067326026 | p04029 | u007733560 | 1554667273 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 123 | from sys import stdin
N = int(stdin.readline().rstrip())
result = 0
for i in range(1, N+1):
result += i
print(result) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,513 |
s364388176 | p04029 | u483151310 | 1554655059 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 77 | N = int(input())
# N = 5
cnt = 0
for i in range(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,514 |
s324251662 | p04029 | u299730702 | 1554648607 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 72 | 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,515 |
s151805132 | p04029 | u256868077 | 1554644506 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 36 | N=int(input())
print(int(N*(N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,516 |
s887916909 | p04029 | u363610900 | 1554620999 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(1+N)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,517 |
s761275699 | p04029 | u557523358 | 1554587862 | 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,518 |
s854367727 | p04029 | u091051505 | 1554558327 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | 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,203,519 |
s763948227 | p04029 | u121732701 | 1554500078 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 90 | N = int(input())
count = 0
for i in range(N+1):
count += i
print(count)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,520 |
s493315334 | p04029 | u055941944 | 1554499686 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 90 | # -*- coding utf-8 -*-
n = int(input())
x = 0
for z in range(0,n+1):
x += z
print(x)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,521 |
s571054268 | p04029 | u616522759 | 1554457434 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | 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,203,522 |
s162197543 | p04029 | u037430802 | 1554429031 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 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,203,523 |
s450609312 | p04029 | u989326345 | 1554394576 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 43 | N=int(input())
ans=(N*(N+1))//2
print(ans)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,524 |
s002785782 | p04029 | u279493135 | 1554324353 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 89 | from sys import stdin
input = stdin.readline
N = int(input())
print(int(1/2 * N * (N+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,525 |
s853366437 | p04029 | u019996510 | 1554302414 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | def main():
N = int(input())
total = 0
for i in range(N+1):
total += i
print(total)
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,526 |
s917875401 | p04029 | u303037478 | 1554266446 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 41 | n=int(input())
ans=(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,527 |
s615516504 | p04029 | u225415456 | 1554251534 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 44 | N = int(input())
a = N*(N+1)/2
print(int(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,528 |
s221970336 | p04029 | u357050210 | 1554219867 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,529 |
s351052805 | p04029 | u405947212 | 1554210097 | 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,530 |
s361848316 | p04029 | u460745860 | 1554178565 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 40 | N = int(input())
print(int(0.5*N*(N+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,531 |
s833546487 | p04029 | u655975843 | 1554153236 | 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,532 |
s381224968 | p04029 | u603745966 | 1554086523 | Python | Python (3.4.3) | py | Accepted | 22 | 3572 | 486 | from functools import reduce
def main():
# 一文字のみを読み込み
# s = input().rstrip().split(' ')
# スペース区切りで標準入力を配列として読み込み
# s = input().rstrip().split(' ')
# 位置文字ずつ標準入力を配列として読み込み
# s = list(input().rstrip())
n = int(input().rstrip())
ans = 0
for i in range(1,n+1):
ans = ans + 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,203,533 |
s245796174 | p04029 | u036363750 | 1554071102 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 111 | #!/usr/bin/env python3
def main():
a = int(input())
print(int(((a+1)*a)/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,534 |
s531473722 | p04029 | u748311048 | 1554067539 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 61 | 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,535 |
s620376083 | p04029 | u393581926 | 1554002220 | Python | Python (3.4.3) | py | Accepted | 18 | 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,536 |
s560337682 | p04029 | u826557401 | 1553975069 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 75 | 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,203,537 |
s701959321 | p04029 | u143509139 | 1553955875 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 33 | print(sum(range(int(input())+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,538 |
s374415545 | p04029 | u911575040 | 1553954275 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 60 | n=int(input())
z=0
for i in range(1,n+1):
z+=i
print(z)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,539 |
s693958225 | p04029 | u280512618 | 1553948492 | 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,540 |
s468004456 | p04029 | u020604402 | 1553920015 | Python | Python (3.4.3) | py | Accepted | 21 | 3060 | 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,203,541 |
s131410922 | p04029 | u020604402 | 1553919916 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 68 | 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,542 |
s686903927 | p04029 | u305965165 | 1553895193 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 68 | n = int(input())
res = 0
for i in range(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,543 |
s490421023 | p04029 | u141642872 | 1553892595 | 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,544 |
s349947242 | p04029 | u912862653 | 1553892021 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 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,203,545 |
s663749696 | p04029 | u019578976 | 1553889307 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 109 | n=int(input())
def calc(n):
if n==1:
return 1
else:
return n+calc(n-1)
print(calc(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,546 |
s795556946 | p04029 | u633355062 | 1553806572 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 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,547 |
s772102082 | p04029 | u795630164 | 1553718988 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | N = int(input())
answer = 0
for i in range(1, N+1):
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,203,548 |
s073513221 | p04029 | u455696302 | 1553695940 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 52 | 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,549 |
s906039550 | p04029 | u246820565 | 1553660556 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | 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,550 |
s430140018 | p04029 | u614314290 | 1553642462 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 49 | print(sum([x for x 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,551 |
s694655066 | p04029 | u993622994 | 1553638175 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 120 | # -*- coding: utf-8 -*-
n = int(input())
children = list(i for i in range(1, n+1))
answer = sum(children)
print(answer)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,552 |
s714564022 | p04029 | u714533789 | 1553630695 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 48 | print(sum([_ for _ 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,553 |
s383370540 | p04029 | u077019541 | 1553610446 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 54 | N = int(input())
print(sum([i for i in range(1,N+1)])) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,554 |
s512284414 | p04029 | u143318682 | 1553609949 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | # -*- coding: utf-8 -*-
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,555 |
s894545574 | p04029 | u864900001 | 1553551002 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | #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,556 |
s727638029 | p04029 | u179719532 | 1553406500 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 56 | # coding: UTF-8
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,557 |
s540696929 | p04029 | u267300160 | 1553365578 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 52 | N = int(input())
n_sum = int((1+N)*N/2)
print(n_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,558 |
s900534677 | p04029 | u588081069 | 1553212219 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 241 | input_str = int(input())
result = 0
# 関数を使う
## result = sum([i for i in range(1, input_str+1)])
# 等差数列の和の公式
## result = (input_str * (input_str+1))//2
for i in range(1, input_str+1):
result += i
print(result)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,559 |
s288842928 | p04029 | u588081069 | 1553211850 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 97 | input_str = int(input())
result = 0
for i in range(1, input_str+1):
result += i
print(result) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,560 |
s125816801 | p04029 | u721316601 | 1553200163 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 55 | N = int(input())
print(sum([i for i in range(1, N+1)])) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,561 |
s223134152 | p04029 | u227082700 | 1553192798 | 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,562 |
s081226530 | p04029 | u227082700 | 1553192703 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | n=int(input());print(round(n*(n+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,563 |
s566606629 | p04029 | u268516119 | 1553112989 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | N=int(input())
print(int(N*(N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,564 |
s999814535 | p04029 | u782654209 | 1553051964 | Python | Python (3.4.3) | py | Accepted | 21 | 3316 | 41 | N=int(input())
print(str(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,565 |
s046079473 | p04029 | u824237520 | 1552939319 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | 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,566 |
s812700626 | p04029 | u827241372 | 1552936530 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 146 | def main() -> None:
N = int(input())
s = 0
for i in range(N + 1):
s += i
print(s)
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,567 |
s441754523 | p04029 | u465669072 | 1552931600 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 70 | n = int(input())
a = []
a = [i for i in range(1, n+1)]
print(sum(a))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,568 |
s106217386 | p04029 | u518042385 | 1552871190 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 36 | n=int(input())
print(int(n*(n+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,569 |
s198664630 | p04029 | u023077142 | 1552827176 | Python | Python (3.4.3) | py | Accepted | 18 | 3064 | 731 | from itertools import combinations, product
def gcd(a, b):
if a < b:
a, b = b, a
while b != 0:
a, b = b, a % b
return a
def lcm(a, b):
return a * b // gcd(a, b)
def get(fmt):
ps = input().split()
r = []
for p, t in zip(ps, fmt):
if t == "i":
r.append(... | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, 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,570 |
s411796932 | p04029 | u373529207 | 1552782838 | Python | Python (3.4.3) | py | Accepted | 18 | 3316 | 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,571 |
s929962858 | p04029 | u555243859 | 1552776703 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 99 | n = input()
sum_candy = 0
for i in range(int(n)):
sum_candy = sum_candy + i +1
print(sum_candy) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,572 |
s993009268 | p04029 | u598050616 | 1552757229 | Python | Python (3.4.3) | py | Accepted | 17 | 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,573 |
s999905730 | p04029 | u119982147 | 1552753446 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 52 | n = [i+1 for i in range(int(input()))]
print(sum(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,574 |
s747530141 | p04029 | u119982147 | 1552753313 | 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,575 |
s247537123 | p04029 | u522266410 | 1552708386 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | N = int(input())
print(round(N*(N+1)/2))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,576 |
s368654401 | p04029 | u568595296 | 1552686312 | 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,577 |
s471485002 | p04029 | u914773681 | 1552675827 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 105 | def main():
N = int(input())
sum = 0
for i in range(1,N+1):
sum = sum + i
print(sum)
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,578 |
s838151045 | p04029 | u393512980 | 1552586560 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 32 | n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,579 |
s849965125 | p04029 | u164678731 | 1552557587 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 57 | # coding: utf-8
n = int(input())
print((n + 1) * n // 2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,203,580 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.