Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
82626 | 胡盛哲 | 奇怪的国家 | C++ | Accepted | 1 MS | 280 KB | 296 | 2024-07-13 14:24:31 |
#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; }