0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2025-01-26 12:40:07 +00:00
OI-codes/Luogu/P2368/P2368.cpp

21 lines
332 B
C++
Raw Normal View History

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