본문 바로가기
알고리즘 & 자료구조/백준

백준 11022

by 신재권 2021. 7. 2.
import java.util.Scanner;


public class Main11022 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int T = sc.nextInt();
		int[] A = new int[T];
		int[] B = new int[T];
		
		for(int i=0; i<T; i++){
			A[i]= sc.nextInt();
			B[i]= sc.nextInt();
		}
		for(int i=0; i<T;i++){
			System.out.println("Case #"+(i+1)+": "+A[i]+" + "+B[i]+" = "+(A[i]+B[i]));
		}
	}

}

'알고리즘 & 자료구조 > 백준' 카테고리의 다른 글

백준 2439  (0) 2021.07.02
백준 2438  (0) 2021.07.02
백준 11021  (0) 2021.07.02
백준 10871  (0) 2021.07.02
백준 9498  (0) 2021.06.29