Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78346 陈昊然 15几个数字组成 C++ Accepted 1 MS 272 KB 169 2024-06-18 19:20:25

Tests(10/10):


Code:

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