Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2119d52

Browse files
issue 15652
1 parent e058fc9 commit 2119d52

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

‎src/backjoon/_15652.java

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /