Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157619 王润中 字符串相等判断 C++ Accepted 1 MS 280 KB 252 2026-08-08 10:26:44

Tests(10/10):


Code:

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