#include<iostream> #include<queue> #include<string> #include<cmath> using namespace std; struct complex { int shi; int fu; complex(int a, int b) :shi(a), fu(b) {} friend bool operator <(complex a, complex b) { return pow(a.shi,2)+pow(a.fu,2) < pow(b.shi,2)+po...