int function ( int arg0 ) { validate ( arg0 ) ; int loc0 = arg0 ; while ( loc0 != parent [ loc0 ] ) loc0 = parent [ loc0 ] ; while ( arg0 != loc0 ) { int loc1 = parent [ arg0 ] ; parent [ arg0 ] = loc0 ; arg0 = loc1 ; } return loc0 ; }
returns the component identifier for the component containing site p. concode_field_sep int[] parent concode_elem_sep int Second concode_elem_sep int[] size concode_elem_sep int count concode_elem_sep int Operation concode_elem_sep int First concode_elem_sep int n concode_elem_sep UnionFindByRankWithPathCompression friends concode_elem_sep PrintWriter out concode_field_sep boolean connected concode_elem_sep boolean areFriends concode_elem_sep int count concode_elem_sep void main concode_elem_sep void main concode_elem_sep void applyOperation concode_elem_sep boolean areEnemies concode_elem_sep void union concode_elem_sep void validate