摘要: 算法 动态规划 完全背包 #include<iostream> using namespace std; const int N = 1010; int f[N]; int v[N],w[N]; int main() { int n,m; cin>>n>>m; for(int i = 1 ; i < 阅读全文
posted @ 2022-10-12 00:12 Sakurakio 阅读(49) 评论(0) 推荐(1)
摘要: #include<stdio.h> #include<string.h> #include<stdlib.h> typedef struct worker{ int data; struct worker *next; }linklist; linklist* creat(int n){ linkl 阅读全文
posted @ 2021-11-22 20:06 Sakurakio 阅读(37) 评论(0) 推荐(1)