Untitled
unknown
plain_text
2 years ago
315 B
6
Indexable
//домашка
#include <iostream>
#include <cmath>
#include <windows.h>
using namespace std;
int main()
{
int n;
cin >> n;
int o = (pow(10, n) - 1)+2;
int i = o;
while (o > (pow(10, (n - 1)) + 2)){
i--;
o -= 2;
cout << o << endl;
}
return 0;
}Editor is loading...
Leave a Comment