#include<bits/stdc++.h>
#include<queue>
using namespace std;
int main()
{
queue<char>a;
int n,r,n1,w=0,num=0;
cin>>n>>r;
n1=n;
while(n1!=0){
n1/=10;
w++;
}
n1=n;
for(int i=1;i<=w;i++){
if(pow(n1%10,i)>9)
a.push((char)(pow(n1%10,i)+55));
else
a.push((char)(pow(n1%10,i)+48));
}
while(!a.empty()){
cout<<a.front();
a.pop();
}
return 0;
}
不知错在哪(悬关)(崩溃一百天)