My issue
My code
#include <iostream>
#include <math.h>
using namespace std;
int main() {
// your code goes here
long long int p,a,b,c,d,t,i,e;
cin>>t;
while(t--){
cin>>a>>b>>c>>d>>e;
p=(b-c)*(b-c)+(a-d)*(a-d);
p=p^1/2;
if(p>e){
cout<<0<<endl;
}
else if(e>p){
cout<<1<<endl;
}
}
return 0;
}
Problem Link: CodeChef: Practical coding for everyone