题解列表

筛选

C语言训练-计算1977!*

摘要:import math print(math.factorial(1977))直接调用math库中求阶乘的函数,python就是方便……

明明的随机数

摘要:n=int(input()) list1=list(map(int,input().split())) list1=list(set(list1)) list1.sort() print(le……

python-数字三角形

摘要:解题思路:参考博客https://www.jianshu.com/p/99e379de3368动态规划。建立一个大小为(n+1)*(n+1)二维数组dp,其中dp[i][j]为从顶点走到到第i行第j列……

超级变态的细节

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;long long  dg(long long  n) { if (n == 1 || n ……

P1002(结构体)

摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc……