题目:愚蠢的错误 题意:中心公司有一个办公室有一个成熟的安全系统,这里面有10^6个雇员,编号从1到10^6 安全系统有入口和出口,数字i表示第i个雇员进入,-i表示第i个雇员出去 公司有一些严格的规矩: 1.雇员一天可以进入办公司最多一次 2.如果今天雇员没进雇员,他是无法出去的 3.办公室空的,代表里面的人都出去了 [1, 7, -7, 3, -1, -3]表示一个有效的一天,1进入,7进入,7出去,3进入,1出去,3出去 这里有a1,a2,...,an表示它们进出的序列,这个序列表示一天或…