| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 71049 | sh25_wangsj | 求小数的某一位 | C++ | Accepted | 0 MS | 244 KB | 251 | 2025-10-24 14:31:34 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,e,f=1,g; cin>>a>>b>>c; float d; d=a*1.0/b; for(int i=1;i<=c;i=i+1){ f=f*10; e=d*f; g=e-e%1; } cout<<g; return 0; }