본문 바로가기

백준알고리즘/Bronze V

2558번: A+B - 2

import java.util.Scanner; 

public class Main { 
	public static void main(String[] args)
	
	{ 
		Scanner sc = new Scanner(System.in);
		
		int A = sc.nextInt();
		int B = sc.nextInt();
		
		System.out.println(A + B);
	}
}

'백준알고리즘 > Bronze V' 카테고리의 다른 글

2739번: 구구단  (0) 2022.06.23
2738번: 행렬 덧셈  (0) 2022.06.23
2557번: Hello World  (0) 2022.06.23
2475번: 검증수  (0) 2022.06.23
2438번: 별 찍기 - 1  (0) 2022.06.20