标签 - 打表

? 解题记录 ? ? Codeforces ? ? 贪心 ? ? 乱搞 ? ? 打表 ?    2018-09-18 09:03:06    435    0    0
output standard output A tree is an undirected graph with exactly one simple path between each pair of vertices. We call a set of simple paths k" data-mce-tabindex="0">kk-valid if each vertex of the tree belongs to no more than one of these paths (including endpoints) and each path consists
? 解题记录 ? ? 生成函数 ? ? HDU ? ? 打表 ?    2018-03-12 18:34:02    448    0    0
Problem DescriptionPeople in Silverland use square coins. Not only they have square shapes but also their values are square numbers. Coins with values of all square numbers up to 289 (=17^2), i.e., 1-credit coins, 4-credit coins, 9-credit coins, ..., and 289-credit coins, are available in Silverland