cswork / OAOpen practice workspace

OtherOA #4

Determine Dice Outcomes (For L4 :)

Estimated MediumStatement and editorial — judging is being prepared

Topics (AI-labelled)Bits & MathBinary Search

You are given two N-sided dic

Example 1

Input:

P = [1, 2, 4]
Q = [2, 2, 5]

Output:

[-0, -0, -0]

Explanation: Hello - Example output is just a placeholder to let the system not complain about missing output :)

Editorial

Loading solution…