阅读C++程序填写结果
#include<bits/stdc++.h>
using namespace std;
int main()
{
int x,y, k;
scanf("%d%d%d", &x, &y, &k);
for(int i = 1; i <=k && x != y; ++i){
if(x>y)x--y;
else y-= x;
}
printf("%d %d\n",x,y);
return 0;
输入数据
12 15 4
10 1000 90
2431 65 100