[백준] 2738번
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int[][] arrA = new int[N][M]; int[][] arrB = new int[N][M]; int[][] ans = new int[N][M]; for (int i = 0; i < N; i++) { // 행렬 A 원소 채우기 for (int j = 0; j < M; j++) { arrA[i][j] = sc.nextInt(); } } for (int i = 0; i < N; i++) { // 행렬..