morejarphone~

从爱好,到梦想

HDU 3943 (二分+数位DP)

K-th Nya Number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 125536/65536 K (Java/Others) Total Submission(s): 2762    Accepted Submissi...

2016-04-10 23:07:15

阅读数:147

评论数:0

hihocoder 1259 (数位DP)

连接:点击打开链接 题意:定义g(x)为f(1)到f(n)中模k余n的个数,求出所有g(x)的异或和. 坑爹UVA一直报RE然后转向hihocoder就过了~ f(2x)=3f(x),f(2x+1)=f(2x)+1. 然后发现f(1)到f(n)在三进制下等价于二进制下的1到n,然后就可以用...

2016-04-10 21:38:23

阅读数:338

评论数:0

HDU 3652 (数位DP 水~)

Problem Description A wqb-number, or B-number for short, is a non-negative integer whose decimal form contains the sub- string "13" and ...

2016-04-08 11:00:02

阅读数:181

评论数:0

HDU 4722 (数位DP 水~)

Good NumbersTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3814    Accepted Submission(s): 1...

2016-04-06 18:44:49

阅读数:238

评论数:0

HDU 4734 (数位DP)

F(x) Time Limit: 1000/500 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3315    Accepted Submission(s): 1247 ...

2016-04-06 18:32:41

阅读数:175

评论数:0

HDU 4507 (数位DP)

吉哥系列故事——恨7不成妻 Time Limit: 1000/500 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 2758    Accepted Submission(s...

2016-04-05 23:29:54

阅读数:187

评论数:0

数位DP 水~

数位DP貌似很弱,先切水的练练手~ HDU2089:点击打开链接 输出区间里面没有连续62,没有4的数字个数. #include using namespace std; long long n, m; int bit[11], l; int dp[11][2]; int dfs (i...

2016-04-05 18:41:38

阅读数:289

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭