Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100632 | 杨登博 | 奇怪的国家 | C++ | Accepted | 1 MS | 276 KB | 311 | 2024-12-08 19:47:35 |
#include<iostream> #include<cstring> using namespace std; int main(){ char m[50],n[50]; cin>>m>>n; int k=strlen(m); for(int i=0;i<k;i++){ if(m[i]==n[i]){ cout<<"1"; }else{ cout<<"0"; } } return 0; }