我无法完成 ARC208C 大学习

· · 题解

题面

给定 c,x,构造 n\oplus c\mod n=x

解法

参考了官方题解和这篇题解的做法。

注意不是 n\oplus c\equiv x\pmod n,不然很多性质都会发生改变。