Tag:bad person

  • Codeforces 1365D Solve The Maze


    Main idea of the title: In a\(n * m\)In the matrix, there are open spaces, bad people, good people and walls. You can turn the open space into a wall to block the bad guys.\((n, m)\)For export, is there a scheme that enables all good people in the matrix to go to the export, while […]