Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
105483 | 欧阳俊懿 | 奇怪的国家 | C++ | Accepted | 1 MS | 276 KB | 339 | 2025-01-13 16:56:19 |
#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ int c=0; char a[1000],b[1000]; cin>>a>>b; c=strlen(a); for(int i=0;i<c;i++) { if(a[i]==b[i]) { cout<<"1"; } else { cout<<"0"; } } return 0; }