Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134824 刘益梵 字符串相等判断 C++ Compile Error 0 MS 0 KB 179 2025-11-01 16:28:18

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; char a[1000],b[1000]; int main(){ cin>>a; int i = strcmp(a,b); if(i==0){ cout<<"yes"; } else cout<<"no" return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:2: error: expected ';' before 'return'
  return 0;
  ^