-
[java]백준 A+B - 7 11021번알고리즘 문제풀이/백준(자바) 2023. 4. 6. 22:07
코드
import java.util.Scanner; public class BOJ_11021 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n =in.nextInt(); for(int i=1; i<=n; i++){ int a =in.nextInt(); int b =in.nextInt(); System.out.println("Case #" +i+ ": " + (a+b)); } in.close(); } }
링크
https://www.acmicpc.net/problem/11021
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 A+B - 4 10951번 (0) 2023.04.07 [java]백준 A+B - 8 11022번 (0) 2023.04.06 [java]백준 빠른 A+B 15552번 (0) 2023.04.05 [java]백준 A+B - 5 10952번 (0) 2023.04.04 [java]백준 개수 세기 10807번 (0) 2023.04.03