Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
82637 | 刘慕莀 | 奇怪的国家 | C++ | Accepted | 1 MS | 276 KB | 295 | 2024-07-13 14:30:13 |
#include<bits/stdc++.h> 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; }