| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 77693 | sh25_shenpy | digit函数 | C++ | 编译错误 | 0 MS | 0 KB | 233 | 2025-12-26 14:40:23 |
#include<bits/stdc++.h> using namespace std; int n,k; void (n,k){ int s=0; for(int i=0;i<k;++i){ n=n/10; if(n!=0) ++s; } cout<<s; } int main(){ cin>>n>>k; a(n,k); return 0; }