题解列表

筛选

二级C语言-阶乘数列(水题)

摘要:解题思路:注意事项:unsigned long long 放不下,用double放参考代码:#include <stdio.h>double f(int n){    if(n==1) return ……

2961: 最长单词2

摘要:```cpp #include using namespace std; int main() { int x,max=0,q,p; char ch[500]; ……

枚举-时间复杂度N

摘要:解题思路:就是枚举加上一个二分注意事项:参考代码:num=eval(input())list1=list(map(int,input().split()))list2=sorted(list1)res……