| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 131462 | 翁思宸 | 奇怪的国家 | C++ | Accepted | 2 MS | 272 KB | 369 | 2025-09-26 18:51:21 |
//1442 字符串中最大的数字II #include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ char a[51],b[51],l=0; cin>>a>>b; l=strlen(a); for(int i=0;i<l;i++){ if(a[i]==b[i]){ cout<<"1"; } else { cout<<"0"; } } return 0; }