Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
105477 | 林嘉乐 | 奇怪的国家 | C++ | Wrong Answer | 0 MS | 276 KB | 244 | 2025-01-13 16:54:08 |
#include<bits/stdc++.h> using namespace std; int main() { int n=0; char a[1000],b[1000]; cin>>a>>b; n=strlen(a); for(int i=1;i<n;i++){ if(a[i]==b[i]){ cout<<"1"; } else{ cout<<"0"; } } return 0; }
------Input------
10110100100100010000 10101100010101011100
------Answer-----
11100111001110110011
------Your output-----
1100111001110110011