| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75534 | sh25_shenpy | 求一个数的位数 | C++ | 解答错误 | 52 MS | 260 KB | 177 | 2025-12-07 16:43:10 |
#include <bits/stdc++.h> using namespace std; int main() { int n,sum=0,x; cin>>n; for(int i=1;i<n;++i) { x=pow(10,i); if(x>n) cout<<i; } return 0; }