题解 1999: 回文判断

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

我居然自己写对了,太棒了

摘要:解题思路:注意事项:参考代码:n=input()if int(n[::-1])==int(n):    print('YES')else:    print('NO')……

1999-回文判断(简洁)

摘要:```cpp #include #include using namespace std; int main() { long long n; //long long数据最大值占19……

回文判断(字符串比较)+ 踩坑经过

摘要:解题思路:                回文数:是从左到右读和从右到左读都一样的数字。                思路:既然题目要求使用字符串来解决,无非就是字符串的比较问题。先使用一个for循……

元始真解!编写题解 1999: 回文判断

摘要:#####解题思路:设反向扫描双指针为i和j,如果s[i]和s[j]相同,则执行i++和j—;如果s[i]和s[j]不同,那么或者删除s[i],或者删除s[j],看剩下的字符串是否是回文串。 ```……

判断回文数

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    string s,t="";    cin>>s;  ……

回文判断(c语言代码)

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

回文数的判断

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char arr[10000],str[100000];……

1999: 回文判断

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll fanzhuan(ll x){  ……