```#include<bits/stdc++.h> using namespace std; int main() { cout<<1089; /* 1089*9=9801 */ return 0; } /* 思路:一个数字末尾是九,开头是一, 这个数*9之后开头是九,他反过来时, 因为末尾是九,所以反序数开头符合要 求,再继续尝试,即可得出符合题意 的数是1089. */
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.
Using your Hydro universal account