| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81508 | 张皓睿 | 字符串相等判断 | C++ | Accepted | 1 MS | 280 KB | 233 | 2024-07-12 14:28:31 |
#include<iostream> #include<cstring> using namespace std; int main() { char a[1000] = {},b[1000] = {}; int n; cin>>a>>b; n = strcmp(a,b); if(n == 0){ cout<<"yes"<<endl; }else{ cout<<"no"<<endl; } return 0; }