TmonoのACM
坚持是一种饼~
摘要: #include#include#include#includeusing namespace std;#define INF 0x7fstruct node{ int x, y; int cont;};bool inq[8][8];node cb[9][9];cha... 阅读全文
posted @ 2014-03-26 16:56 Pobo_biu 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1、Euclidean algorithm【辗转相除法】 古老的求最大公约数(greatest common divisor GCD)的算法算法思想参见wikipedia:http://en.wikipedia.org/wiki/Euclidean_algorithmint ... 阅读全文
posted @ 2014-03-26 09:09 Pobo_biu 阅读(155) 评论(0) 推荐(0) 编辑