其实就是一个思想,没啥好讲的。
https://www.luogu.com.cn/problem/CF730I
https://www.luogu.com.cn/problem/CF724E
练习:
https://www.luogu.com.cn/problem/AT_agc018_c
https://www.luogu.com.cn/problem/CF1373F
https://www.luogu.com.cn/problem/P2514
附加题:
其实就是一个思想,没啥好讲的。
https://www.luogu.com.cn/problem/CF730I
https://www.luogu.com.cn/problem/CF724E
练习:
https://www.luogu.com.cn/problem/AT_agc018_c
https://www.luogu.com.cn/problem/CF1373F
https://www.luogu.com.cn/problem/P2514
附加题: