// 思路 只有坐标奇偶性相同的向左移动的机器人和向右移动的机器人存在爆炸可能,因此分别存储 let count = 10 const res = new Array(count).fill(-1) //初始化结果 const RarrOdd = [], RarrEven = [], LarrOdd = [], LarrEven = [] const test = [['94', 'R'], ['74', 'L'], ['90', 'L'], ['75', 'R'], ['37', 'R'], ['99', 'R'], ['62', 'R'], ['4', 'L'], ['92', 'L'],...