题解
2025-02-14 17:43:53
发布于:黑龙江
0阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main(){
int x;
cin>>x;
if(x%2==0){
cout<<x;
}
else{
cout<<x/2+1;
}
return 0;
}
这里空空如也
2025-02-14 17:43:53
发布于:黑龙江
#include <bits/stdc++.h>
using namespace std;
int main(){
int x;
cin>>x;
if(x%2==0){
cout<<x;
}
else{
cout<<x/2+1;
}
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个