Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118516 李昊宇 字符串中最大的数字II C++ Wrong Answer 1 MS 276 KB 285 2025-05-04 14:45:52

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; char a[51],b[51]; int main(){ cin>>a>>b; int bl = strlen(b); int al = strlen(a); for(int i=0;i<=al-1;i++){ if(a[i]==b[i]){ cout<<"1"; } else if(a[i]!=b[i]){ cout<<"0"; } } return 0; }


Run Info:

------Input------
214748.3647
------Answer-----
8
------Your output-----
00000000000