Maximize the Largest Component (Easy Version)
1985H11700· expert2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
61 1.4 2..#.#..#3 5.#.#...#...#.#.5 5#...#....##...#........##6 6.#..#.#..#...#...##.#.#..#.##.###..#6 8..#....#.####.#.###.#..#.##.#.##.#.##.###..##.#.
Output
169111530
58%
1985H1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…