24 条题解

  • -1
    @ 2023-8-23 18:41:02
    #include <math.h>
    #include <stack>
    #include <stdio.h>
    #include <iostream>
    #include <vector>
    #include <iomanip>
    #include <string.h>
    #include <algorithm>
    using namespace std;
    #define LL long long
    const int N = 1e5 + 10;
    const int INF = 0x3f3f3f3f;
    int main()
    {	
    	int b,c,d;
        char a="你是猪";
    	cin >>b >>c >>d;
    	if(a+b>10)
    	{
    		cout << a*b<<"你是猪";
    	}
    	else if(b+c > 5)
    	{
    		cout <<c*d<<"你是猪";
    	}
    	else if(d<10 || a*c>100)
    	{
    		cout<<"Yes";
    	}
    	else
    	{
    		cout<<"No";
    	}
    	return 0;
    }
    

    信息

    ID
    887
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    递交数
    649
    已通过
    304
    上传者