Yudong Jin
f68bbb0d59
Update the book based on the revised second edition ( #1014 )
...
* Revised the book
* Update the book with the second revised edition
* Revise base on the manuscript of the first edition
11 months ago
Yudong Jin
f7c41b6bef
fix: Update C code for compatibility with the MSVC compiler ( #949 )
...
* Replace VLA with malloc
Replace VLA with malloc to make C code
compatible with cl compiler on Windows.
* Fix C code for CI compiler.
* Fix C code compability to CI.
* check the trigger
1 year ago
krahets
49745cf2d2
Add the link of math.h lib in CMakeList.
1 year ago
krahets
1e49574332
Simplify struct declarations of C.
...
Use PascalCase for all structs in C.
SImplify n_queens.c
Format C code for chapter of graph.
1 year ago
krahets
e567d08348
Bug fixes
1 year ago
krahets
1067f30fe7
Include glightbox plugin enabling zooming figures
1 year ago
xianii
d225b416cf
feat: add C code in chapter_greedy ( #755 )
...
* add fractional_knapsack.c
* update CMakeLists
* add c code in chapter_greedy
* fix header format
* format code by clang-format
* remove extra comments
* replace ternary operator to MACRO
* parameters form adjustment
* Update fractional_knapsack.c
* Update max_capacity.c
* Update max_product_cutting.c
* add comments for consistency with cpp ver
* move MIN&MAX macro to source file
* typo fix
---------
Co-authored-by: Yudong Jin <krahets@163.com>
1 year ago
linweibin
c8e0c476bd
增加C的贪心算法代码 ( #726 )
1 year ago