数形结合 题解

题目在主页,如有出错请指出

include <bits/stdc++.h>

using namespace std;

int main()
{
long long n;
cin >> n;
cout << (n + 1) / 2 << endl;
return 0;
}

posted @ 2025-04-26 10:23  嵇若凌  阅读(6)  评论(0)    收藏  举报