Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72696 sh25_zhuwy 求小数的某一位 C++ 通过 0 MS 244 KB 212 2025-11-02 13:52:21

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { double a,b,k; int n; cin>>a>>b>>n; double l=1; for(int i=1;i<=n;i++) { l=l/10; } cout<<fixed<<setprecision(0)<<a/b/l; return 0; }


测评信息: