Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88773 | 王馨桐 | 奇怪的国家 | C++ | Accepted | 1 MS | 272 KB | 263 | 2024-08-21 11:38:56 |
#include<bits/stdc++.h> using namespace std; char s1[51]; char s2[51]; int main(){ cin >>s1 >>s2; int la=strlen(s1); int lb=strlen(s2); for(int i=0; i<=la-1; i++){ if(s1[i]!=s2[i]){ cout <<"0"; }else{ cout <<"1"; } } return 0; }