| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81619 | 李雨昊 | 奇怪的国家 | C++ | Wrong Answer | 1 MS | 272 KB | 217 | 2024-07-12 14:48:44 |
#include<cstring> #include<iostream> using namespace std; int main() { char a[100],b[100]; cin>>a>>b; for(int i=0;i<strlen(a);i++){ if(a[i] == b[i]){ cout<<'1'; }else{ cout<<'2'; } } }
------Input------
10110100100100010000 10101100010101011100
------Answer-----
11100111001110110011
------Your output-----
11122111221112112211