소스
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int j = scan.nextInt();
for(int i = 0; i < j; i++) {
int a = scan.nextInt();
int b = scan.nextInt();
System.out.println(a+b);
}
}
}
http://colorscripter.com/info#e" target="_blank" style="color:#e5e5e5text-decoration:none">Colored by Color Scripter
|
s |
'알고리즘 > Java' 카테고리의 다른 글
(JAVA) 백준 알고리즘 3단계 15552번 : 빠른 A+B (0) | 2020.04.08 |
---|---|
(JAVA) 백준 알고리즘 3단계 8393번 : 합 (0) | 2020.04.08 |
(JAVA) 백준 알고리즘 3단계 2739번 : 구구단 (0) | 2020.04.08 |
(JAVA) 백준 알고리즘 2단계 2884번 : 알람 시계 (0) | 2020.04.07 |
(JAVA) 백준 알고리즘 2단계 14681번 : 사분면 고르기 (0) | 2020.04.07 |