F - Clearance
Problem Statement
AtCoder Inc.s online shop currently handles $N$ products, and the stock of product $i$ is $A_i$ units remaining.
Process the following $Q$ orders in order. The $i$-th …
pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …