結果
問題 |
No.3083 One Two
|
ユーザー |
|
提出日時 | 2025-04-05 20:58:33 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 164 bytes |
コンパイル時間 | 2,310 ms |
コンパイル使用メモリ | 192,576 KB |
実行使用メモリ | 5,888 KB |
最終ジャッジ日時 | 2025-04-05 20:58:36 |
合計ジャッジ時間 | 3,128 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int x; cin >> x; if (x % 2 == 1) cout << x / 2 + 1 << endl; else cout << x / 2 << endl; return 0; }