| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 87022 | sh25_zhoumy | 字符串判等 | C++ | 编译错误 | 0 MS | 0 KB | 464 | 2026-04-10 15:10:35 |
#include <iostream> #include <string> #include <cctype> using namespace std; string process(string s) { string res; for (char c : s) { if (c == ' ') continue; res += tolower(c); } return res; } int main() { string s1, s2;) getline(cin, s1); getline(cin, s2); if (process(s1) == process(s2)) { cout << "YES" << endl; } else { cout << "NO" << endl; } return 0; }