Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114418 曹锦择 15几个数字组成 C++ Accepted 0 MS 272 KB 197 2025-03-22 12:08:07

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; } cout << count; return 0; }