| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146161 | 余建成 | 15几个数字组成 | C++ | Wrong Answer | 0 MS | 276 KB | 203 | 2026-01-27 12:17:19 |
#include<iostream> using namespace std; int main() { int n,w; cin>>n; if(n<0)n=-n; else if(n==0)w=1; while(n!=0){ ++w; n/=10; } cout<<w<<endl; return 0; }
------Input------
-965
------Answer-----
3
------Your output-----
4