Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 24972
- 미분방정식
- 18963
- 백준
- 15867
- Классные парты
- Atcoder
- Merlin QA
- Commuter Pass
- DP
- poi
- 2018/2019
- 19911
- JOISC
- 일반해
- BOJ
- Kingdom Trip
- 앳코더
- codeforces
- C++
- Journey to TST
- 코드포스
- Prok barrel
- Hoof and Brain
- Subway
- Joi
- 12126
- arc
- div1
- 알고리즘
Archives
- Today
- Total
목록Two Antennas (1)
취미로PS하는사람
[2019.12.26] JOI spring camp 2018/2019 Day 2
https://oj.uz/problems/source/377 1. Two Antennas (두 안테나) 극한의 스위핑 문제... 우선 쿼리에 변화가 없으므로 오프라인으로 쿼리를 처리해야겠다는 생각을 할 수 있다. R이 증가하는 순서대로 쿼리를 정렬하자. 통신을 할 수 있는 조건은 1 P[i]; sumA[i] = sumA[i-1] + A[i]; } for(int i = 1; i > B[i] >> T[i] >> Q[i]; sumB[i] = sumB[i-1] + B[i]; ans += Q[i]; } for(int i = 1; i = 0) po.eb(i, temp, P[i]); } for(int i = 1; i b.y; return a.x < b.x; }); ll rem = 0; for(int i = 0; i ..
PS/Once apon a time
2021. 12. 20. 18:34