Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114376 包老师 15几个数字组成 C++ Accepted 1 MS 272 KB 252 2025-03-22 11:58:54

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++) { // count++; // n = n / 10; // } while (n != 0) { count++; n = n / 10; } cout << count; return 0; }