50分求助(玄关)
查看原帖
50分求助(玄关)
739859
123WRz楼主2023/11/14 18:44
#include <bits/stdc++.h>
using namespace std;

int main(){
	string s,tmp;
	cin >> s;
	tmp = s;
	reverse(tmp.begin(),tmp.end());
	if(tmp==s) cout << "yes" << endl;
	else cout << 'no' << endl;
	return 0;
}

为啥五十分

2023/11/14 18:44
加载中...