結果

問題 No.815 Are you a traveller ?
ユーザー mine691
提出日時 2019-08-15 00:24:47
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 1,423 ms
コンパイル使用メモリ 165,928 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 14:41:14
合計ジャッジ時間 1,877 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int mod = 1e9 + 7;
const int inf = (1 << 30) - 1;
const ll infll = (1LL << 61) - 1;

int N;

int main()
{
    cin >> N;
    cout << (N + 1) / 2 << endl;
}
0