回文判断-for循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>intmain(){ chara[1…… 题解列表 2025年02月22日 1 点赞 0 评论 95 浏览 评分:0.0
旧物有情 # 回文判断 两种方法 摘要:[TOC] # 方法一:reverse翻转 ``` #include #include #include #include #include using namespace s…… 题解列表 2024年10月17日 0 点赞 0 评论 96 浏览 评分:0.0
好用的STL双端队列(1) 摘要:#include<bits/stdc++.h> using namespace std; deque<int>q; int main() { char c[1000]; c…… 题解列表 2024年07月26日 0 点赞 0 评论 50 浏览 评分:0.0
回文数判断C++ 摘要:解题思路:定义函数 判断是否是回文数 再从主函数调用注意事项:赋值与等于的区别!本文赋值为加粗字体,等于为红色字体参考代码:#include <bits/stdc++.h>using namespac…… 题解列表 2024年07月17日 1 点赞 0 评论 281 浏览 评分:9.9
1999: 回文判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 0 点赞 0 评论 64 浏览 评分:0.0
回文数的判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char arr[10000],str[100000];…… 题解列表 2024年04月28日 0 点赞 0 评论 149 浏览 评分:0.0
回文判断(c语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char arr[20], i; …… 题解列表 2023年11月11日 0 点赞 0 评论 139 浏览 评分:0.0
回文判断(叛逆,又不是回文子串,不用字符数组) 摘要:参考代码: 没用数组的,但检测的数据用的好像比较大,要用long int ```c #include int main() { long int a; scanf("%ld",&a)…… 题解列表 2023年10月31日 0 点赞 0 评论 128 浏览 评分:0.0
判断回文数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,t=""; cin>>s; …… 题解列表 2023年05月11日 0 点赞 0 评论 86 浏览 评分:0.0
元始真解!编写题解 1999: 回文判断 摘要:#####解题思路:设反向扫描双指针为i和j,如果s[i]和s[j]相同,则执行i++和j—;如果s[i]和s[j]不同,那么或者删除s[i],或者删除s[j],看剩下的字符串是否是回文串。 ```…… 题解列表 2022年12月22日 0 点赞 0 评论 451 浏览 评分:9.9