行业知识
Entertainment in MAC(Round 932)
2026-11-15 15:20:14
来源:互联网转载
#include #define endl '\n'using ll = long long;typedef unsigned long long ull;using namespace std;void GordenGhost();signed main() {#ifdef Gorden freopen("in.txt", "rt", stdin); freopen("out.txt", "wt", stdout);#endif ios::sync_with_stdio(false); cin.tie(nullptr), cout.tie(nullptr); int t; cin>>t; while (t--) GordenGhost(); return 0;}void GordenGhost() { int n; cin>>n; string s1,s2; cin>>s2; s1=s2; reverse(s2.begin(),s2.end()); if (s1