Run ID:88753

提交时间:2024-08-21 10:53:57

#include<bits/stdc++.h> using namespace std; char a[51],d[51]; int main(){ cin>>a>>d; int n=strlen(a),c=strlen(d); for(int i=0;i<=n-1;i++){ if(a[i]==1){ if(d[i]==1){ cout<<1; }else{ cout<<0; } }else{ cout<<0; } } return 0; }