cswork / OA打开练习工作台

Goldman SachsOA #13

Find Last Kid

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

考点(AI 标注)位运算模拟/实现

Given n number of kids, t toys and random numbe

Example 1

Input:

N = 5
T = 2
D = 1

Output:

2

Explanation: As we will start from 1 and kid getting last toy is 2.