洛谷 2759 奇怪的函數

【題解】   取個對數然後二分即可。對於一個數x,x^x的位數就是(int)(lg(x)*x+1). 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #include<cmath> 5 #define LL long long 6 #define rg register 7 #define N 200010
相關文章
相關標籤/搜索