-
[백준] 16935번 배열 돌리기 3 - 파이썬(Python)Python/백준 - 기초 2022. 2. 26. 15:02
문제링크: https://www.acmicpc.net/problem/16935 16935번: 배열 돌리기 3 크기가 N×M인 배열이 있을 때, 배열에 연산을 R번 적용하려고 한다. 연산은 총 6가지가 있다. 1번 연산은 배열을 상하 반전시키는 연산이다. 1 6 2 9 8 4 → 4 2 9 3 1 8 7 2 6 9 8 2 → 9 2 3 6 1 5 1 8 3 4 2 9 → www.acmicpc.net import sys input = sys.stdin.readline n, m, r = map(int,input().split()) table = [] temp = [] for i in range(n): table.append(list(map(int,input().split()))) def one(): temp ..