mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Sorting
This commit is contained in:
parent
d26234f860
commit
1c1746bc64
14
Greedy Algorithms/Knapsack.cpp
Normal file
14
Greedy Algorithms/Knapsack.cpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#include<iostream>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
struct Item
|
||||||
|
{
|
||||||
|
int weight;
|
||||||
|
int profit;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
int main(int argc, char const *argv[])
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user