optimize
National Olympiad — National round
Submission name: optimize.cpp
Source catalogue entry
This task is indexed from Arena’s Group C Olympiad archive. An English explanation and verified C++17 solution have not been added yet.
Topic labels come from Arena’s catalogue. Difficulty has not yet been assessed.
Catalogue topics
DAGs & topological sorting · Binary search on the answer
Use the source link below to open the official problem.