牛客练习赛43 B.Tachibana Kanade Loves Probability(整数除法)
题目输出m/n小数点后K1到K2位1#include#includeusingnamespacestd;typedeflonglongll;lln,m,K1,K2;intT;llmodpow(llx,lln,llmod){llres=1;for(;n;x=x*x%mod,n/=2)if(n&1)res=res*x%mod;returnres;}intmain(){scanf("%d",&T);wh