[Update] Bzoj 题一览 VI [2015.4.1 - 2015.6.30] - usqwedf - Tomorrow Will Be Forever



[Update] Bzoj 题一览 VI [2015.4.1 - 2015.6.30] - usqwedf - Tomorrow Will Be Forever

2015.4.3

Bzoj 1202 [HNOI2005]狡猾的商人 并查集 记 Dis[x] = Dis (x->F[x]) 注意压缩时的更新 可以代数推导
Bzoj 1071 [SCOI2007]组队 枚举 A*Height+B*Speed<=C+A*MinH+B*MinV 不等式左边偏序 另一值偏序 枚举 MinH MinV L R 指针维护可行
Bzoj 2659 [Beijing wc2012]算不出的算式 数学 分类讨论 p=q 直接定义计算 p!=q 建立坐标系 格点

2015.4.4

Bzoj 1090 [SCOI2003]字符串折叠 记忆化搜索 枚举是否循环  F[i][j] = F[i][k]+F[k+1][j] / F[i][k]+Length+2

2015.4.5

Bzoj 3891 [Usaco2014 Dec]Piggy Back Bfs F[i] 1->i G[i] 2->i P[i] n->i 则 求 Min(F[i]*B+G[i]*E+P[i]*P)
Bzoj 3893 [Usaco2014 Dec]Cow Jog 枚举 从后往前一遍扫 若追不上之前的最近的一头则为一个新的群体
Bzoj 3892 [Usaco2014 Dec]Marathon 动态规划 F[i][j] 表示到 i 跳过了 j 次 n 转移

2015.4.6

Bzoj 3886 [Usaco2015 Jan]Moovie Mooving 状态压缩动态规划 F[i] 表示状态为 i 时 最长达到的时间 时间复杂度 O(2^n*n*Log2(C))

2015.4.11

Bzoj 2186 [Sdoi2008]沙拉公主的困惑 数论 显然 答案为 N!*(P1-1)*(P2-1)*..*(Pn-1)/M! 线性筛预处理 S(n) = (P1-1)*(P2-1)*..*(Pn-1) 递推逆元 G(n) = 1/n (Mod R) 随之 预处理 W(n) = 1/P1*P2*..*Pn (Mod R) 常数优化 
Bzoj 1225 [HNOI2001] 求正整数 Dfs 类似反质数 数字很大需要高精度 比较时可以用对数函数 考虑精度
Bzoj 3943 [Usaco2015 Feb]SuperBull 最大生成树 两两(i,j)点对连A[i]^A[j]的边 求该图的最大生成树 考虑 Prim 
Bzoj 2783 [JLOI2012]树 Dfs 深度递增即链形结构 可以 Set/Queue 队列维护此时的 S 计数 T
 

2015.4.12

Bzoj 3613 [Heoi2014]南园满地堆轻絮 构造 据生成函数生成序列 记 Calc(Ai,Aj)(i<j Ai>Aj) = Max(Ai-(Ai+Aj)/2,(Ai+Aj)/2-Aj) 则


Read full article from [Update] Bzoj 题一览 VI [2015.4.1 - 2015.6.30] - usqwedf - Tomorrow Will Be Forever


No comments:

Post a Comment

Labels

Algorithm (219) Lucene (130) LeetCode (97) Database (36) Data Structure (33) text mining (28) Solr (27) java (27) Mathematical Algorithm (26) Difficult Algorithm (25) Logic Thinking (23) Puzzles (23) Bit Algorithms (22) Math (21) List (20) Dynamic Programming (19) Linux (19) Tree (18) Machine Learning (15) EPI (11) Queue (11) Smart Algorithm (11) Operating System (9) Java Basic (8) Recursive Algorithm (8) Stack (8) Eclipse (7) Scala (7) Tika (7) J2EE (6) Monitoring (6) Trie (6) Concurrency (5) Geometry Algorithm (5) Greedy Algorithm (5) Mahout (5) MySQL (5) xpost (5) C (4) Interview (4) Vi (4) regular expression (4) to-do (4) C++ (3) Chrome (3) Divide and Conquer (3) Graph Algorithm (3) Permutation (3) Powershell (3) Random (3) Segment Tree (3) UIMA (3) Union-Find (3) Video (3) Virtualization (3) Windows (3) XML (3) Advanced Data Structure (2) Android (2) Bash (2) Classic Algorithm (2) Debugging (2) Design Pattern (2) Google (2) Hadoop (2) Java Collections (2) Markov Chains (2) Probabilities (2) Shell (2) Site (2) Web Development (2) Workplace (2) angularjs (2) .Net (1) Amazon Interview (1) Android Studio (1) Array (1) Boilerpipe (1) Book Notes (1) ChromeOS (1) Chromebook (1) Codility (1) Desgin (1) Design (1) Divide and Conqure (1) GAE (1) Google Interview (1) Great Stuff (1) Hash (1) High Tech Companies (1) Improving (1) LifeTips (1) Maven (1) Network (1) Performance (1) Programming (1) Resources (1) Sampling (1) Sed (1) Smart Thinking (1) Sort (1) Spark (1) Stanford NLP (1) System Design (1) Trove (1) VIP (1) tools (1)

Popular Posts