Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114382 刘子锐 15几个数字组成 C++ Accepted 1 MS 272 KB 194 2025-03-22 12:02:59

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int count = 0; for (int i = 0; n != 0; i++) { n = n / 10; count++; } cout<<count; return 0; }