数字统计位数log10(x)+1。
N^N=a*10^b;
log10(N^N)=log10(a)+b;
ans=(int)a=10^(N*log10(N)-(long long)(N*log10(N)));