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