10 条题解

  • 2
    @ 2023-12-26 0:13:27

    #include<bits/stdc++.h> using namespace std; int main() { int n,s; cin >> n ; if(10>=n) { s=8n; float s=40.00; cout<<fixed<<setprecision(2)<<s<<endl; } else if(n>10) s=(87.5)*n;

    cout<<fixed<<setprecision(2)<<s<<endl;
    return 0;
    

    }

    信息

    ID
    23
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    152
    已通过
    100
    上传者