📄 very_long_int.h
字号:
#ifndef _VERY_LONG_INT
#define _VERY_LONG_INT
#endif
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class very_long_int
{
friend istream& operator>>(istream& instream,very_long_int& very_long);
friend ostream& operator<<(ostream& outstream,very_long_int very_long);
public:
very_long_int();
very_long_int operator+(const very_long_int& other_very_long);
very_long_int operator*(const very_long_int& other_very_long);
char least(unsigned i) const;
very_long_int Mul(int n);
very_long_int Factorial(unsigned n);
vector<char>digits;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -