UK & Ireland Programming Contest 2026 UKIEPC 2026

UK & Ireland Programming Contest 2026 UKIEPC 2026
1 / 1
UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 1 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 2 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 3 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 4 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 5 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 6 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 7 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 8 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 9 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 10 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 11 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 12 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 13 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 14 of 15 UK & Ireland Programming Contest 2026 UKIEPC 2026 - slide 15 of 15
UK Ireland Programming Contest 2026 UKIEPC 2026 Problem Solutions Contest Walkthrough Reference Guide Presented by the UKIEPC 2026 Jury Problem A: Austere Sign Time Complexity: O(N Σ log Σ) O(N) Adjust the letters on a sign to use

Related Topics

Download this presentation From Below

"UK & Ireland Programming Contest 2026 UKIEPC 2026" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
UK & Ireland Programming Contest 2026 UKIEPC 2026 Problem Solutions Contest Walkthrough & Reference Guide Presented by the UKIEPC 2026 Jury<br>
02
Problem A: Austere Sign Time Complexity: O(N + Σ log Σ) = O(N) Adjust the letters on a sign to use at most k distinct letter stencils.
Minimize the total number of edits. • Count the frequency of each distinct character across all words in linear time O(N). • Sort character counts and preserve the k most frequent letters to minimize replacements. • Replace all discarded characters with the most common preserved letter.<br>
03
Problem B: Bust Blasting Time Complexity: O(N³) - but can be optimised to O(N²) Find the volume of a 3D solid carved by intersecting three axis-aligned projections: front (xy), side (zy), and top (xz). • Compress coordinates: collect unique X, Y, and Z values to discretize space into at most 200 intervals per axis. • Rasterize each 2D projection onto a 200 × 200 bitmap using the standard even-odd fill rule. • Iterate over all 200³ = 8,000,000 elementary cuboids; add Δx · Δy · Δz whenever a cell is active in all three views.<br>