cornfield
National Olympiad — National round
Submission name: cornfield.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
DFS & reachability · Sorting · Binary search on the answer
Use the source link below to open the official problem.