回文串(回文串特点解法) 摘要:解题思路:知道回文串首尾相同的特点就很好解决。注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char srr[…… 题解列表 2024年11月13日 0 点赞 0 评论 234 浏览 评分:0.0
小白,看看就行,不动脑袋 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string s, s2; …… 题解列表 2024年11月13日 0 点赞 0 评论 220 浏览 评分:0.0
2874: 行程长度编码(暴力) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char a[1001]; f…… 题解列表 2024年11月13日 0 点赞 0 评论 184 浏览 评分:0.0
回文子串(三层嵌套循环复杂解法) 摘要:解题思路:从2个到整个为一对来对字符串进行检查;注意事项:各变量关系复杂,需花一定时间仔细琢磨;参考代码:一遍过真爽ヽ( ̄▽ ̄)ノ#include<stdio.h> #include<string.…… 题解列表 2024年11月13日 0 点赞 0 评论 244 浏览 评分:9.9
1200: 回文串(详细简单暴力解) 摘要:#include #include int main() { char a[256]; fgets(a, sizeof(a), stdin); // 去除fge…… 题解列表 2024年11月13日 0 点赞 0 评论 361 浏览 评分:0.0
用C语言的递归函数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>long long ww(int M, int N); // 指定返回类型为 long longint main() { int…… 题解列表 2024年11月13日 1 点赞 0 评论 483 浏览 评分:0.0
线段(贪心) 摘要: #include using namespace std; const int N=1e6+10; struct node{ int…… 题解列表 2024年11月13日 0 点赞 0 评论 308 浏览 评分:9.9
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,i,s1=0,s2=0; double c,s3=0…… 题解列表 2024年11月13日 0 点赞 0 评论 561 浏览 评分:0.0
加工生产调度 摘要: //这类生产加工题型记住了 #include using namespace std; const int N=10001; struct node{…… 题解列表 2024年11月13日 0 点赞 0 评论 281 浏览 评分:0.0
代码如下: 摘要:解题思路: 太简单了注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main() { string s; int…… 题解列表 2024年11月13日 0 点赞 0 评论 229 浏览 评分:0.0