08 2021 档案

摘要:01背包 完全背包 322. 零钱兑换 给你一个整数数组 coins ,表示不同面额的硬币;以及一个整数 amount ,表示总金额。 计算并返回可以凑成总金额所需的 最少的硬币个数 。如果没有任何一种硬币组合能组成总金额,返回 -1 。 你可以认为每种硬币的数量是无限的。 示例 1: 输入:coi 阅读全文
posted @ 2021-08-30 20:04 douzujun 阅读(281) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <vector> #include <algorithm> using namespace std; int selectPartition(vector<int>& arr, int low, int high) { int mid = l 阅读全文
posted @ 2021-08-23 22:47 douzujun 阅读(66) 评论(0) 推荐(0) 编辑
摘要:先生成该表格: # In[1] import pandas as pd import os df = pd.read_excel('list.xlsx') ids = df['Pap ID'].to_list() lens = df['Page Length'].to_list() titles = 阅读全文
posted @ 2021-08-21 22:13 douzujun 阅读(295) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示