import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int first = sc.nextInt();
int sec = sc.nextInt(); //์
๋ ฅ
int a = sec%10;
int b = (sec%100)/10;
int c = sec/100;
System.out.println(first*a);
System.out.println(first*b);
System.out.println(first*c);
System.out.println(first*sec);
//sc.close(); ์๋ต
}
}
'๐ Algorithm > BOJ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
10952 10951 (0) | 2021.08.15 |
---|---|
2439 (0) | 2021.08.15 |
10950 (0) | 2021.08.14 |
2884 (0) | 2021.08.14 |
2753 (0) | 2021.08.12 |