| 比赛 | 20110923 | 评测结果 | AAAWWWWWWW |
|---|---|---|---|
| 题目名称 | 拜访奶牛 | 最终得分 | 30 |
| 用户昵称 | Truth.Cirno | 运行时间 | 0.000 s |
| 代码语言 | C++ | 内存使用 | 0.00 MiB |
| 提交时间 | 2011-09-23 21:56:26 | ||
#include <stdio.h>
using namespace std;
int main(void)
{
freopen("vacation.in","r",stdin);
freopen("vacation.out","w",stdout);
int n;
scanf("%d",&n);
n=(n/2.0-n/2==0.5)?n/2+1:n/2;
printf("%d\n",n);
fclose(stdin);
fclose(stdout);
return(0);
}