Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
114411 | 曹锦择 | 15几个数字组成 | C++ | Accepted | 1 MS | 276 KB | 197 | 2025-03-22 12:07:49 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int count = 0; for (int i = 0; n != 0; i++) { count++; n = n / 10; } cout << count; return 0; }