这个傻逼题..我没弄明白 you may assume that calls are being made to the system in chronological order (ie, the timestamp is monotonically increasing) 这句话的意思,以为只是盖戳的时间是这样,getHits可以是任意值,我用TEST CASE测试了一下,答案的结果是这样. 比如300S之后,getHits(4)还是能得到正确解,结果卡了好久. 看了答案,发现似乎getHi…