Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2521 | 林子杰 | 15几个数字组成 | C++ | Wrong Answer | 0 MS | 264 KB | 177 | 2024-01-07 10:31:58 |
#include<iostream> using namespace std; int main(){ int x,y=0; cin>>x; while(x>0){ x=x/10; y=y+1; } cout<<y<<endl; return 0; }
------Input------
-9980
------Answer-----
4
------Your output-----
0