2017年5月17日

codeforces 808

摘要: A距离下一个lucky 年 还有多少年 lucky 定义是 数字只有一个位不为0 第一位加上1 然后乘上好几个10就可以 #include <iostream> #include<string.h> #include<stdio.h> using namespace std ; #define ll 阅读全文

posted @ 2017-05-17 16:39 HelloWorld!--By-MJY 阅读(137) 评论(0) 推荐(0) 编辑

hdu 4734 数位DP

摘要: 1 dp[i][j] 可以直接求 <f(a) 是数目 但是时间被卡住了 dp[i][j]都要被初始化 2 dp[i][j] 求到i <j 的数目 #include <iostream> #include<string.h> #include<stdio.h> using namespace std 阅读全文

posted @ 2017-05-17 08:40 HelloWorld!--By-MJY 阅读(120) 评论(0) 推荐(0) 编辑

导航