9 条题解
- 
  -1
#include <queue> #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 a,b,c,d; cin >>a >>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; } - 
  -2
#include<bits/stdc++.h> using namespace std; #define LL long long const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; int a , b , c , d; int main() { cin >> a >> 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; } //菜鸟驿站 //老六专属 - 
  -2
#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; } 
- 1
 
信息
- ID
 - 887
 - 时间
 - 1000ms
 - 内存
 - 128MiB
 - 难度
 - 4
 - 标签
 - 递交数
 - 804
 - 已通过
 - 383
 - 上传者