| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 158728 | 林睿 | 15几个数字组成 | C++ | Accepted | 1 MS | 272 KB | 265 | 2026-08-22 16:53:03 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,i=1,a=0; cin>>n; if(n<a){ n=-n; } else if(n==0){ a=1; } while(n!=0){ ++a; n/=10; } cout<<a<<endl; return 0; }