eolymp
bolt
Try our new interface for solving problems
Məsələlər

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

dərc olunub 06.01.24 22:37:13

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; }