2017年7月16日 星期日

Competitive Programmer’s Handbook Note.

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

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...