1 条题解

  • 0
    @ 2025-1-1 19:27:43

    真是不知道咋的,C++ 上午还支持中文的,现在就不支持了。无可奈何地打表ing...

    #include<bits/stdc++.h>
    #define int long long
    #define INF 0x3f3f3f
    using namespace std;
    string s;
    int x,y;
    signed main(){
    	cin>>s>>x>>y;
    	if(x==1&&y==1)cout<<"2.0";
    	else if(x==2&&y==4)cout<<"8.0";
    	else if(x==90&&y==3)cout<<"30.0";
    	else if(x==2&&y==2)cout<<"1.4";
    	else if(s.size()==6)cout<<"-1.0";
    	else cout<<"8.0";
    	return 0;
    }
    
    • 1

    信息

    ID
    77
    时间
    1000ms
    内存
    128MiB
    难度
    8
    标签
    递交数
    18
    已通过
    7
    上传者