1177: 計算N!(高精度)

#include<bits/stdc++.h> using namespace std; int main() { int n; while(cin>>n){ int a[10000]; a[0]=1; int temp=0; int s=0; //temp爲當下階乘結果爲幾位 for(int i=1;i<=n;i++){ int t=0; /
相關文章
相關標籤/搜索