cswork / OA打开练习工作台

其他OA #4

Determine Dice Outcomes (For L4 :)

估计中等评测数据准备中,可先阅读题面

考点(AI 标注)位运算二分查找

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 :)