Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102507 王子毅 15几个数字组成 C++ Accepted 1 MS 272 KB 199 2024-12-21 18:55:07

Tests(10/10):


Code:

#include <iostream> #include <string> using namespace std; int main() { int n; cin >> n; string numStr = to_string(abs(n)); cout << numStr.length() << endl; return 0; }