1316: 最长不下降子序列的长度 摘要:```cpp #include using namespace std; int main() { int n,t,max=-1,a[5001],b[5001]; scan…… 题解列表 2023年05月03日 0 点赞 0 评论 522 浏览 评分:6.0
素数回文(c语言代码) 摘要:```c #include #include int IsPrime(int n); int IsParlindrome(int n); int main()//素回文数 { i…… 题解列表 2023年05月03日 0 点赞 0 评论 477 浏览 评分:9.9
1315: 田忌赛马 摘要:```cpp #include using namespace std; int b[10001],bb[10001]; long long sum,t; int main() { …… 题解列表 2023年05月03日 0 点赞 0 评论 583 浏览 评分:9.9
1314: 乘积最大 摘要:```cpp #include using namespace std; int _max(int *a,int n,int k) { if(k==0) { …… 题解列表 2023年05月03日 0 点赞 0 评论 632 浏览 评分:9.3
1312: 最大的算式 摘要:```cpp #include using namespace std; long long dp[16][16]; int sum[16]; int main() { int …… 题解列表 2023年05月03日 0 点赞 0 评论 794 浏览 评分:9.9
1311: 数字三角形 摘要:```cpp #include using namespace std; int a[100][100],n; int f(int i,int j) { if(i==n) …… 题解列表 2023年05月03日 0 点赞 0 评论 600 浏览 评分:9.9
神奇的fans(c语言) 摘要:```c #include #include int compare(const void* n1, const void* n2) { return *((int*)n1) - *(…… 题解列表 2023年05月03日 0 点赞 0 评论 443 浏览 评分:9.9
破解简单密码(switch暴力破解) 摘要:```c #include #include void Decode(char* strs); char translate(char ch); int main() { char p…… 题解列表 2023年05月03日 0 点赞 0 评论 471 浏览 评分:10.0
查找最大元素(c语言代码) 摘要:解题思路:1.查找最大元素。2.插入字符串(max)。根据题目要求,我们可以将本程序分为几个部分,利用函数解决每一步的问题: #include #include …… 题解列表 2023年05月03日 1 点赞 0 评论 731 浏览 评分:9.9
1347八皇后(C++)题解 摘要:写了很多次终于做出来了!解题思路:显然问题的关键在于如何判定某个皇后所在的行,列,斜线上是否有别的皇后可以从矩阵的特点上找到规律,如果在同一行,则行号相同;如果在同一列上,则列好相同;如果同在/斜线上…… 题解列表 2023年05月03日 0 点赞 0 评论 492 浏览 评分:9.0