为什么报错?
查看原帖
为什么报错?
1296126
decode_snow楼主2024/11/29 21:43
#include<bits/stdc++.h>
using namespace std;

const int N = 1e5;
int n,m,k;
string x,y;
map<string,string> father;

string findf(string i){
    if(father[i] == i)){//这一行为什么会报错?
        return i;
    }
    return father[i] = findf(father[i]);
}
2024/11/29 21:43
加载中...