• + 0 comments

    Guys , its a Basic disjoint set implemtation using krushkal;

    The catch is it will pass all except 7 testcase due to typedef ,

    we need to change all the int to long long , cause we multiply

    So, we need to even change the long long inside main loop also instead of typecasting at result!!