#include<iostream>
using namespace std;
int main()
{
int n = 1;
int row = 0;
int a , b;
int c , d;
cin>>row;
while(n <= row)
{
cin>>a>>b>>c>>d;
if( (b/a) == (c/b) && (c/b) == (d/c))
{
cout<< a << " " << b << " " << c << " " << d << " " << d * b/a<<endl;
}
if( b - a == c - b && b - a == d - c )
{
cout<< a << " " << b << " " << c << " " << d << " " << d + b - a<<endl;
}
n++;
}
}
您的答案為: 1 1 1 1 1 正確答案為: 2 4 6 8 10