UVA11990 ``Dynamic'' Inversion

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=229&page=show_problem&problem=3141 [PDF](https://uva.onlinejudge.org/external/119/p11990.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11990/b71ec5ebd8beb2b30e521503dc747b432985e49d.png)

Input Format

N/A

Output Format

N/A