0_0_39089469_27868.cpp:2:1: error: 'vector' does not name a type
2 | vector<int> v[]; //储存边的邻接表
| ^~~~~~
0_0_39089469_27868.cpp:3:5: error: storage size of 'pre' isn't known
3 | int pre[]; // pre[i]记录与i匹配的左边点集中的点
| ^~~
0_0_39089469_27868.cpp:4:6: error: storage size of 'flag' isn't known
4 | bool flag[]; //记录是否访问过某一个点
| ^~~~
0_0_39089469_27868.cpp: In function 'bool find(int)':
0_0_39089469_27868.cpp:7:15: error: 'v' was not declared in this scope
7 | int len = v[x].size();
| ^
0_0_39089469_27868.cpp:8:9: error: 'i' was not declared in this scope
8 | rep(i, 0, len) {
| ^
0_0_39089469_27868.cpp:8:5: error: 'rep' was not declared in this scope
8 | rep(i, 0, len) {
| ^~~
0_0_39089469_27868.cpp: In function 'int hungary(int)':
0_0_39089469_27868.cpp:22:5: error: 'memset' was not declared in this scope
22 | memset(pre, 255, sizeof(pre));
| ^~~~~~
0_0_39089469_27868.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 |
0_0_39089469_27868.cpp:23:9: error: 'i' was not declared in this scope
23 | rep(i, 0, n) {
| ^
0_0_39089469_27868.cpp:23:5: error: 'rep' was not declared in this scope
23 | rep(i, 0, n) {
| ^~~
|