1 条题解

  • 0
    @ 2023-7-24 10:33:30

    #include <iostream> #include<iomanip> using namespace std; int main(){ double a; double b; cin >> a >> b; ///0 1 int is_bigger = a / (bb); cout << fixed << setprecision(2) << a / (bb) << endl;

    if(is_bigger < 20){
    	cout << "S" << endl;
    }else if(is_bigger > 30){
    	cout << "L" << endl;
    }else{
    	cout << "M" << endl;
    }
    return 0;
    

    }

    • 1

    信息

    ID
    23
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    (无)
    递交数
    401
    已通过
    95
    上传者