0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-05 08:58:47 +00:00
OI-codes/Luogu/P2368/P2368.cpp

21 lines
332 B
C++
Raw Normal View History

2021-11-19 09:01:13 +00:00
#include <bits/stdc++.h>
2020-11-01 12:42:34 +00:00
using namespace std;
int main() {
int n;
cin >> n;
2021-11-19 09:01:13 +00:00
if (n <= 8) {
2020-11-01 12:42:34 +00:00
cout << 0 << endl;
2021-11-19 09:01:13 +00:00
} else if (n == 9) {
2020-11-01 12:42:34 +00:00
cout << 8 << endl;
2021-11-19 09:01:13 +00:00
} else {
2020-11-01 12:42:34 +00:00
cout << 72;
2021-11-19 09:01:13 +00:00
for (int i = 10; i < n; i++) {
2020-11-01 12:42:34 +00:00
cout << 0;
}
cout << endl;
}
return 0;
}