eolymp
bolt
Try our new interface for solving problems
Problems

Number of n - digit integers

published at 5/1/24, 5:57:08 pm

include <iostream>

include <cmath>

using namespace std; int main() { int n; cin>>n; string s="9"; for(int i=1;i<n;i++) { s+='0'; } cout<<s; }