摘要:
标签: 线段树 题目链接 https://codeforces.com/contest/981/problem/E 分析 在线段树的每个节点维护一个 . 代码 cpp include include include include include include include using name 阅读全文
摘要:
Problem Statement For integers _b_(_b_≥2) and _n_(_n_≥1), let the function _f_(_b_,_n_) be defined as follows: _f_(_b_,_n_)=_n_, when _n_ _f_(_b_,_n_) 阅读全文
摘要:
标签: 状态压缩DP 题目描述 Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with 5, 7 and 5 syllables, in this order. Iroha is looking 阅读全文
摘要:
标签 : 动态规划 题目描述 Sig has built his own keyboard. Designed for ultimate simplicity, this keyboard only has 3 keys on it: the 0 key, the 1 key and the bac 阅读全文
摘要:
标签: 可持久化线段树 题目描述 The h index of an author is the largest h where he has at least h papers with citations not less than h . Bobo has published n papers 阅读全文