2212. Maximum Points in an Archery Competition
Alice and Bob are opponents in an archery competition. The competition has set the following rules: - Alice first shoots numArrows arrows and then Bob shoots numArrows arrows. - The points are then calculated as follows: - The target has integer scoring sections ranging from 0 to 11 inclusive. - For each section of the target with score k (in between 0 to 11), say Alice and Bob have shot ak an
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