circuit.cpp: In function 'bool distsort(int, int)':
circuit.cpp:17:19: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
17 | return x[a]^2 + y[a]^2 < x[b]^2 + y[b]^2;
| ~~^~~~~~
circuit.cpp:17:28: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
17 | return x[a]^2 + y[a]^2 < x[b]^2 + y[b]^2;
| ~~^~~~~~
circuit.cpp:17:37: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
17 | return x[a]^2 + y[a]^2 < x[b]^2 + y[b]^2;
| ~~^~~~~~
circuit.cpp: In function 'int main()':
circuit.cpp:27:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
27 | sort(I+1, I+N+1, slopesort);
| ^~~~
| qsort