結果
| 問題 |
No.192 合成数
|
| コンテスト | |
| ユーザー |
mkawa2
|
| 提出日時 | 2020-01-20 08:33:02 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 358 bytes |
| コンパイル時間 | 1,654 ms |
| コンパイル使用メモリ | 164,888 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-02 22:16:49 |
| 合計ジャッジ時間 | 2,981 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 25 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
using vll = vector<ll>;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vvll = vector<vector<ll>>;
const ll inf = 1e16;
const ll md = 1000000007;
int main() {
int n;
cin >> n;
if(n&1) n+=1;
cout<<n<<endl;
return 0;
}
mkawa2