Skip to content

Commit 36062d9

Browse files
authored
BOJ #15439: Vera and Outfits
1 parent 6c9e2db commit 36062d9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

BOJ/15439/Main.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Author: Minho Kim (ISKU)
3+
* Date: December 9, 2019
4+
* E-mail: minho.kim093@gmail.com
5+
*
6+
* https://github.com/ISKU/Algorithm
7+
* https://www.acmicpc.net/problem/15439
8+
*/
9+
10+
import java.io.*;
11+
12+
public class Main {
13+
public static void main(String[] args) throws Exception {
14+
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
15+
int N = Integer.parseInt(br.readLine());
16+
17+
System.out.println(N * (N - 1));
18+
}
19+
}

0 commit comments

Comments
 (0)