結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
猫吉
|
| 提出日時 | 2019-02-01 11:23:19 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 12 ms / 2,000 ms |
| コード長 | 213 bytes |
| コンパイル時間 | 419 ms |
| コンパイル使用メモリ | 65,500 KB |
| 最終ジャッジ日時 | 2025-01-06 20:42:34 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main() {
int a,b=0;
cin >> a;
for (int i=1; i<=a; i++) {
b += i;
if (i==a) {
cout << b;
};
};
}
猫吉