- 문제풀이
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = Integer.parseInt(sc.next());
int m = Integer.parseInt(sc.next());
for(int i = 0 ; i < n ; i++) {
for(int j = 0 ; j < m ; j++) {
System.out.print(1);
}
System.out.println();
}
}
}