Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106665 李昊宇 15几个数字组成 C++ Accepted 1 MS 272 KB 207 2025-01-16 14:44:37

Tests(10/10):


Code:

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