Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
129694 | 薛承谦 | 奇怪的国家 | C++ | Accepted | 2 MS | 276 KB | 261 | 2025-09-02 10:03:38 |
#include<iostream> #include<algorithm> #include<cstring> #include<bits/stdc++.h> using namespace std; int main(){ char a[51],b[51]; cin>>a>>b; for(int i=0;a[i];i++){ if(a[i]==b[i]){ cout<<1; } else{ cout<<0; } } return 0; }