#include <bits/stdc++.h>
#define int long long
using namespace std;
typedef pair<int,int> pii;
int s=8100178706957568;
int check(int x)
{
int ss=s;
while(ss)
{
if(ss%x>=10) return 0;
ss/=x;
}
return 1;
}
void solve()
{
for(int i=11;i<=36;i++)
{
if(check(i))
{
cout<<i;
}
}
}
signed main()
{
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t;
t=1;
// cin>>t;
while(t--)
{
solve();
}
return 0;
}
2 回复
0 转发
0 喜欢
8 阅读



