#include <iostream> #include<string> #include<algorithm> using namespace std; bool IsCircle(string s) { int begin = 0; int end = s.size() - 1; while (begin < end) { if (s[begin++] != s[end--]) { return false; } } retu...