2016年8月13日

light oj 1231 dp 多重背包

摘要: ```cpp include include include include include include include include define ll long long using namespace std; const int MOD = 1e8+7; int dp[55][1010 阅读全文

posted @ 2016-08-13 18:21 鱼泪儿 阅读(101) 评论(0) 推荐(0) 编辑

light oj 1422 区间dp

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define ll long long 10 11 using namespace std; 12 13 int color[105],n; 14 int dp[105][105... 阅读全文

posted @ 2016-08-13 17:05 鱼泪儿 阅读(167) 评论(0) 推荐(0) 编辑

light oj 1098 数学规律

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define ll long long 10 11 using namespace std; 12 13 14 const ll MAX = (ll)sqrt(2e9)+1; ... 阅读全文

posted @ 2016-08-13 13:48 鱼泪儿 阅读(249) 评论(0) 推荐(0) 编辑

导航