Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100124 杨登博 字符串相等判断 C++ Accepted 1 MS 276 KB 291 2024-12-02 20:48:11

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #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<<"no"; else cout<<"yes"; return 0; }