| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76808 | sh25_wangsj | digit函数 | C++ | 编译错误 | 0 MS | 0 KB | 240 | 2025-12-19 20:53:27 |
#include <bits/stdc++.h> using namespace std; int digit(int a,int b){ for(int i=1;i<b;i++){ a=(a-a%10)/10; } return a%10; } int main(){ int x,y; cin>>x>>y; int digit(x,y); return 0; }