判断回文数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s,t=""; cin>>s; …… 题解列表 2023年05月11日 1 点赞 0 评论 525 浏览 评分:0.0
回文判断(叛逆,又不是回文子串,不用字符数组) 摘要:参考代码: 没用数组的,但检测的数据用的好像比较大,要用long int ```c #include int main() { long int a; scanf("%ld",&a)…… 题解列表 2023年10月31日 0 点赞 0 评论 576 浏览 评分:0.0
回文判断(c语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char arr[20], i; …… 题解列表 2023年11月11日 0 点赞 0 评论 680 浏览 评分:0.0
回文数的判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char arr[10000],str[100000];…… 题解列表 2024年04月28日 0 点赞 0 评论 752 浏览 评分:0.0
1999: 回文判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){ …… 题解列表 2024年07月10日 1 点赞 0 评论 430 浏览 评分: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 评论 379 浏览 评分:0.0
旧物有情 # 回文判断 两种方法 [TOC]#方法一:reverse翻转```#include#include#include#include#includeusingnamespacestd;intn,jin,yin,tong;intmain(){strings;cin>>s;stringtemp=s;reverse(s.begin 题解列表 2024年10月17日 0 点赞 0 评论 573 浏览 评分:0.0
回文判断-for循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>intmain(){ chara[1…… 题解列表 2025年02月22日 2 点赞 0 评论 653 浏览 评分:0.0
回文判断-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ string s; cin>>s; int len=s.size(…… 题解列表 2020年04月24日 0 点赞 0 评论 1258 浏览 评分:0.0
回文判断 (C++代码) 摘要:解题思路:通过string类读取正整数,然后直接按照回文数的定义进行比较,可以只比较一半的字符串,单位了省事,我直接从头比较到尾注意事项:注意#include<string>,注意结果输出全是大写(Y…… 题解列表 2019年02月02日 0 点赞 0 评论 1098 浏览 评分:0.0