Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
113787 毛靖平 15几个数字组成 C++ Accepted 1 MS 272 KB 230 2025-03-16 14:56:42

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl using namespace std; int main(){ long long a; int b=0; cin>>a; if(a<0) a=a*-1; while(a>0){ a=a/10; b++; } cout<<b<<endl; return 0; }