首先一个别人总结的模版,我觉得很好就引用一下/**高精度模版*/#include <stdio.h>#include <string.h>#include <iostream>using namespace std;const int MAXL = 500;struct BigNum{ int num[MAXL]; int len;};//高精度比较 a > b return 1, a == b return 0; a < b return -1;int Comp(BigNum &a, BigNum &b){ int i; if( Read More
posted @ 2013-03-18 22:30 longlongago Views(171) Comments(0) Diggs(0) Edit