跳到正文

LittleY

1043917

She's coming but I'd gone

在洛谷打开
资料、奖项与版本

资料

编号
1043917
抓取

奖项

2024 CSP-S
一等奖
2024 NOIP
二等奖

sometimes,something can’t be well

ac DAG画图等 SAM super计算器

首绿:分组 首蓝:蚯蚓

首紫:压缩 首黑:翻转序列

C++
#include<bits/stdc++.h>
using namespace std;
#define forl(i,a,b) for(int i=(a);i<=(b);i++)
#define forr(i,a,b) for(int i=(a);i>=(b);i--)
#define pel printf("\n")
#define pc putchar
const int N=2e5+1000,INF=2008052607;
inline void read(){}template<class T1,class ...T2>
inline void read(T1 &x,T2&...rest){x=0;int f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if (ch=='-') f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x=x*10+ch-48;ch=getchar();}x*=f;read(rest...);}
void pf(){}template <typename T, typename ...T2>
void pf( T s, T2 ...rest) {
char ch=' ';if (!s){pc('0');pc(ch);pf(rest...);return;}
int stk[100],top=0;if(s < 0)pc('-'),s=~s+1;
while(s)stk[++top]=s%10,s/=10;
do pc(stk[top--]+(1<<4)+(1<<5));while(top);
pc(ch);pf(rest...);}
int n,m;

还没有收录这位用户的文章。