0_0_21018704_4965.cpp: In function 'bool dfs(int)':
0_0_21018704_4965.cpp:38:5: error: 'vis_girl' was not declared in this scope
vis_girl[girl] = true;
^
0_0_21018704_4965.cpp:40:29: error: 'cnt_b' was not declared in this scope
for (int boy = 0; boy < cnt_b; boy++){
^
0_0_21018704_4965.cpp:42:13: error: 'vis_boy' was not declared in this scope
if (vis_boy[boy]) continue; // 每一轮匹配 每个男生只尝试一次
^
0_0_21018704_4965.cpp:44:19: error: 'ex_girl' was not declared in this scope
int gap = ex_girl[girl] + ex_boy[boy] - love[girl][boy];
^
0_0_21018704_4965.cpp:44:35: error: 'ex_boy' was not declared in this scope
int gap = ex_girl[girl] + ex_boy[boy] - love[girl][boy];
^
0_0_21018704_4965.cpp:44:49: error: 'love' was not declared in this scope
int gap = ex_girl[girl] + ex_boy[boy] - love[girl][boy];
^
0_0_21018704_4965.cpp:47:13: error: 'vis_boy' was not declared in this scope
vis_boy[boy] = true;
^
0_0_21018704_4965.cpp:48:17: error: 'match' was not declared in this scope
if (match[boy] == -1 || dfs(match[boy])){ // 找到一个没有匹配的男生 或者该男生的妹子可以找到其他人
^
0_0_21018704_4965.cpp:54:45: error: 'min' was not declared in this scope
slack[boy] = min(slack[boy], gap); // slack 可以理解为该男生要得到女生的倾心 还需多少期望值 取最小值 备胎的样子【捂脸
^
|