Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62377 祝家懿 字符串相等判断 C++ Compile Error 0 MS 0 KB 217 2023-12-23 16:33:17

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:8: error: 'yes' was not declared in this scope
  cout<