Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

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