No.480 Sum
レベル :
/ AI推定難易度 : 75
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 2008
作問者 :
Tsuneo Yoshioka
/ テスター :
tatuyan_edson
タグ : / 解いたユーザー数 2008
作問者 :
tatuyan_edson
問題文最終更新日: 2026-06-25 22:18:11
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 156
(順位表)
の他の問題:
Problem Statement
Find the sum of the integers from 1 to N.
Input
N
The input is given as an integer.
$1 \le N \le 100 $
Output
Find the sum of the integers from 1 to N.
Sample
Sample 1
Input
3
Output
6
1+2+3=6.
Sample 2
Input
1
Output
1
Sample 3
Input
10
Output
55
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。