cppAcademy
FROM LEARNING TO COMPETING

Real problems.
Your next challenge.

Explore the Group C Olympiad archive.
Choose a topic. Find a challenge. Build your solution.

213 tasks across the Municipal, Regional, and National rounds (2009–2026), plus 4 previously featured problems. 146 tasks have independently written English summaries, analyses, and C++17 solutions; the remaining entries link to Arena. Topic tags are from Arena or our reviewed explanations. Difficulty labels are learning estimates, not official ratings.
GROUP C2018 · Not assessedGreedy algorithms

magbox

National Olympiad — National round

Submission name: magbox.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

Greedy algorithms

Use the source link below to open the official problem.

Source: Arena Olimpiici ↗