Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81500 刘千亦 字符串相等判断 C++ Accepted 1 MS 280 KB 244 2024-07-12 14:24:57

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main() { char str1[1001] = {},str2[1001] = {}; int n; cin >> str1 >> str2; n = strcmp(str1,str2); if(n == 0) cout << "yes" << endl; else cout << "no" << endl; }