結果
| 問題 |
No.192 合成数
|
| コンテスト | |
| ユーザー |
ant2357
|
| 提出日時 | 2016-04-08 14:04:17 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 150 bytes |
| コンパイル時間 | 515 ms |
| コンパイル使用メモリ | 63,520 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-07 15:37:34 |
| 合計ジャッジ時間 | 2,665 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 17 WA * 8 |
ソースコード
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if (n % 2 == 0) cout << n << endl;
else { n++; cout << n - 1 << endl;}
}
ant2357