
dp
prometheus_97
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
牛客网 Wannafly挑战赛12 C(dp)
https://www.nowcoder.com/acm/contest/79/C比赛的时候没想到,看了别人的题解才做出来。#include<iostream> #include<string> #include<string.h> #include<stdio.h> using namespace std; int dpa[15],dpb[15]; //dpa(b)[i]分别表示以a(b)结尾,i原创 2018-03-26 16:53:13 · 234 阅读 · 0 评论 -
埃森哲杯第十六届上海大学程序设计联赛春季赛暨上海高校金马五校赛 L(dp)
https://www.nowcoder.com/acm/contest/91/L#include<iostream> #include<bits/stdc++.h> using namespace std;const int maxn=1e5+5; const int maxk=1e7+5; int dp[2][maxk]; int num[maxn]; int main() { int原创 2018-04-16 19:11:58 · 255 阅读 · 0 评论