hdu1018 Big Number

思路:设x是a的位数,则x=log10(a) + 1;ios             因而,结果就是log10(t!)+1=log10(t) + log10(t-1) + ... + log10(2) + 1spa #include <iostream> #include <cmath> using namespace std; int main() { int n; cin>>n
相关文章
相关标签/搜索