foo.cc: In function ‘int Hungarian()’:
foo.cc:28:35: error: expected ‘;’ before ‘}’ token
28 | if(match(i)) cnt++
| ^
| ;
29 | }
| ~
foo.cc: In function ‘int main()’:
foo.cc:37:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
37 | for (int i = 1; i <= N; ++i)
| ^~~
foo.cc:40:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
40 | cout << Hungarian();
| ^~~~
foo.cc:40:9: error: ‘cout’ was not declared in this scope
foo.cc:3:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <cstring>
+++ |+#include <iostream>
3 | using namespace std;