結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
y_i0329
|
| 提出日時 | 2018-11-01 23:54:11 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 347 bytes |
| コンパイル時間 | 1,049 ms |
| コンパイル使用メモリ | 53,464 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-20 07:15:07 |
| 合計ジャッジ時間 | 1,434 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
#include <iostream>
using namespace std;
int main(void){
int count; /* カウント用変数 */
int n; /* 入力変数 */
int sum = 0; /* 合計値 */
cout << "1から100までの数字を入力して下さい。" << endl << "N:";
cin >> n;
for(count=0;count<=n;count++){
sum += count;
}
cout << sum << endl;
return 0;
}
y_i0329