Run ID:88776

提交时间:2024-08-21 11:42:50

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