Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
124983 范恒恺 字符串中最大的数字 C++ Compile Error 0 MS 0 KB 263 2025-07-13 09:27:59

Tests(0/0):


Code:

#include<iostream> #include<cstring> #include<cmath> using namespace std; int main (){ string a[101]; string b[101]; long long n; cin>>n; int max=0; if(n<0) { n=-1*n; while(n>0) { if(max<n%10) { } n=n/10; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:26:1: error: expected '}' at end of input
 }
 ^