in1
5 2
5
7
0
18
16
20
19
out1
-1
https://www.luogu.com.cn/blog/SSL-XXY/solution-p2214 输出707406379
https://www.luogu.com.cn/blog/luqyou/solution-p2214 输出1
https://www.luogu.com.cn/blog/98954/solution-p2214 输出1061109568
https://www.luogu.com.cn/blog/yueyang/solution-p2214 输出2139062144
https://www.luogu.com.cn/blog/solitudeabandentsky/solution-p2214 输出1061109568
https://www.luogu.com.cn/blog/aeber/solution-p2214 输出2139062144
in2
5 2
5
7
0
17
100000
1
20
out2
-1
https://www.luogu.com.cn/blog/winmt/solution-p2214 RE
https://www.luogu.com.cn/blog/159686/solution-p2214 RE
https://www.luogu.com.cn/blog/hyt555/solution-p2214 输出14291
https://www.luogu.com.cn/blog/Delonxdl-legend/solution-p2214 RE
in3
5 2
5
7
0
2
3
4
5
out3
-1
https://www.luogu.com.cn/blog/cyc1065768794/solution-p2214 输出 -4
此外,https://www.luogu.com.cn/blog/tby-blog/solution-p2214 过不去样例,爆破。https://www.luogu.com.cn/blog/li-mi/solution-p2214 毫无讲解,爆破。
综上所述,此题的题解已经被我叉光!