| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76807 | sh25_wangsj | digit函数 | C++ | 解答错误 | 0 MS | 244 KB | 236 | 2025-12-19 20:52:35 |
#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; digit(x,y); return 0; }