2
1
1
0
陶明轩
中级守护
中级守护
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double a,b,c,d;
cin>>a>>b>>c>>d;
if(a/b>c/d){
cout<<a<<" "<<b;
} else if(a/b<c/d){
cout<<c<<" "<<d;
} else{ cout<<"same";
}
return 0;
}
0
陶明轩
中级守护
中级守护
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double a,b,c,d;
cin>>a>>b>>c>>d;
if(a/b>c/d){
cout<<a<<" "<<b;
} else if(a/b<c/d){
cout<<c<<" "<<d;
} else{ cout<<"same";
}
return 0;
}
0
0
0
0
0
0
0
0