본문 바로가기
코테/백준

백준 1001 JAVA

by Slow Motion~ 2022. 12. 21.
728x90
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		
	int a,b;
	Scanner sc = new Scanner(System.in);
	a = sc.nextInt();
	b = sc.nextInt();
	System.out.println(a-b);
	sc.close();
	
	}

}

'코테 > 백준' 카테고리의 다른 글

백준 1330 JAVA  (0) 2023.01.02
백준 3003 JAVA  (0) 2022.12.22
백준 1000 JAVA  (0) 2022.12.21
백준 2557 JAVA  (0) 2022.12.21
백준 18108번 JAVA  (0) 2022.12.21

댓글