| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78844 | 邓嘉瑶 | 奇怪的国家 | C++ | Accepted | 1 MS | 264 KB | 279 | 2024-06-29 11:32:17 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[51]; char b[51]; scanf("%s",a); scanf("%s",b); int len=strlen(a); int len1=strlen(b); for(int i=0;i<len;i++){ if(a[i]==b[i]){ cout<<'1'; }else{ cout<<'0'; } } return 0; }