Defeating The Lannisters
CodeChefOpen on judge ↗
Robb Stark is marching towards King’s Landing with his army to take revenge for his family. But the Lannisters are very treacherous and have devised a magic serum that enhances the strength of its army. Thankfully a Stark spy tells Robb Stark about the magic serum. Now Stark wizard sits down to find out a solution for this serum. Each soldier in Stark army has a strength represented as an integ
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.
Sign in to chat with the tutor and save your progress.
Sign in to start