摘要:
n!的位数=log10(1)+log10(2)+......+log10(n)取整后加一 1 # include 2 # include 3 4 using namespace std; 5 6 int main(void) 7 { 8 int n, t; 9 cin >> n;10 while(n--)11 {12 cin >> t;13 double sum = 0;14 for(int i = 1; i <= t; i++)15 {16 sum += log10... 阅读全文