URAL 1491. Unreal Story(区间染色, 数学啊)

You won’t believe it, but once, in ancient times, there happened the following story. At a meeting of the Round Table, King Arthur stood up and said: “Let each knight sitting on my right not farther thanbplaces and not nearer thanaplaces receive from mecgold coins.” If we number the knights from 1 toNcounter-clockwise so that the knight sitting on Arthur’s right is numbered 1 and the knight sitting on Arthur’s left is numberedN, then we have that the king gavecgold coins to the knights with numbersa,a+1,…,b.

,充满了恐惧的声音,一种不确定的归宿的流动。

URAL 1491. Unreal Story(区间染色, 数学啊)

相关文章:

你感兴趣的文章:

标签云: