Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97540 | 唐安轩 | 15几个数字组成 | C++ | Wrong Answer | 0 MS | 272 KB | 195 | 2024-11-16 10:42:24 |
#include<iostream> using namespace std; int main(){ int n,i=0; cin>>n; do{ n=n/10; i++; } while(n>0); n=n/10; i++; cout<<i<<endl; }
------Input------
-965
------Answer-----
3
------Your output-----
2