接下来的 2026.08.03-2026.08.19,我将记录暑假集训的日常生活。
07.31
距离集训还有 天。
放点模板:
代码框架
#include"bits/stdc++.h"
#define AC ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define m(a) memset((a),0,sizeof(a))
using namespace std;
using ll=long long;
/*
思路:\
*/
const int MAXN=1e5+5;
int a[MAXN];
int n;
int main(){
return 0;
}快读
ll read(){
ll x=0,flag=1;
char ch=getchar();
while(ch<'0'||ch>'9'){
if(ch=='-')flag=-1;
ch=getchar();
}
while(ch>='0'&&ch<='9'){
x=x*10+ch-'0';
ch=getchar();
}
return x*flag;
}快速幂
ll ksm(ll a,ll b,ll p){
ll sum=1;
while(b!=0){
if(b&1!=0)sum=sum*a%p;
a=(a*a)%p;
b=b>>1;
}
return sum;
}想不到有啥记不清的板子了?明天再整理算了。