[第2章 2.2e1] Palindromes
#include#define endl '\n' using namespace std; typedef long long ll; bool solve(){ string str; cin>>str; ll len=str.size(); for(ll i=0;i >t; while(t--){ if(solve())cout<<"yes"<
#include#define endl '\n' using namespace std; typedef long long ll; bool solve(){ string str; cin>>str; ll len=str.size(); for(ll i=0;i >t; while(t--){ if(solve())cout<<"yes"<