大数模板(以poj2109为应用实例)
摘要:
主函数函数之外部分为大数模板,题目相关只在主函数中涉及。#include #include #include #include #include #include #define abs(a) ((a)>=0?(a):-(a)) using namespace std; //---------------------------------大数模板------------------------------------- class LargeInteger{public: LargeInteger(const char * s); LargeInteger(unsigned... 阅读全文
posted @ 2013-07-26 13:32 Gddxz 阅读(187) 评论(0) 推荐(0) 编辑