Example #1
0
    static void Main()
    {
        var h = Read();
        int nx = h[0], ny = h[1];
        var es = Array.ConvertAll(new bool[h[2]], _ => Read());

        var r = MaxFlow.BipartiteMatching(nx, ny, es);

        Console.WriteLine(r.Length);
    }