-
[java]백준 A+B - 3 10950번알고리즘 문제풀이/백준(자바) 2023. 3. 17. 23:32
코드
import java.util.Scanner; public class BOJ_10950 { public static void main(String[] args) { Scanner in =new Scanner(System.in); int n = in.nextInt(); for(int i = 0; i<n; i++ ){ byte a = in.nextByte(); byte b = in.nextByte(); System.out.println(a+b); } in.close(); } } // n int 조건 없음 // a,b (0 < A, B < 10) byte
링크
https://www.acmicpc.net/problem/10950
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 합 8393번 (0) 2023.03.17 [java]백준 구구단 2739번 (0) 2023.03.17 [java]백준 시험 성적 9498번 (0) 2023.03.16 [java]백준 윤년 2753번 (0) 2023.03.16 [java]백준 두 수 비교하기 1330번 (0) 2023.03.16