nicelines.cpp: In function 'void solve(int, int)':
nicelines.cpp:7:63: error: expected ')' before ';' token
7 | #define dist(a,b,x,y) (long double)abs(y-a*x-b)/pow(1+a*a,0.5);
| ^
nicelines.cpp:26:12: note: in expansion of macro 'dist'
26 | if(abs(dist(a,b,x[i],y[i])-ans[i])>1e-6)can=false;
| ^~~~
nicelines.cpp:26:11: note: to match this '('
26 | if(abs(dist(a,b,x[i],y[i])-ans[i])>1e-6)can=false;
| ^
nicelines.cpp:7:63: error: expected ')' before ';' token
7 | #define dist(a,b,x,y) (long double)abs(y-a*x-b)/pow(1+a*a,0.5);
| ^
nicelines.cpp:26:12: note: in expansion of macro 'dist'
26 | if(abs(dist(a,b,x[i],y[i])-ans[i])>1e-6)can=false;
| ^~~~
nicelines.cpp:26:7: note: to match this '('
26 | if(abs(dist(a,b,x[i],y[i])-ans[i])>1e-6)can=false;
| ^
nicelines.cpp:26:38: error: expected ';' before ')' token
26 | if(abs(dist(a,b,x[i],y[i])-ans[i])>1e-6)can=false;
| ^
| ;
nicelines.cpp:26:31: warning: statement has no effect [-Wunused-value]
26 | if(abs(dist(a,b,x[i],y[i])-ans[i])>1e-6)can=false;
| ^~~~~~~