作者注
图片来自
题目大意
给出一张位图,是太阳和周围的光芒,像这样:
问有多少个太阳,并统计每个太阳周围的光线数量,排序后输出。
图的规模是1600*1600,光线的宽度[……]
渺渺苍天,星光烁烁,美丽家园球外乡
这道题的解法实际上非常简单:http://codeforces.com/contest/329/submission/4122927
这道题要求我们证明一大堆东西(下面的证明超过80行)。
假设n>=4.显然nC,C->B,A->D,D->A。这里,点的配对是显然的,A和D配对,同样B和[……]
Smart Beaver recently got interested in a new word game. The point is as follows: count the number of distinct good substrings of some string
s.[……]