70分求调!!!
查看原帖
70分求调!!!
1789086
TF_zeh楼主2025/7/31 17:18
#include <bits/stdc++.h>
using namespace std;
int x;
int main(){
    cin>>x;
    if (x<60)
        x=floor(sqrt(x)*10);
    if (x>89)
        cout<<"4.0";
    else if (x>59)
        cout<<4-(90-x)*0.1;
    else
        cout<<"0.0";
    return 0;
}
2025/7/31 17:18
加载中...