#include<bits/stdc++.h>#define _GLIBCXX_DEBUG#define rep(i, n) for (int i = 0; i < (int)(n); i++)#define repi(i, a, b) for (int i = (int)(a); i < (int)(b); i++)usingnamespace std;// 天井関数intmy_ceil(int a,int b){return(a + b -1)/ b;}intmain(){int N;
cin >> N;
cout <<my_ceil(N,2)<< endl;}
コメント