Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155916 卢语宸 字符串相等判断 C++ Accepted 1 MS 276 KB 256 2026-06-14 15:05:41

Tests(10/10):


Code:

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