跳到正文

bitset_hard

1831493

『不负韶华』|| 初一蒟蒻 || 原heffo_hard

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

资料、奖项与版本


AtCoder Rating of @heffo_hard
Codeforces Rating of @heffo_hard
本人的萌新QAQ是刚学OI但是是这样即使我也声音大声喊出要用蒟蒻的NOIIOIandAKme\small\texttt{\color{#FA4129}本}\huge\texttt{\color{#FE9019}人}_{\small\texttt{\color{#FFE304}的}^{\large\texttt{\color{#FFEC01}萌\color{#FFF900}新}\small\texttt{\color{#FCFB03}Q\color{#F8FB07}A\color{#F1FB0B}Q}}}^{\large\texttt{\color{#FFB511}是}{\small\texttt{\color{#FFDC07}刚\color{#FFEF00}学}\large\texttt{\color{#FFF600}O\color{#FFFA00}I}}}\huge\texttt{\color{#E6F911}但\color{#92E82F}是}^{\large\texttt{\color{#39D54B}即}{\small\texttt{\color{#03C767}使}}}_{\normalsize\text{\color{#07C964}是\color{#00C789}这\color{#00C7A5}样}}\texttt{\color{#00CBC6}我\color{#00D0EB}也}^{\small\texttt{\color{#00D0F2}要}\normalsize\texttt{\color{#00D0F6}用}\texttt{\color{#03BEF4}蒟}_{\texttt{\color{#04AAEF}蒻}\large\texttt{\color{#078DE4}的}}}_{\scriptsize\texttt{\color{#01CDF6}声\color{#03C2F5}音\color{#04B4F2}大\color{#04A7EE}声\color{#0791E6}喊\color{#0A7BDD}出}}\mathcal{\color{#125BCD}^{IOI_{and}}_{NOI}\color{#3D2AB5}AK\color{#A011AD}me}
我要拿蓝勾!

学习相关
文章相关
实用
其他

模板1:

C++
#include <bits/stdc++.h>
#define ll long long
#define pii pair<int, int>
#define piii pair<pii, int>
#define pll pair<ll, ll>
#define plll pair<pll, ll>
#define pref static inline
#define fi first
#define se second
using namespace std;
namespace heffo_hard{
    pref void solve(){
        
    }
};

signed main(){
    ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    heffo_hard::solve();
    return 0;
}
/*
heffo_hard
*/

模板2:

C++
// Author: heffo_hard
#include <bits/stdc++.h>
#define up(a,b,c) for(int (a)=(b);(a)<=(c);(a)=-~(a))
#define dn(a,b,c) for(int (a)=(b);(a)>=(c);(a)=~-(a))
#define fst first
#define sed second
#define pref static inline
#define gc() p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<20,stdin),p1==p2)?EOF:*p1++
using namespace std;using hint=__int128;using pii=pair<int,int>;using us=unsigned short;using ldb=long double;using ll=long long;using ull=unsigned long long;using ui=unsigned int;using pll=pair<ll,ll>;using pil=pair<int,ll>;using vpil=vector<pil>;using vl=vector<ll>;using pli=pair<ll,int>;using vpli=vector<pli>;using vi=vector<int>;using vpi=vector<pii>;using vpl=vector<pll>;using db=double;
namespace mystl{
char buf[1<<20],*p1=buf,*p2=buf,sr[1<<23],z[23],nc;int C=-1,Z=0;
template<typename T>pref void read(T&x){bool flag=false;while(nc=gc(),(nc<48||nc>57)&&nc!=-1)flag|=(nc==45);x=nc-48;while(nc=gc(),47<nc&&nc<58)x=(x<<3)+(x<<1)+(nc^48);if(flag)x=-x;}
pref void read(char*s){char ch=gc();while(ch<=32)ch=gc();int i=0;while(ch>32){s[i++]=ch;ch=gc();}s[i]='\0';}
pref void read(string&s){s.clear();char ch=gc();while(ch<=32)ch=gc();while(ch>32){s+=ch;ch=gc();}}
pref void read(char&ch){ch=gc();while(ch<=32)ch=gc();}
template<typename T,typename...Args_Arrays_Typename_heffo_hard>void read(T&x,Args_Arrays_Typename_heffo_hard&...a){read(x);read(a...);}
pref void ot(){fwrite(sr,1,C+1,stdout);C=-1;}
pref void flush(){if(C>1<<22)ot();}
template<typename T>pref void write(T x){
    if constexpr(is_same<T,char>::value){sr[++C]=x;}
    else if constexpr(is_same<T,const char*>::value||is_same<T,char*>::value){for(int i=0;x[i];++i)sr[++C]=x[i];}
    else if constexpr(is_same<T,string>::value){for(char c:x)sr[++C]=c;}
    else{int y=0;if(x<0)y=1,x=-x;Z=0;do{z[++Z]=x%10+48;x/=10;}while(x);if(y)z[++Z]='-';while(Z)sr[++C]=z[Z--];}
    flush();
}
template<typename T>pref void write(T x,char t){write(x);sr[++C]=t;flush();}
pref void write(const char*s){for(int i=0;s[i];++i)sr[++C]=s[i];flush();}
pref void write(string s){for(char c:s)sr[++C]=c;flush();}
pref ll qpow(ll a,ll b,ll p){if(a==0)return 0;ll c=1ll;while(b){if(b&1)c=a*c%p;a=a*a%p;b>>=1;}return c;}
pref ll lcm(ll x,ll y){return x/std::__gcd(x,y)*y;}
}
using namespace mystl;
namespace my{
constexpr int P=static_cast<int>(998244353);
pref void madd(int&x,int y){x=(x+y>=P)?(x+y-P):(x+y);}
pref int fmadd(int x,int y){return (x+y>=P)?(x+y-P):(x+y);}
pref void msub(int&x,int y){x=(x<y)?(x-y+P):(x-y);}
pref int fmsub(int x,int y){return (x<y)?(x-y+P):(x-y);}
pref void mmul(int&x,int y){x=(int)(1ll*x*y%P);}
pref int fmmul(int x,int y){return (int)(1ll*x*y%P);}
template<typename T>pref T min(T x,T y){return (x<y)?(x):(y);}
template<typename T>pref T max(T x,T y){return (x>y)?(x):(y);}
template<typename T>pref T abs(T x){return (x<0)?(-x):(x);}
constexpr int N=static_cast<int>(0),inf=static_cast<int>(0x3f3f3f3f3f);
pref void solve(){
    
}
}
int main(){
    //  freopen("","r",stdin);
    //  freopen("","w",stdout);
    ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
    my::solve();ot();return 0;
}
/*

*/