← All problemsSign in

Professor And Security

Professor thinks that all the heists that have been done so far were small, and now he wants to plan something bigger. According to this plan, the team will rob $S$ number of banks from every city and also, he plans to rob $K$ cities. So he asks Raquel to gather data about the level of security in each bank. Raquel gives him a matrix with $K$ rows and $S+1$ columns. Each row contains $S$ integer

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start