博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
BZOJ 4145: [AMPPZ2014]The Prices
阅读量:6998 次
发布时间:2019-06-27

本文共 316 字,大约阅读时间需要 1 分钟。

状压DP

暴力出奇迹

#include
#include
#include
using namespace std;int d[1000005],c[105][16],F[105][70005][2];int main(){ int n,m; scanf("%d%d",&n,&m); for (int i=1; i<=n; i++){ scanf("%d",&d[i]); for (int j=0; j

  

转载于:https://www.cnblogs.com/silenty/p/9872694.html

你可能感兴趣的文章