Run ID:7532
提交时间:2025-05-03 10:50:45
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char a1[51]={},a2[51]={}; cin>>a1; cin>>a2; int i=0; while(a1[i]!='\0'){ if(a1[i]!=a2[i]){ cout<<0; } else{ cout<<1; } i++; } return 0; }