AC

小狐狸的X  •  2年前


include

include

using namespace std; int main(void){

//freopen("1113.in","r",stdin);
//freopen("1113.out","w",stdout);
int a;
scanf("%d",&a);
if(a%2==0){
	printf("%d",a/2);
}else{
	printf("%d",(a+1)/2);
}
return 0;

}


评论:

请先登录,才能进行评论