OJ-Problems-Source/HDOJ/2800_autoAC.cpp
2016-08-24 18:25:36 +08:00

11 lines
137 B
C++

#include<iostream>
using namespace std;
int main()
{
int n;
while(scanf("%d",&n)!=EOF&&n)
{
printf("%d\n",(n+1)>>1);
}
}