結果
問題 |
No.192 合成数
|
ユーザー |
|
提出日時 | 2015-05-26 02:30:43 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 601 ms |
コンパイル使用メモリ | 55,120 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-07 15:25:12 |
合計ジャッジ時間 | 4,164 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 4 WA * 21 |
ソースコード
#include <iostream> using namespace std; int main(void) { ios::sync_with_stdio(false); cin.tie(0); int N; cin >> N; int res = N / 2; cout << ((res % 2 == 0) ? res : res + 1) << endl; return 0; }