Written by
java-style
on
on
백준 17393 - 다이나믹롤러
백준 17393 - 다이나믹롤러
[문제 바로가기]
1. 유형
이분탐색
2. 풀이
3. 풀이
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(bf.readLine()); int N = Integer.valueOf(st.nextToken()); long arr[] = new long[N]; long arr2[] = new long[N]; st = new StringTokenizer(bf.readLine()); for(int i=0; i
from http://moons-memo.tistory.com/260 by ccl(A) rewrite - 2021-10-31 10:27:51