2461
-
[백준] 2461 대표선수 #JAVA #투포인터Algorithm Solving/BAEKJOON 2021. 11. 27. 08:01
[백준] 2461 대표선수 #JAVA #투포인터 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; public class Main { static int N,M; static int count[]; public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); S..