import java.util.Scanner;
public class hello
{
public static void main(String[] args)
{
int t,a,b,c,d,i,e,r,sum=0;
Scanner s=new Scanner(System.in);
t =s.nextInt();
for(i=t;i>0;i--)
{
a =s.nextInt();
b =s.nextInt();
c =s.nextInt();
d =s.nextInt();
if(b-a==d-c)
{
e=d+(c-b);
System.out.println(a+" "+b+" "+c+" "+d+" "+e);
}
else if (b/a==c/b&&c/b==d/c)
{
r=b/a;
e=a*r*r*r*r;
System.out.println(t);
System.out.println(a+" "+b+" "+c+" "+d+" "+e);
}
}
}}
與正確輸出不相符(line:2)
您的答案為: 8
正確答案為: 1 2 4 8 16
自己測的確輸出答案是 1 2 4 8 16阿
啥8阿