Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81498 王冠中 字符串相等判断 C++ Accepted 0 MS 276 KB 236 2024-07-12 14:24:33

Tests(10/10):


Code:

#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ char a[1000]={},b[1000]={}; cin>>a>>b; int n = strcmp(a,b); if(n==0){ cout<<"yes"; }else{ cout<<"no"; } return 0; }