跳到正文

Ethan0824

1077096

这是 2026年11月30日 存档的第 4 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1077096
抓取

奖项

2026 CSP-S
一等奖

版本

  1. v5当前
  2. v4
  3. v3
  4. v2
更早的 1 个版本
  1. v1

谁补总结的时候摸鱼谁是 dogdog

https://chat.deepseek.com/a/chat/s/72ba48d0-021c-4125-b25e-63dc2ce3ef5f

https://www.luogu.com.cn/discuss/124640

https://www.luogu.com.cn/article/sfqcgtel

https://www.luogu.me/article/etnifexf

https://www.luogu.me/article/6zznm1xh

gcd⁡{al,al+1,…,ar}=gcd⁡{al,gcd⁡i=l+1rai−ai−1}\gcd\{a_l, a_{l+1}, \dots , a_r\} = \gcd\{a_l,\gcd_{i=l+1}^r a_i-a_{i-1}\}。

x+y=(x∣y)+(x&y)x + y = (x | y) + (x \& y)

x+y=(x⊕y)+2×(x&y)x + y = (x \oplus y) + 2 \times (x \& y)

头文件:

LaTeX\LaTeX

C++
#include<bits/stdc++.h>
using namespace std;
#define ll long long
const int N=1e6+5;

void solve(){
    
	return ;
}
int main(){
    //freopen(".in","r",stdin);
    //freopen(".out","w",stdout);
	ios::sync_with_stdio(false);
	cin.tie(0); cout.tie(0);
	int T=1; //cin>>T;
	while(T--) solve();
	return 0;
}

快读:

C++
#define gc getchar
inline int rd(){
	int x=0,f=1; char ch=gc();
	while(ch<'0'||ch>'9'){ if(ch=='-') f=-1; ch=gc();}
	while(ch>='0'&&ch<='9'){ x=(x<<3)+(x<<1)+ch-48; ch=gc();}
	return x*f;
}
代码
MMT be like     
  /|、             —————— 
(゚、 。 7          |  ■  ■  |
 |、 ~ヽ           |    |     |
 じしf_, )ノ       |   ——   |
                    ——————
               MMT     

。?