Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100128 杨登博 字符串中最大的数字 C++ Wrong Answer 1 MS 272 KB 272 2024-12-02 21:01:50

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> using namespace std; int main(){ char n[1000],max='0'; int a; cin>>n; for(int i=0;i<a;i++){ if(a>max) cout<<a; } return 0; }


Run Info:

------Input------
2147483647
------Answer-----
8
------Your output-----