摘要: 链接:P5057 [CQOI2006]简单题 其实这道题是树状数组的模板题 看一下题意,如果用树状数组,我们很容易想到差分数组。但是一般的差分数组是不行的 因为只有零和一,所以对于每一次操作,实就是让它在0和1中循环。而且,很容易得到,对于一个点进行了奇数次操作,他就会被改变,而偶数次操作就不变,知 阅读全文
posted @ 2019-07-26 11:00 Simex 阅读(175) 评论(0) 推荐(0) 编辑
摘要: If we define , do you know what function means? Actually, calculates the total number of enclosed areas produced by each digit in . The following tabl 阅读全文
posted @ 2019-07-26 09:54 Simex 阅读(242) 评论(0) 推荐(0) 编辑