Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118511 | 李昊宇 | 字符串相等判断 | C++ | Accepted | 1 MS | 276 KB | 255 | 2025-05-04 14:17:33 |
#include<iostream> #include<cstring> using namespace std; int main(){ int n; char s1[1001]; char s2[1001]; cin>>s1>>s2; if(strcmp(s1,s2)==0){ cout<<"yes"; } else{ cout<<"no"; } return 0; }