3 条题解

  • 1
    @ 2024-12-15 21:54:18
    • 0
      @ 2024-11-25 18:00:59
      #include <iostream>//关注b站海绵经验包
      #include <iomanip>
      using namespace std;
      int main() {
        double b;
        cin >> b;
        cout << (int)a << endl;
        cout << fixed << setprecision(2) << a << endl;
        cout << fixed << setprecision(?) << a << endl;
        return 0;
      }
      
      • -2
        @ 2025-10-20 17:13:20

        #include<bits/stdc++.h>//关注b站阿秋--一只小绵羊 using namespace std; int main() { double b; cin >> b; cout <<int(b) << endl; cout << fixed << setprecision(2) << b << endl; cout << fixed << setprecision(0) << b << endl; return 0; }

        • 1

        信息

        ID
        117
        时间
        1000ms
        内存
        256MiB
        难度
        6
        标签
        (无)
        递交数
        188
        已通过
        61
        上传者