Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62696 段文昊 奇怪的国家 C++ Accepted 1 MS 280 KB 238 2023-12-24 17:54:09

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char b[50]; char s[50]; cin>>s>>b; int n=strlen(s); for(int i=0;i<n;i++){ if(s[i]==b[i]){ cout<<"1"; } else{ cout<<"0"; } } return 0; }