Wormholes(ZCO120002) - Failing a test case

Hey guys,
I am getting WA in one testcase in wormholes problem. Can anybody help?
problem link - https://www.codechef.com/problems/ZCO12002
Submission link - https://www.codechef.com/viewsolution/32147994

    for(int i = 0 ; i < x; i++){
        cin >> go[i];
    }
    sort(go.begin(), go.end());
    for(ll i = 0 ; i < x; i++){
        cin >> back[i];
    }
1 Like