摘要:
#include#include#include#includeusing namespace std;#define INF 0x7fstruct node{ int x, y; int cont;};bool inq[8][8];node cb[9][9];cha... 阅读全文
摘要:
1、Euclidean algorithm【辗转相除法】 古老的求最大公约数(greatest common divisor GCD)的算法算法思想参见wikipedia:http://en.wikipedia.org/wiki/Euclidean_algorithmint ... 阅读全文