mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
27767e72ab
2800-2899
11 lines
137 B
C++
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);
|
|
}
|
|
}
|