Help me in solving RCTGLD problem

My issue

why my code is wrong

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
	int t;
	cin>>t;
	while(t--)
	{int n;
	cin>>n;
	int x,y;
	if(n<4)
	 x=y=0;
	 else	if(n%2==0)
	   x=y=n/4;
	   else
	  {x=n/4;
	  y=n/4+1;}
	  cout<<x*y<<endl;}
}

Problem Link: Rectangled Practice Coding Problem