Watering the Fields 문제 Due to a lack of rain, Farmer John wants to build an irrigation system to send water between his N fields (1 > y; nodes.push_back(node(x, y, i)); } } int find_parent(int n1){ if(nodes[n1].p == n1)return n1; else return nodes[n1].p = find_parent(nodes[n1].p); } bool make_union(int n1, int n2){ int p1 = find_parent(n1); int p2 = find_parent(n2); if(p1 == p2)return false; els..