P1134 阶乘问题

luogu 传送门ios 这个题,用O(n)真的能够吗?大概是洛谷数据太弱了。web #include<iostream> #include<algorithm> #include<cstdio> #include<cmath> #define LL long long using namespace std; int n; LL ans=1; LL work(LL x) { while
相关文章
相关标签/搜索