結果

問題 No.480 合計
ユーザー ksbaseball
提出日時 2021-04-03 15:22:11
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 1,883 ms
コンパイル使用メモリ 117,760 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-24 21:16:04
合計ジャッジ時間 2,913 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
using namespace std;

int main()
{
	int input,output=0;
	cin >> input;
	
	for (int i = 1; i <= input; i++){
	    output += i;
	}
	
	cout << output << endl;
		return 0;
}
0