水题
#include<bits/stdc++.h>
using namespace std;
int a, b, k;
int main(){
cin >> a >> b >> k;
while(k--)
if(a>b) a /= 2;
else b /= 2;
cout << max(a,b) << " " << min(a,b) << endl;
return 0;
}
标签:std,cout,水题,UCF,Nicely,Fold,int,main
来源: https://www.cnblogs.com/2aptx4869/p/12636541.html