RocksonLee's Blog

arrow_backNote共14篇文章

avatar
RocksonLee
2021-09-27 21:47:39

这个东西有待考证和优化

代码如下

```cpp

include

include

include

include

using namespace std; //从这里到100行都是int128的运算代

avatar
RocksonLee
2021-09-27 21:37:57

快速幂

```cpp long long pow_quick(long long a, long long n){ long long res = 1; while(n){ if(n & 1){ res *= a; //判断最后一

avatar
RocksonLee
2021-09-27 21:30:47

代码

```cpp int read() { int x = 0, w = 1; char ch = 0; while (ch < '0' || ch > '9') { // ch 不是数字时 if (ch == '-')

avatar
RocksonLee
2021-09-15 16:21:37

对拍程序

首先需要将造数据的data.exe加上

freopen("data.in","r",stdout);

主程序

```cpp

include <bits/stdc++.h>

using namespace std; int ma

2/2
Search
search