結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
leaf_1415
|
| 提出日時 | 2019-04-01 22:25:43 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 385µs | |
| コード長 | 272 bytes |
| 記録 | |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 71,220 KB |
| 実行使用メモリ | 9,872 KB |
| 最終ジャッジ日時 | 2026-09-30 15:22:07 |
| 合計ジャッジ時間 | 1,918 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
#include <iostream>
#include <string>
#include <stdlib.h>
using namespace std;
string s;
int main(void)
{
cin >> s;
if(s[0] > '0' && s[0] <= '9'){
int n = atoi(s.c_str());
cout << n*(n+1)/2 << endl;
return 0;
}
cout << "Hello World!" << endl;
return 0;
}
leaf_1415