PTA 大整数乘法(运算符重载)(25 分)

该题比较好的作法使用一种乘法计算技巧,见图:ios 就是倒序计算,但这其中有不少细节问题要考虑清楚,好比进位,要考虑清楚各类状况,下面是程序:spa #include <iostream> #include <string> using namespace std; class BigInteger { private: string str; public: BigInteger
相关文章
相关标签/搜索