摘要:
#include "bits/stdc++.h" using namespace std; const int N=1e3+3; int n,m,a[N][N],s[N][N]; int A; int w[N],h[N],pp; void sov(int x){ int i,ans=0; pp=0; 阅读全文
posted @ 2022-12-02 19:43
towboat
阅读(15)
评论(0)
推荐(0)
摘要:
超市里有n件商品,每件商品都有利润v[i] 和过期时间tm[i] , 每天只能卖一件商品,过期商品不能卖。 求可以得到的最大收益 #include "bits/stdc++.h" using namespace std; const int N=1e5+5; struct T{ int v,tm; 阅读全文
posted @ 2022-12-02 18:14
towboat
阅读(14)
评论(0)
推荐(0)