eolymp
bolt
Try our new interface for solving problems
Problems

Кількість парних n-значних чисел

published at 3/18/21, 3:59:16 pm

n rəqəmli ədədlərin içində cüt ədədlərin sayını istiyir

published at 1/2/24, 9:34:02 pm

include <bits/stdc++.h>

using namespace std; int main() { long long n,m; cin>>n; m=pow(10,n)-pow(10,n-1); cout<<m/2; }