高级光能
题目链接: 酷町堂:2707
#include <iostream>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
if(a>b&&b>c){
if(d==a){
cout<<"max";
}else if(d==b){
` cout<<"mid";
}else if(d==c){
` cout<<"min";
}
}else if(a>c&&c>b){
if(d==a){
cout<<"max";
}else if(d==c){
` cout<<"mid";
}else if(d==b){
` cout<<"min";
}
}else if(b>c&&c>a){
if(d==b){
cout<<"max";
}else if(d==c){
` cout<<"mid";
}else if(d==a){
` cout<<"min";
}else if(b>a&&a>c){
if(d==b){
cout<<"max";
}else if(d==a){
` cout<<"mid";
}else if(d==c){
` cout<<"min";
}else if(c>a&&a>b){
if(d==c){
cout<<"max";
}else if(d==a){
` cout<<"mid";
}else if(d==b){
` cout<<"min";
}else if(c>b&&b>a){
if(d==c){
cout<<"max";
}else if(d==b){
` cout<<"mid";
}else if(d==a){
` cout<<"min";
}
}
return 0;
}
}
}
}