摘要: A. 左移 #include<bits/stdc++.h> using namespace std; int main() { int T; cin >> T; while(T--) { string s; cin >> s; int ans = -1; if(s.front() == s.back 阅读全文
posted @ 2024-10-20 21:26 橙之夏 阅读(222) 评论(0) 推荐(0)