Note: This article is available in Chinese only. 本文暂无英文版本。
View original
codeforces 589H - Tourist Guide(dfs)
Related
codeforces 589 B - Layer Cake
B - Layer Cake
**Time Limit:**6000MS **Memory Limit:**524288KB 64bit IO Format:%I64d & %I64u
Submit Status Practice CodeForces 589B
Description
Dasha decided to bake a big and tasty layer cake. In order to do that she went shopping and bought n rectangular cake layers. The length and the width of the i-th cake layer were a__i and b__i respectively, while the height of each cake layer was equal to one.
zoj 3634 Bounty hunter(dp,已经想明白)
M - Bounty hunter
**Time Limit:**5000MS **Memory Limit:**65536KB 64bit IO Format:%lld & %llu
Submit Status
Description
Bounty hunter is a hero who always moves along cities to earn money by his power. One day he decides to N cities one by one