Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
8814 季洁 求小数的某一位 C++ Accepted 100 0 MS 248 KB 156 2020-11-04 20:37:47

Tests(3/3):


#include<bits/stdc++.h> using namespace std; int main(){ int a,b,n,s; cin>>a>>b>>n; for(int i=0;i<=n;i++){ s=a/b; a=a%b*10; } cout<<s; }


Judgement Protocol: