Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144396 万骏博 奇怪的国家 C++ Accepted 1 MS 268 KB 292 2026-01-22 10:21:16

Tests(10/10):


Code:

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