File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ package backjoon ;
2
+ // https://www.acmicpc.net/problem/15652
3
+ // N과 M (4)
4
+ import java .io .BufferedReader ;
5
+ import java .io .IOException ;
6
+ import java .io .InputStreamReader ;
7
+ import java .util .StringTokenizer ;
8
+
9
+ public class _15652 {
10
+ public static int [] arr ;
11
+ public static int N , M ;
12
+ public static StringBuilder sb = new StringBuilder ();
13
+
14
+ public static void main (String [] args ) throws IOException {
15
+ BufferedReader br = new BufferedReader (new InputStreamReader (System .in ));
16
+ StringTokenizer st = new StringTokenizer (br .readLine ());
17
+ // memory 111924 runtime 372
18
+ N = Integer .parseInt (st .nextToken ());
19
+ M = Integer .parseInt (st .nextToken ());
20
+
21
+
22
+
23
+
24
+ }
25
+ }
26
+ /*
27
+ input
28
+ 4 2
29
+
30
+ output
31
+ 1 1
32
+ 1 2
33
+ 1 3
34
+ 1 4
35
+ 2 2
36
+ 2 3
37
+ 2 4
38
+ 3 3
39
+ 3 4
40
+ 4 4
41
+ */
You can’t perform that action at this time.
0 commit comments