[BOJ] 백준 1001 - A-B

Lynn·2021년 1월 1일
0

Algorithm

목록 보기
4/43
post-thumbnail

👩🏻‍💻 문제

👩🏻‍💻 정답 코드

import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner s = new Scanner(System.in);
        int a = s.nextInt();
        int b = s.nextInt();
        System.out.println(a-b);
    }
}

1000번 문제에서 + 대신에 - 으로 바꾼 것밖에 없는 문제
그냥 일단 맞은 문제 늘리는 중...

profile
wanderlust

0개의 댓글

관련 채용 정보