Wrong TestCases!
Azure · 2014-12-06 11:33:29
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;
pages:
- 1