Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
2697 孙浚轩 字符串相等判断 C++ Accepted 0 MS 268 KB 241 2024-01-20 17:47:26

Tests(10/10):


Code:

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