Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79809 吴雨轩 字符串长度判断 C++ Compile Error 0 MS 0 KB 246 2024-07-10 15:24:59

Tests(0/0):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[150]; cin>>a; char b[150]; cin>>b; int s1 = strlen(a); int s2 = strlen(b); if(s1 == s2){ cout<<"yes"; } else{ cou<<"no"; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:15:3: error: 'cou' was not declared in this scope
   cou<<"no";
   ^