issues
search
wbluke
/
Algorithm_PS
Algorithmic Problem Solving Strategies
https://algospot.com/
0
stars
0
forks
source link
[CH19] ITES
#22
Closed
wbluke
closed
5 years ago
wbluke
commented
5 years ago
https://algospot.com/judge/problem/read/ITES
wbluke
commented
5 years ago
[My Point]
입력을 만드는 조건이 까다로워서 조금 헤맸는데, 과정을 두 번 거쳐줘야 signal이 나오는 것이었다.
입력이 무지막지하기 때문에, 큐를 이용해서 구간구간 매번 목표한 합과 큐의 총합이 같은지 체크해서 그때그때 행동을 결정해준다. 차근차근 풀어서 한번에 잘 정답!
https://algospot.com/judge/problem/read/ITES