| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72525 | 吕毅心 | 15几个数字组成 | C++ | Wrong Answer | 1 MS | 268 KB | 291 | 2024-05-09 18:43:01 |
# include<iostream> # include<cstdio> using namespace std; int main(){ int a,i=0,w=0; cin>>a; if(a==0){ w=1; }else{ while(a>0){ a=a/10; w=w+1; } } cout<<w; return 0; }
------Input------
-965
------Answer-----
3
------Your output-----
0