elesis's haunt
10950 A+B-3 본문
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int T = sc.nextInt();
for(int i=0; i<T; i++) {
int A = sc.nextInt();
int B = sc.nextInt();
System.out.println(A+B);
}
sc.close();
}
}
'백준~문풀 후 최적화 추가~ > 단계별로 풀어보기' 카테고리의 다른 글
15552 빠른 A+B (0) | 2021.09.10 |
---|---|
8393 합 (0) | 2021.04.19 |
2739 구구단 (0) | 2021.04.19 |
2884 알람 시계 (0) | 2021.04.15 |
14681 사분면 고르기 (0) | 2021.04.15 |
Comments