結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-07-09 15:20:27 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 221 bytes |
| コンパイル時間 | 440 ms |
| コンパイル使用メモリ | 68,108 KB |
| 最終ジャッジ日時 | 2025-01-06 11:51:24 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 22 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
string str;
getline(cin, str);
int N = stoi(str);
int sum = 0;
for (int i = 1; i <= N; ++i)
sum += i;
return sum;
}