結果
問題 |
No.1128 Wedding Ceremony
|
ユーザー |
![]() |
提出日時 | 2020-08-03 21:36:20 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 300 bytes |
コンパイル時間 | 1,203 ms |
コンパイル使用メモリ | 96,312 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 17:32:15 |
合計ジャッジ時間 | 1,765 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 21 |
ソースコード
#pragma GCC optimize("Ofast") #include<iostream> #include<stdio.h> #include<algorithm> #include<vector> #include<string.h> #include<math.h> #include<map> #include<iomanip> #include<queue> using namespace std; int main(){ long long n; cin >> n; if(n%2==0)n++; cout << n << endl; return 0; }