壮鸭dp
qdu_ellery
我有梦想啊!
展开
-
HDU - 2809 God of War (暴力状压dp)(模拟)
At 184~280 A.D ,there were many kingdoms in China. Three strongest among them are “Wei”, “Shu”, “Wu”. People call this period as “Three Kingdoms”. HH is a super “Three Kingdoms” fan, because at this p...原创 2019-08-14 19:29:24 · 257 阅读 · 0 评论 -
SPOJ - BALNUM Balanced Numbers(状压)(数位dp)
Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if: Every even digit appears an odd number of times in its decimal representation...原创 2019-08-15 13:07:17 · 126 阅读 · 1 评论 -
F - Mondriaan's Dream POJ - 2411(状压dp)(暴力)
Squares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his ‘toilet series’ (where he had to use his toilet paper to draw on, for all of h...原创 2019-08-16 20:52:56 · 123 阅读 · 0 评论 -
H - New Year Tree CodeForces - 620E(64位状压)(dfs序)(线段树)(lazy)
#include<iostream> #include<sstream> #include<algorithm> #include<cstdio> #include<string.h> #include<cctype> #include<string> #in...原创 2019-08-22 14:22:25 · 199 阅读 · 0 评论