목록16924 (1)
황소개발자
백준 16924 파이썬 python : 십자가 찾기 @@황소처럼 우직하게@@ 코테에 잘나옴 은근
채점하는데 오래걸려서 유튭보고 왓넹 import sys input = sys.stdin.readline h, w = map(int, input().split()) check = [[0 for i in range(w)] for j in range(h)] mat = [] ans = [] # x, y, s dx = [1, -1, 0, 0] dy = [0, 0, 1, -1] def checks(y, x): for s in range(1, w): flag = True for i in range(4): ny = y + dy[i] * s nx = x + dx[i] * s if 0
백준 문제 풀이
2020. 4. 22. 02:19