eolymp
bolt
Try our new interface for solving problems
Problems

Кількість непарних

published at 1/6/24, 10:37:13 pm

include <iostream>

include <cmath>

using namespace std;

int main() { long n; cin>>n; if(n%2==1) cout<<(n+1)/2; else cout<<n/2; return 0; }