16367번: TV Show Game - SCC(SAT)
https://www.acmicpc.net/problem/16367 16367번: TV Show Game Your program is to read from standard input. The input starts with a line containing two integers, k and n (3 < k ≤ 5,000, 1 ≤ n ≤ 10,000), where k is the number of lamps and n the number of game participants. Each of the following n lines contains t www.acmicpc.net (x1 V x2 V x3) = (x1 V x2) Λ (x2 V x3) Λ (x3 V x1) R, B를 각각 음수, 양수로 처리하고..
알고리즘/baekjoon
2023. 3. 6. 09:39