已解决 高梓荣 新手天翼 #include<iostream> using namespace std; int main() { int a,b; cin>>a>>b; if(a>b)cout<<a*10<<" "<<b/2; if(b>a)cout<<a/2<<" "<<b*10; if(a==b)cout<<a<<" "<<b; return 0; } http://judge.codingtang.com/problem/1659/