Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62989 张誉腾 奇怪的国家 C++ Compile Error 0 MS 0 KB 218 2023-12-31 10:14:51

Tests(0/0):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[51],b[51]; cin>>a>>b; int la=strlen(a) for(int i=0;i<la;i++){ if(a[i]=b[i]){ cout<<1; }else{ cout<<0; } } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:2: error: expected ',' or ';' before 'for'
  for(int i=0;i