๐ป Coding Problems Solving/Two Pointers | Binary Search| LinkedList
[BOJ 2467] ์ฉ์ก
[BOJ 2467] ์ฉ์ก 1. ๋ฌธ์ : https://www.acmicpc.net/problem/2110 2. ํ์ด ํฌํฌ์ธํฐ ํ์ด, l, r ๋ชจ๋ ์ ์ฅํด์ค์ผํจ 3. ์ฝ๋ package baekjoon; import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); long[] arr = new long[n]; StringTokenizer st = new St..
2023. 9. 11. 21:12
์ต๊ทผ๋๊ธ