| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78353 | 杨珞烯 | 15几个数字组成 | C++ | Wrong Answer | 1 MS | 264 KB | 212 | 2024-06-18 19:29:21 |
#include <iostream> using namespace std; int main(){ int n,a; cin>>n; if(n>0){ while(n/10>0){ n=n/10; a++; } }else{ while(n/10<0){ n=n/10; a++; } } cout<<a+1; return 0; }
------Input------
-965
------Answer-----
3
------Your output-----
4195067