Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6140 吴承熹 15几个数字组成 C++ Accepted 0 MS 256 KB 190 2025-01-07 13:21:45

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int x; cin>>x; int n = 1; while (x) { x /= 10; ++n; } cout<<n-1<<endl; return 0; }