摘要:
a b mod p可以转换为 (a+a+a+a+.......+a) mod p 即为处理 a 2a 4a 8a .......... include using namespace std; int main(){ long long a,b,p; cin a b p; long long ans 阅读全文
摘要:
``` class Solution { public: void print_board(const vector &ch) { int _pos = 0; cout &board, vector &ch, int x, int y, int n) { constexpr static int d 阅读全文
摘要:
```c++ vector splitListToParts(ListNode *root, int k) { vector vec; if (root == nullptr) { for (; k > 0; --k) vec.push_back({}); return vec; } int len =... 阅读全文