Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2698 | 邓程允 | 字符串相等判断 | C++ | Accepted | 0 MS | 264 KB | 242 | 2024-01-20 17:48:55 |
# include<iostream> # include<cstring> using namespace std; int main(){ char a[1001],b[1001]; cin>>a>>b; int c=strcmp(a,b); if(c==0){ cout<<"yes"; } else{ cout<<"no"; } return 0; }