Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150160 肖之睿 15几个数字组成 C++ Accepted 1 MS 272 KB 192 2026-03-22 15:41:32

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int cnt=1; int a; cin>>a; while(true){ if(a/10==0) { break; } a/=10; cnt++; } cout<<cnt; return 0; }