Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1826 孙浚轩 15几个数字组成 C++ Accepted 0 MS 264 KB 208 2023-11-11 19:54:54

Tests(10/10):


Code:

#include<iostream> #include<cmath> using namespace std; int main() { int a,b=0; cin>>a; a=abs(a); while(a>0) { a/=10; b++; } cout<<b; return 0; }