#
试题名
热度
更新日期
21 第41题 (最优子序列)取 m = 16,给出长度为 n 的整数序列 a1,a2,…,an(0≤ai≤2m)。对于一个二进制数 x,定义其 34 2024-07-02
22 第40题 (最优子序列)取 m = 16,给出长度为 n 的整数序列 a1,a2,…,an(0≤ai≤2m)。对于一个二进制数 x,定义其 58 2024-07-02
23 第39题 (最优子序列)取 m = 16,给出长度为 n 的整数序列 a1,a2,…,an(0≤ai≤2m)。对于一个二进制数 x,定义其 71 2024-07-02
24 第38题 (分数背包)小 S 有 n 块蛋糕,编号从 1 到 n。第 i 块蛋糕的价值是 wi,体积是 vi。他有一个大小为 B 的 89 2024-07-02
25 第37题 (分数背包)小 S 有 n 块蛋糕,编号从 1 到 n。第 i 块蛋糕的价值是 wi,体积是 vi。他有一个大小为 B 的 71 2024-07-02
26 第36题 (分数背包)小 S 有 n 块蛋糕,编号从 1 到 n。第 i 块蛋糕的价值是 wi,体积是 vi。他有一个大小为 B 的 65 2024-07-02
27 第35题 (分数背包)小 S 有 n 块蛋糕,编号从 1 到 n。第 i 块蛋糕的价值是 wi,体积是 vi。他有一个大小为 B 的 42 2024-07-02
28 第34题 (分数背包)小 S 有 n 块蛋糕,编号从 1 到 n。第 i 块蛋糕的价值是 wi,体积是 vi。他有一个大小为 B 的 87 2024-07-02
29 第33题 #include <iostream>  #include <queue>  using namespace std;      const int maxl  34 2024-07-02
30 第32题 #include <iostream>  #include <queue>  using namespace std;      const int maxl  93 2024-07-02
31 第31题 #include <iostream>  #include <queue>  using namespace std;      const int maxl  94 2024-07-02
32 第30题 #include <iostream>  #include <queue>  using namespace std;      const int maxl  46 2024-07-02
33 第29题 #include <iostream>  #include <queue>  using namespace std;      const int maxl  31 2024-07-02
34 第28题 #include <iostream>  #include <queue>  using namespace std;     const int maxl = 39 2024-07-02
35 第27题 #include <iostream>  #include <cstdlib>  using namespace std;     int n;  int d[1 67 2024-07-02
36 第26题 #include <iostream>  #include <cstdlib>  using namespace std;     int n;  int d[1 55 2024-07-02
37 第25题 #include <iostream>  #include <cstdlib>  using namespace std;     int n;  int d[1 25 2024-07-02
38 第24题 #include <iostream>  #include <cstdlib>  using namespace std;     int n;  int d[1 82 2024-07-02
39 第23题 #include <iostream>  #include <cstdlib>  using namespace std;     int n;  int d[1 91 2024-07-02
40 第22题 #include <iostream>  #include <cstdlib>  using namespace std;     int n;  int d[1 76 2024-07-02