← Accolite questions

Minimum initial power to cross caves and defeat monsters

Filed under Accolite

You must cross N caves in sequence. Each cave contains M monsters. You have an initial power S. For each cave i, you choose exactly one monster j. To defeat monster j, you must have S >= P[i][j]…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accolite questions

Collected from public candidate posts and coding forums. Updated Nov 2026.