Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129114 罗安博 奇怪的国家 C++ Accepted 1 MS 272 KB 235 2025-08-22 10:12:10

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; string a; string b; string c=""; int main() { cin>>a>>b; int len=a.size(); for(int i=0;i<=len-1;i++){ if(a[i]==b[i]){ c+='1'; }else{ c+='0'; } } cout<<c; }