回文判断

课程:C++ · 编程练习

C++编程练习 - 回文判断

练习内容

#include <iostream>\n#include <string>\n#include <algorithm>\nusing namespace std;\n\nbool isPalindrome(string text) {\n string cleaned = "";\n for (char c : text) {\n if (isalnum(c)) {\n