The compass leads you to an underground chamber covered in numbers carved into the walls — a maze of digits that glows in mysterious patterns.
The inscription reads: “Only the even paths shall open.”
Given a vector a of numbers, extract and return a new vector b containing only the even numbers, preserving their original order.
These even numbers form the correct path through the Maze of Numbers.

Solution Stats

81 Solutions

67 Solvers

Last Solution submitted on Jan 30, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...