Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

zkzk_-'s blog

By zkzk_-, history, 2 years ago, In English
Given an array of integers, our goal is to rearrange its elements so that all odd numbers are on the left side and all even numbers are on the right side, while keeping the relative order of elements unchanged.
 How would you do?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it