写一个方法1000的阶乘
2023-07-06
答:C++的代码实现如下:
#include
#include
#include
using namespace std;
class longint
private:
vector iv;
public:
longint(void) iv.push_back(1);
longint& multiply(const int &);
friend ostream& operator
写一个方法1000的阶乘2023-07-06 答:C++的代码实现如下: #include #include #include using namespace std; class longint private: vector iv; public: longint(void) iv.push_back(1); longint& multiply(const int &); friend ostream& operator 相关内容: |