摘要:
You are given two arrays aa and bb, both of length nn. All elements of both arrays are from 00 to n−1n−1. You can reorder elements of the array bb (if 阅读全文
摘要:
You are given a set of points x1x1, x2x2, ..., xnxn on the number line. Two points ii and jj can be matched with each other if the following condition 阅读全文
摘要:
output standard output output standard output output You are given integer nn. You have to arrange numbers from 11 to 2n2n, using each of them exactly 阅读全文