💻 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
최근댓글