結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
fushigu
|
| 提出日時 | 2019-05-17 09:06:50 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 205 bytes |
| コンパイル時間 | 350 ms |
| コンパイル使用メモリ | 54,628 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-17 05:47:57 |
| 合計ジャッジ時間 | 1,211 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
int N = 0;
int ans = 0;
cin >> N;
for(int i = 0;i < N;i++)
{
ans += i + 1;
}
cout << ans << endl;
return 0;
}
fushigu