| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 164877 | 陈梓钒 | 15几个数字组成 | C++ | Accepted | 1 MS | 276 KB | 225 | 2026-11-07 17:39:48 |
#include <bits/stdc++.h> using namespace std; int main(){ int n,cnt=0; cin>>n; if(n==0){ cout<<1; } if(n<0){ n=-n; } while(n!=0){ cnt++; n/=10; } cout<<cnt; return 0; }