Output giving the runtime error. How can I solve it?

后端 未结 0 1972
执笔经年
执笔经年 2020-12-30 22:51

You are given a permutation of n a1,a2,...an. You will also be given another integer x between 1 and n. In one move, you can swap the element x with an element at an odd num

相关标签:
回答
  • 消灭零回复
提交回复
热议问题