pages:
  • 1
Azure SAYS

Hello Guys i think that this problem has some wrong testcases because if i use : static void merg(int x , int y){ int px = find(x); int py = find(y); par[py] = px;
} result is accept but if i use : static void merg(int x , int y){ int px = find(x); int py = find(y); par[px] = py; /// !!!!! } result is run time;