📄 trans.h
字号:
#ifndef TRANS_Htypedef signed long long int bmap; // up to 63 items OKclass Trans {private: int const *t; int size; bmap mask;int binsearch( int x, int l ) const;int nxt( int & i ) const;public:Trans( int const *p, int nn ) ;int nitems() const;int nxtsub() ;int nxtsub( Trans const &t2 ) ;void prt( bool ) const;friend int operator < ( Trans const &t1, Trans const &t2 );friend int operator ==( Trans const &t1, Trans const &t2 );friend int operator <=( Trans const &t1, Trans const &t2 );friend int cmp( Trans const &t1, Trans const &t2 );};#define TRANS_H#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -