Help me in solving P2149 problem

My issue

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

int main() {
// your code goes here
int t;
cin>>t;
while(t–){
int a,b,x;
cin>>a>>b>>x;
if((xx)>=(ab))
{
cout<<0<<endl;
}
else {
cout<<
}

}

}

My code

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

int main() {
	// your code goes here
	int t;
	cin>>t;
	while(t--){
	    int a,b,x;
	    cin>>a>>b>>x;
	    if((x*x)>=(a*b))
	    {
	        cout<<0<<endl;
	    }
	    else {
	        cout<<
	    }
	    
	}

}

Problem Link: Magical World Practice Coding Problem