Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150159 杨金卓 15几个数字组成 C++ Accepted 1 MS 280 KB 188 2026-03-22 15:39:57

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,a=1; cin>>n; while(true){ if(n/10==0){ break; } n/=10; a++; } cout<<a; return 0; }