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

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

dərc olunub 06.01.24 22:35:26

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