mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-27 03:50:19 +08:00
Include glightbox plugin enabling zooming figures
This commit is contained in:
@@ -7,12 +7,12 @@
|
||||
#include "../utils/common.h"
|
||||
|
||||
/* 物品 */
|
||||
struct item {
|
||||
struct Item {
|
||||
int w; // 物品重量
|
||||
int v; // 物品价值
|
||||
};
|
||||
|
||||
typedef struct item Item;
|
||||
typedef struct Item Item;
|
||||
|
||||
/* 按照价值密度排序 */
|
||||
int sortByValueDensity(const void *a, const void *b) {
|
||||
|
||||
Reference in New Issue
Block a user