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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s763205516 | p04029 | u346677493 | 1585498370 | Python | Python (2.7.6) | py | Accepted | 10 | 2568 | 63 | n=input()
total=0
for i in range(n):
total += i+1
print total | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,481 |
s382320582 | p04029 | u583795455 | 1585497458 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 80 | N = int(input())
output = 0
for i in range(N+1):
output += i
print(output) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,482 |
s816800615 | p04029 | u073866020 | 1585494948 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 68 | 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,202,483 |
s650594000 | p04029 | u901060001 | 1585457576 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 48 | 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,202,484 |
s352374377 | p04029 | u901060001 | 1585457347 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 61 | N = int(input())
a = 0
for i in range(N+1):
a += i
print(a) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,485 |
s036259289 | p04029 | u395816772 | 1585435958 | 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,202,486 |
s605453678 | p04029 | u787449825 | 1585430805 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | 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,202,487 |
s292397388 | p04029 | u292978925 | 1585421839 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 109 | """
in1 = ''
"""
in1 = input()
N = int(in1)
RC = 0
for idx1 in range(N):
RC = RC + idx1 + 1
print(RC)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,488 |
s552010708 | p04029 | u253681061 | 1585419553 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 35 | n = int(input())
print((1+n)*n//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,489 |
s881789226 | p04029 | u642418876 | 1585342774 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 64 | N=int(input())
sum=0
i=1
while i<=N:
sum+=i
i+=1
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,490 |
s764675278 | p04029 | u103136263 | 1585331178 | Python | Python (3.4.3) | py | Accepted | 37 | 5160 | 3,059 | # /usr/bin/python3
# -*- coding: utf-8 -*-
from queue import Queue
from queue import LifoQueue as Stack
from math import sqrt, floor, ceil, log2
from fractions import gcd
from itertools import permutations, combinations
from operator import itemgetter
from functools import cmp_to_key
__MOD__=(10**9)+7
yn = 'YNeos'
j... | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,491 |
s391889629 | p04029 | u408692629 | 1585281910 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 60 | num = int(input())
result = num * (num+1) // 2
print(result) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,492 |
s131477098 | p04029 | u440129511 | 1585237810 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 40 | 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,202,493 |
s249090860 | p04029 | u760961723 | 1585194242 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 42 | N = int(input())
print(int(N * (N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,494 |
s855830083 | p04029 | u528470578 | 1585185776 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 70 | N = int(input())
ans = 0
for i in range(1, N+1):
ans += i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,495 |
s378191001 | p04029 | u050641473 | 1585171390 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 55 | N = int(input())
ans = (1 + N) * N / 2
print(int(ans)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,496 |
s670772949 | p04029 | u877415670 | 1585164376 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 32 | n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,497 |
s367955563 | p04029 | u372550522 | 1585153309 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | a = 0
for i in range(int(input())+1):
a += i
print(a) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,498 |
s300085945 | p04029 | u789205676 | 1585104711 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 84 | N = int(input())
sum1 = 0
for i in range(N + 1):
sum1 = sum1 + i
print(sum1)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,499 |
s628400742 | p04029 | u110580875 | 1585070916 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | n=int(input())
ans=0
for i in range(n):
ans+=i+1
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,500 |
s669353252 | p04029 | u735654057 | 1585056277 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 75 | N = int(input())
sum = 0
for i in range(N):
sum += (i + 1)
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,501 |
s785904760 | p04029 | u540698208 | 1585051956 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 60 | n = int(input())
a = [x for x 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,202,502 |
s644758830 | p04029 | u519835472 | 1584992904 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 69 | 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,202,503 |
s850772320 | p04029 | u132974957 | 1584935826 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 68 | x = int(input())
y = 0
for i in range(x+1):
y += i
print(y) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,504 |
s810454852 | p04029 | u132974957 | 1584935789 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 69 | x = int(input())
y = 0
for i in range(x):
y += i + 1
print(y) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,505 |
s062881502 | p04029 | u089142196 | 1584892948 | 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,202,506 |
s176819258 | p04029 | u017415492 | 1584830564 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 36 | n=int(input())
print(int((1+n)/2*n)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,507 |
s937958675 | p04029 | u298297089 | 1584825860 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | n = int(input())
print(n * (n+1) //2 ) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,508 |
s454293816 | p04029 | u556069480 | 1584823390 | Python | Python (3.4.3) | py | Accepted | 17 | 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,202,509 |
s661270502 | p04029 | u272075541 | 1584756774 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | n=int(input());print((n*n+n)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,510 |
s741525709 | p04029 | u697696097 | 1584749197 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | n=int(input())
ans=0
for i in range(1,n+1):
ans+=i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,511 |
s610032257 | p04029 | u580404776 | 1584745573 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | N=int(input())
ans=0
for i in range(N+1):
ans+=i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,512 |
s444049121 | p04029 | u951684192 | 1584740197 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 75 | result=0
n= int(input())
for i in range(1,n+1):
result+=i
print(result) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,513 |
s107660796 | p04029 | u591016708 | 1584586141 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | print(sum(list(range(1, int(input())+1)))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,514 |
s631252460 | p04029 | u886142147 | 1584478056 | Python | Python (3.4.3) | py | Accepted | 19 | 3060 | 47 | N = int(input())
print(int((N * (N + 1)) / 2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,515 |
s566174303 | p04029 | u246372582 | 1584414756 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 73 | N=int(input())
count=0
for i in range(N) :
count=count+i+1
print(count) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,516 |
s888543748 | p04029 | u016323272 | 1584393498 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 86 | #ABC.043A
N = int(input())
#合計の計算
total = N*(N+1)/2
print(str(round(total))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,517 |
s468543557 | p04029 | u578501242 | 1584383060 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | x=int(input())
print((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,202,518 |
s283023586 | p04029 | u530383736 | 1584379380 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 84 | # -*- coding: utf-8 -*-
N = int(input().strip())
#-----
print( int( N*(N+1)/2 ) )
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,519 |
s629579088 | p04029 | u955251526 | 1584337530 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n = int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,520 |
s552764134 | p04029 | u490489966 | 1584289042 | Python | Python (3.4.3) | py | Accepted | 17 | 3060 | 110 | #ABC043 A
def f(x):
if x<=1:
return 1
else:
return f(x-1)+x
n=int(input())
print(f(n)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,521 |
s745273826 | p04029 | u641446860 | 1584250391 | 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,202,522 |
s547333454 | p04029 | u991567869 | 1584242570 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 46 | x = int(input())
y = (x + 1)*x
print(int(y/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,523 |
s776422377 | p04029 | u061831821 | 1584226989 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 99 | children_num = int(input())
total_candy = children_num*(children_num+1)/2
print(int(total_candy))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,524 |
s614210087 | p04029 | u723583932 | 1584222970 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 77 | #abc043 a
n=int(input())
ans=0
for i in range(1,n+1):
ans+=i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,525 |
s737109999 | p04029 | u324508508 | 1584216793 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | N=int(input())
s=0
for i in range(0,N+1):
s=s+i
print(s) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,526 |
s283565775 | p04029 | u731603651 | 1584163590 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | n=int(input())
print((n+1)*n//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,527 |
s005291425 | p04029 | u372670441 | 1584140275 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | n = int(input())
print(int((n/2)*(n+1))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,528 |
s715758551 | p04029 | u768559443 | 1584130696 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 59 | 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,202,529 |
s994816434 | p04029 | u678167152 | 1584079179 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,530 |
s684806226 | p04029 | u159975271 | 1584064700 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | N = int(input())
k = N
for i in range (N):
k = i + k
print(k) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,531 |
s203754180 | p04029 | u163874353 | 1584053207 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 44 | N = int(input())
print(int(N * (N + 1) / 2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,532 |
s313768294 | p04029 | u288430479 | 1584023740 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 61 | n = int(input())
i = 0
for a in range(n):
i += a+1
print(i) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,533 |
s372762649 | p04029 | u764401543 | 1584011609 | Python | Python (3.4.3) | py | Accepted | 20 | 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,202,534 |
s623351652 | p04029 | u017719431 | 1583984461 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | N = int(input())
print(int(N*(N+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,535 |
s123270337 | p04029 | u242031676 | 1583974952 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | n=int(input());print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,536 |
s027708588 | p04029 | u021916304 | 1583973197 | Python | Python (3.4.3) | py | Accepted | 17 | 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,202,537 |
s678818088 | p04029 | u139112865 | 1583959206 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 39 | #043_A
n=int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,538 |
s379373617 | p04029 | u867826040 | 1583952204 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 47 | n = int(input())
print(sum(list(range(1,n+1)))) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,539 |
s056917721 | p04029 | u880277518 | 1583937679 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 121 | # A - キャンディーとN人の子供イージー
n=int(input())
sum=0
for i in range(1,n+1):
sum+=i
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,540 |
s861597287 | p04029 | u802963389 | 1583935128 | 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,202,541 |
s628945714 | p04029 | u576917603 | 1583933071 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 65 | n=int(input())
ans=0
for i in range(1,n+1):
ans+=i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,542 |
s231877068 | p04029 | u202570162 | 1583928896 | Python | Python (3.4.3) | py | Accepted | 17 | 3064 | 1,157 | #A
N=int(input())
print(sum(i for i in range(1,N+1)))
#C
if False:
N=int(input())
V=[int(i) for i in input().split()]
K=list(set(V))
if len(K)==1:
print(N//2)
exit()
cnt={}
cnt[-1]=0
for k in K:
cnt[k]=0
for i in range(0,N,2):
cnt[V[i]]+=1
ev_MAX=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,202,543 |
s488173598 | p04029 | u561083515 | 1583928824 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 36 | N = int(input())
print(N*(N+1)//2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,544 |
s144908493 | p04029 | u281610856 | 1583928813 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 39 | n = int(input())
print(n * (n+1) // 2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,545 |
s602394418 | p04029 | u331360010 | 1583926905 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 34 | n = int(input())
print(n*(n+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,546 |
s903294023 | p04029 | u814986259 | 1583926531 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 32 | n=int(input())
print((n*n+n)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,547 |
s290866058 | p04029 | u503228842 | 1583926525 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 48 | N = int(input())
ans = int(N*(N+1)/2)
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,548 |
s146486588 | p04029 | u599114793 | 1583926332 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 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,202,549 |
s585519025 | p04029 | u977661421 | 1583926332 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 66 | # -*- 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,202,550 |
s186828883 | p04029 | u186838327 | 1583926309 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 35 | n = int(input())
print(n*(n+1)//2)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,551 |
s292143562 | p04029 | u852690916 | 1583926295 | 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,202,552 |
s170602073 | p04029 | u608088992 | 1583926294 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 158 | import sys
def solve():
input = sys.stdin.readline
N = int(input())
print(N * (N + 1) // 2)
return 0
if __name__ == "__main__":
solve() | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,553 |
s153447966 | p04029 | u561083515 | 1583926257 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 35 | N = int(input())
print(N*(N+1)//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,554 |
s428212802 | p04029 | u841623074 | 1583889375 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | N=int(input())
ans=0
for i in range(N+1):
ans+=i
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,555 |
s868072602 | p04029 | u771538568 | 1583871472 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | a=int(input())
b=int((a*(a+1))/2)
print(b) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,556 |
s273113346 | p04029 | u061674046 | 1583861313 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 54 | n = float(input())
c = int(((1 + n) / 2) * n)
print(c) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,557 |
s355746248 | p04029 | u075595666 | 1583755634 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | n = int(input())
print(int(n*(n+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,558 |
s553836439 | p04029 | u075595666 | 1583755263 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 63 | n = int(input())
s = 0
for i in range(1,n):
s = s+i
print(s+n) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,559 |
s709891847 | p04029 | u716660050 | 1583748425 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 57 | N=int(input())
o=0
for i in range(N):
o+=i+1
print(o) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,560 |
s683774855 | p04029 | u692632484 | 1583740059 | 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,202,561 |
s838532479 | p04029 | u775912090 | 1583702628 | 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,202,562 |
s600061635 | p04029 | u951947571 | 1583693965 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 56 | n = int(input())
cand = (1 + n)*n / 2
print(int(cand)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,563 |
s667363662 | p04029 | u283220417 | 1583691306 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 60 | N = int(input())
C = [i for i in range(1,N+1)]
print(sum(C)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,564 |
s469639789 | p04029 | u620238824 | 1583627464 | Python | Python (3.4.3) | py | Accepted | 18 | 2940 | 65 | s = int(input())
n = 0
for i in range(s):
n += i+1
print(n) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,565 |
s288922209 | p04029 | u465152652 | 1583560327 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 115 | n = int(input())
if n%2==0:
result=(n+1)*n/2
else:
m=int(n-1)
result=(m+1)*m/2+n
print(int(result))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,566 |
s860567764 | p04029 | u994307795 | 1583554273 | 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,202,567 |
s992519210 | p04029 | u071002307 | 1583528083 | Python | Python (3.4.3) | py | Accepted | 17 | 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,202,568 |
s778979876 | p04029 | u422272120 | 1583468772 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 37 | n = int(input())
print ((n*(n+1))//2) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,569 |
s105108282 | p04029 | u458282993 | 1583433871 | Python | Python (2.7.6) | py | Accepted | 11 | 2568 | 82 | input1 = raw_input()
result = ((int(input1) + 1) * int(input1)) / 2
print result | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,570 |
s700996529 | p04029 | u763724837 | 1583433269 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 95 | if __name__ == '__main__':
n = input()
n = int(n)
ans = ((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,202,571 |
s485053581 | p04029 | u763724837 | 1583433218 | Python | Python (3.4.3) | py | Accepted | 16 | 2940 | 122 | if __name__ == '__main__':
n = input()
n = int(n)
#ans = ((n+1)*n)//2
ans = sum(range(n+1))
print(ans) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,572 |
s475316092 | p04029 | u666844906 | 1583377951 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | N = int(input())
print(int(N*(N + 1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,573 |
s319579846 | p04029 | u368563078 | 1583363738 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 78 | num = int(input())
sum = 0
for i in range(num+1):
sum = sum + i
print(sum) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,574 |
s377590249 | p04029 | u098569005 | 1583354666 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | N = int(input())
sum = 0
for i in range(N+1):
sum += i
print(sum)
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,575 |
s188513863 | p04029 | u393881437 | 1583340109 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 42 | 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,202,576 |
s619796255 | p04029 | u077898957 | 1583335184 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 40 | n = int(input())
print(sum(range(n+1)))
| p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,577 |
s424974421 | p04029 | u000123984 | 1583284147 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 38 | n = int(input())
print(int(n*(n+1)/2)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,578 |
s037828491 | p04029 | u263824932 | 1583266708 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 70 | N=int(input())
C=[]
for n in range(N+1):
C.append(n)
print(sum(C)) | p04029 | <span class="lang-en">
<p>Score : <var>100</var> points</p>
<div class="part">
<section>
<h3>Problem Statement</h3><p>There are <var>N</var> children in AtCoder Kindergarten. Mr. Evi will arrange the children in a line, then give <var>1</var> candy to the first child in the line, <var>2</var> candies to the second chil... | 3
| 6
| 1,202,579 |
s748492926 | p04029 | u738341948 | 1583235318 | Python | Python (3.4.3) | py | Accepted | 17 | 2940 | 50 | n = int(input())
sum = int((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,202,580 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.