백준14465파이썬 썸네일형 리스트형 [Python][백준 14465번] 소가길을건너간 이유 # https://www.acmicpc.net/problem/14465 import itertools from copy import deepcopy import heapq import sys from collections import deque, defaultdict, Counter sys.stdin = open("input.txt", "rt") sys.setrecursionlimit(100000) N, K, B = map(int, input().split()) light = [True]*N for _ in range(B): light[int(input())-1] = False ans = -1 for i in range(N-K+1): # 4 ( 0 ~ 3 ) nF = 0 for j in range(i, .. 더보기 이전 1 다음