rt.
我一个假了的代码可以通过,而且非常好 hack。
input:
1 2 2 -2 -1
output:
Yes
显然可以一次 −1-1−1,剩下都是 −2-2−2。
我的代码输出 NoNoNo。