| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 81610 | 王冠中 | 字符串中最大的数字II | C++ | Wrong Answer | 1 MS | 276 KB | 275 | 2024-07-12 14:46:51 |
#include<iostream> #include<cstring> #include<cstdio> using namespace std; int main(){ char a[1000]={},b[1000]={},max='0'; cin>>a>>b; int n=strlen(a); for(int i=0;i<n;i++){ if(a[i]==b[i]){ cout<<'1'; }else{ cout<<'0'; } } return 0; }
------Input------
214748.3647
------Answer-----
8
------Your output-----
00000000000