1.g++ compiler provide __int128_t type 128 bits interger
2.Because the precision
errors it's better use subtraction and compare with a small number like(1e-9) than use == to indicate two floating point numbers is equal.
3.page 16 book list
4.Computers and Intractability:
A Guide to the Theory of NP-Completeness
5.Kadane’s algorithm.
6.Chapter 7 DP
訂閱:
文章 (Atom)
Linux driver: How to enable dynamic debug at booting time for built-in driver.
Dynamic debug is useful for debug driver, and can be enable by: 1. Mount debug fs #>mount -t debugfs none /sys/kernel/debug 2. Enable dy...
-
The root cause is miss use a pointer to a static variable like: int x = 1; int y = (int) &x; Modify version int x = 1; int *y =...
-
1.Create the project folder and win_gui_v1.go in your go work space > cd ..\src\ > mkdir win_gui_v1 2.Copy the .manifest file...
-
1.Download Astyle http://astyle.sourceforge.net/ 2. Open Keil -> Tool -> Customize Tool Menu config as below My argument. Can ...