-
[java]백준 A+B - 8 11022번알고리즘 문제풀이/백준(자바) 2023. 4. 6. 22:13
코드
import java.util.Scanner; public class BOJ_11022 { 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+" = "+(a+b)); } in.close(); } }
링크
https://www.acmicpc.net/problem/11022
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 별 찍기 - 1 2438번 (0) 2023.04.07 [java]백준 A+B - 4 10951번 (0) 2023.04.07 [java]백준 A+B - 7 11021번 (0) 2023.04.06 [java]백준 빠른 A+B 15552번 (0) 2023.04.05 [java]백준 A+B - 5 10952번 (0) 2023.04.04