카테고리 없음
[백준 11997] Load Balancing (Silver) C++
1. 문제 https://www.acmicpc.net/problem/11997 11997번: Load Balancing (Silver) Farmer John's \(N\) cows are each standing at distinct locations \((x_1, y_1) \ldots (x_N, y_N)\) on his two-dimensional farm (\(1 \leq N \leq 1000\), and the \(x_i\)'s and \(y_i\)'s are positive odd integers of size at most \(1,000,000\)). FJ wants to par www.acmicpc.net 2. 풀이 이 문제는 누적 합을 이용해 i,j에 울타리를 세웠을 때, 0,0 ~ i,j에..
2024. 1. 7. 23:57
최근댓글