CF1831A Twin Permutations

题目描述

### 题目大意 给出一个长为 $n$ 的排列 $a$ 请构造一个长为 $n$ 的排列 $b$ 使 $c_i = a_i + b_i$ 并且 $c$ 是一个不下降序列

输入格式

第一行,一个数 $T$ ,表示 $T$ 组数据 接下来 $T$ 组数据 第一行一个整数 $n$ , 第二行 $n$ 个数表示 $a_i$

输出格式

共 $T$ 行 ,每行 $n$ 个数表示 排列 $b$

说明/提示

In the first test case $ a=[1, 2, 4, 5, 3] $ . Then the permutation $ b=[1, 2, 4, 3, 5] $ satisfies the condition because $ 1 + 1 \le 2 + 2 \le 4 + 4 \le 5 + 3 \le 3 + 5 $ .