Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1825 | 孙浚轩 | 15几个数字组成 | C++ | Wrong Answer | 0 MS | 256 KB | 176 | 2023-11-11 19:52:51 |
#include<iostream> using namespace std; int main() { int a,b=0; cin>>a; while(a>0) { a/=10; b++; } cout<<b; return 0; }
------Input------
-9980
------Answer-----
4
------Your output-----
0