全部评论 3

  • 第一行给出一个整数 n(1n1000)n(1≤n≤1000),代表小数xx在小数点后的数字个数。

    小数点后1000位!!!

    long double 都不行

    #include<iostream>
    #include<iomanip>
    using namespace std;
    int main(){
        int n,m;
        long double x;
        cin>>n>>x>>m;
        cout<<fixed<<setprecision(m)<<x;
        return 0;
    }
    

    4天前 来自 江苏

    1
  • 自己看数据范围

    2天前 来自 浙江

    0
  • 读题

    2天前 来自 浙江

    0

热门讨论