原主页
This is a lazy man , there has nothing he written . ‮This is a lazy man , there has nothing he written .
3个月不到 gz233(喜)
最劣解s:
1
23456
#include<stdio.h>
namespace lrqcs{
/*
<math.h> <stdlib.h> <time.h> <algorithm> <bitset>
<string.h> <unordered_map> <queue> <set>
<iostream> <cstring>
-std=c++14
-Dwin
srand(time(0));
freopen("5.in","r",stdin);
freopen("out.txt","w",stdout);
__builtin_parity(n);__builtin_popcount(n);
*/
#ifdef win
#else
#define getchar getchar_unlocked
#endif
#define iv inline void
#define ic inline ci
//#define int unsigned
//#define int long long
//#define int __int128
/* 998244353ll 1000000007ll */
#define mod 998244353ll
#define inf 0x3f3f3f3f
#ifdef int
#define ref 0xDEADC0DEDEADC0DEll
#else
#define ref 0xDEADC0DE
#endif
//#define inf 0x3f3f3f3f3f3f3f3fll
typedef const int ci;typedef unsigned ul;
typedef unsigned long long ull;
ic re();const char getch();void pr(ci x);void prs(ci x);
void prn(ci x);
iv swp(int&a,int&b){a^=b^=a^=b;}ic Abs(ci a){return a>0?a:-a;}
iv bfsl/*big front small last*/(int&a,int&b)
{a>b?void():swp(a,b);}ic Max(ci A,ci B){return A>B?A:B;}
iv gma(int&A,ci B){A=Max(A,B);}ic Min(ci A,ci B)
{return A<B?A:B;}iv gmi(int&A,ci B){A=Min(A,B);}
ic gcd(ci a,ci b){return b?gcd(b,a%b):a;}ic fpow
(int a,int b=mod-2,ci md=mod)
{int c=1;while(b){if(b&1)c=c*a%md;a=a*a%md,b>>=1;}return c;}
void pri(ci x){if(x>9)pri(x/10);putchar(x%10^48);}
iv pr(ci x){if(x<0)putchar('-'),pri(-x);else pri(x);}
iv prs(ci x){pr(x);putchar(32);}iv prn(ci x){pr(x);putchar(10);}
const char getch(){
char c=getchar();while(!((c>47&&c<58)||(c>96&&c<123)
||(c>64&&c<91)))c=getchar();return c;}
ic re(){
int x=0;char c=getchar(),f=0;while((c<48||c>57)&&~c)
f|=(c=='-'),c=getchar();if(c==-1)return ref;
while(c>47&&c<58)x=x*10+(c^48),c=getchar();return f?-x:x;}
}using namespace lrqcs;
iv work();signed main(){
for(int T=1||re();T--;)work();
}
iv work(){
;
}/*
*/
2025.7.15 200蓝
好题单
他人犇犇 自己犇犇