Home
MINJUN
Cancel

Programmers. Network

[Link] https://programmers.co.kr/learn/courses/30/lessons/43162 function solution(n, computers) { let cnt = 0; const visit = new Array(computers.length).fill(false); for (let i = 0; i <...

BOJ. Bipartite Graph (1707)

[Link] https://www.acmicpc.net/problem/1707 import java.util.*; import java.io.*; public class Main { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public s...

BOJ. Move the Knight (7562)

[Link] https://www.acmicpc.net/problem/7562 import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new Buff...

LeetCode. 40. Combination Sum II

[Link] https://leetcode.com/problems/combination-sum-ii/ class Solution { public List<List<Integer>> combinationSum2(int[] candidates, int target) { List<List<Int...

AtCoder. 020 Log Inequality(3)

[Link] https://AtCoder.jp/contests/typical90/tasks/typical90_t import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { Buffer...

AtCoder. 018 Statue of Chokudai(3)

[Link] https://AtCoder.jp/contests/typical90/tasks/typical90_r import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { Buffer...

AtCoder. 016 Minimum Coins(3)

[Link] https://AtCoder.jp/contests/typical90/tasks/typical90_p import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(...

AtCoder. 015 Don't be too close(6)

[Link] https://AtCoder.jp/contests/typical90/tasks/typical90_o import java.util.*; import java.io.*; public class Main { static final int constv = (int)1e9 + 7; static long[] fac; static ...

AtCoder. 014 We Used to Sing a Song Together(3)

[Link] https://AtCoder.jp/contests/typical90/tasks/typical90_n import java.util.*; import java.io.*; public class Main{ static BufferedReader br = new BufferedReader(new InputStreamReader(Sys...

AtCoder. 013 Passing(5)

[Link] https://AtCoder.jp/contests/typical90/tasks/typical90_m import java.util.*; import java.io.*; public class Main{ static BufferedReader br = new BufferedReader(new InputStreamReader(Sys...