1 条题解

  • 1
    @ 2025-6-21 20:25:21
    #include <bits/stdc++.h>
    using namespace std;
    #define LL long long
    const int N = 1e5 + 10;
    const int INF = 0x3f3f3f3f;
    int cup;
    int main()
    {
    	cin >> cup;
    	double x = cup * 3 * 0.89;
    	double y = ( cup - cup / 9 ) * 3;
    	if ( x < y )
    	{
    		cout << "大洋商城" << endl;
    	}
    	else
    	{
    		cout << "百汇商厦" << endl;
    	}
    	return 0;
    }
    //菜鸟驿站
    //老六专属

    信息

    ID
    3117
    时间
    1000ms
    内存
    256MiB
    难度
    6
    标签
    递交数
    69
    已通过
    20
    上传者