摘要: 为了后面课程准备,先把基础的大数高精度运算先实现一遍。 1 为了后面课程准备,先把基础的大数高精度运算先实现一遍。 2 3 //BIGN.h 4 5 #ifndef BIGN_H 6 #define BIGN_H 7 8 #include 9 #include 10 #include 11 using namespace std; 12 const int MAXN = 3000; 13 14 //三元组gcd(a,b) = ax + by = d 15 struct gcd 16 { 17 int x; 18 int y; 19 int... 阅读全文
posted @ 2013-09-23 23:05 中大黑熊 阅读(419) 评论(0) 推荐(0) 编辑