結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-04 17:43:44 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 413 bytes |
| 記録 | |
| コンパイル時間 | 957 ms |
| コンパイル使用メモリ | 70,644 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-29 11:13:26 |
| 合計ジャッジ時間 | 6,811 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
#include <iostream>
using namespace::std;
int main() {
int x = 0;
int n;
cout << "1ȏ100ȉ̐N͂Ă" << endl;
cin >> n;
int m = 0;
if (m<n && n<=100 && n>=1) {
for(m==1; m<=n; ++m) {
x += m;
}
cout << x << endl;
}
else if (n>100 || n<1) {
cout << "1ȏ100ȉ̐͂Ă" << endl;
}
}