题解列表

筛选

gets函数,简单循环

摘要:解题思路:注意事项:参考代码: #include <stdio.h> #include <string.h> int main() { char a[205]; gets(a); int len……

P1002(结构体)

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

超级变态的细节

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

python-数字三角形

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