
[풀이]
import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
System.out.println(a-b);
}
}
'알고리즘 > 백준' 카테고리의 다른 글
| [백준] 2753번 / 윤년 (0) | 2025.08.05 |
|---|---|
| [백준] 1330번 / 두 수 비교하기 (0) | 2025.08.05 |
| [백준] 1546번 / 평균 구하기 (0) | 2025.07.29 |
| [백준] 11720번 / 숫자의 합 (1) | 2025.07.29 |
| [백준] 알고리즘 8958 OX퀴즈 (0) | 2021.04.17 |