結果
問題 | No.1128 Wedding Ceremony |
ユーザー |
|
提出日時 | 2020-08-29 17:04:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 268 bytes |
コンパイル時間 | 1,619 ms |
コンパイル使用メモリ | 165,156 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-14 14:15:56 |
合計ジャッジ時間 | 2,569 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 21 |
ソースコード
#include <bits/stdc++.h> #define rep(i,s,n) for (int i = s; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int,int>; using field = vector<vector<int>>; int main() { ll n; cin >> n; if (n % 2 == 0) n++; cout << n << endl; return 0; }