Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
118621 | Kevin | 奇怪的国家 | C++ | Accepted | 1 MS | 264 KB | 250 | 2025-05-07 15:00:45 |
#include<iostream> #include<cstring> char a[55],b[55]; using namespace std; int main(){ gets(a); gets(b); int len=strlen(a); for(int i=0;i<len;i++){ if(a[i]==b[i]){ cout<<"1"; } else{ cout<<"0"; } } return 0; }