forked from junwonheo/web_project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBoj1000.java
More file actions
30 lines (24 loc) · 705 Bytes
/
Boj1000.java
File metadata and controls
30 lines (24 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package PS;
import java.util.*;
import java.io.*;
public class Boj1000 {
static BufferedReader br;
static StringTokenizer st;
static StringBuilder sb;
static int A, B;
public static void main(String[] args) throws IOException {
input();
logic();
}
static void input() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
sb = new StringBuilder();
st = new StringTokenizer(br.readLine());
A = Integer.parseInt(st.nextToken());
B = Integer.parseInt(st.nextToken());
}
static void logic() {
sb.append(A+B);
System.out.println(sb);
}
}