跳到正文

算法·理论

CF Div1 AK选手同款缺省源

Swordmaker约 4 分钟
原文

这是 2025年11月28日 存档的第 1 版,不是当前版本。查看当前版本

文章信息与版本

文章信息

收录
2025年12月12日
更新
2026年1月14日
篇幅
约 4 分钟

版本

  1. v2当前
  2. v1
C++
#include<bits/stdc++.h>
#define int long long
#define ll long long
#define ull unsigned long long
#define i128 __int128
#ifdef __linux__
//#define getchar getchar_unlocked
#define putchar putchar_unlocked
#endif
#define CK_TM cerr<<'\n'<<1.0*fabs(&ENDM-&STARTM)/(1024*1024)<<"MB"<<" "<<1.0*clock()/CLOCKS_PER_SEC*1000<<"ms"<<'\n';
char buf[1<<25],*p1,*p2;
#define getchar() ((p1==p2)&&(p2=(p1=buf)+fread(buf,1,1<<25,stdin))?EOF:*p1++)
#define vector basic_string
#define pq priority_queue 
#define mkpr make_pair
#define pii pair<int,int>
#define pb push_back
#define umap unordered_map
#define uset unordered_set
#define vi vector<int>
#define sz(h) (int)h.size()
#define popc(x) __builtin_popcount(x)
bool STARTM;
constexpr double eps=1e-10;
constexpr int i_inf=1e9;
constexpr ll ll_inf=1e18;
namespace AyanamiRei{
	inline int read(){
		int x=0,f=1;char c=getchar();
		while(c<'0'||c>'9') {if(c=='-') f^=1;c=getchar();}
		while(c>='0'&&c<='9') {x=(x<<3)+(x<<1)+(c^48);c=getchar();}
		return f?x:~x+1;
	}
}namespace SoryuAsukaRangure{
	inline void write(int x){
		if(x<0) x=~x+1,putchar('-');
		if(x>9) write(x/10);
		return putchar(x%10^48),void();
	}
}namespace AyanamiYue{
	inline void spaceput(int x){
		SoryuAsukaRangure::write(x);putchar(' ');
	}
}namespace IkariYue{
	inline void output(int x){
		SoryuAsukaRangure::write(x);putchar('\n');
	}
}namespace IkariShinji{
	inline int max(int x,int y){
		return x>y?x:y;
	}
}namespace NagisaKaworu{
	inline int min(int x,int y){
		return x<y?x:y;
	}
}namespace MariMakinamiIllustious{
	inline double MAX(double x,double y){
		return x-y>eps?x:y;
	}
}namespace ShikinamiAsukaRangure{
	inline double MIN(double x,double y){
		return y-x>eps?x:y;
	}
}
using namespace std;
using namespace AyanamiRei;
using namespace SoryuAsukaRangure;
using namespace AyanamiYue;
using namespace IkariYue;
using namespace IkariShinji;
using namespace NagisaKaworu;
using namespace MariMakinamiIllustious;
using namespace ShikinamiAsukaRangure;
constexpr int the_birthday_of_Asuka=20011204;
constexpr int the_birthday_of_Ayanami=20010330;
mt19937 Asuka(the_birthday_of_Asuka+time(0));
mt19937 Ayanami(the_birthday_of_Ayanami+time(0));
bool ENDM;
signed main(){
	CK_TM;
	return 0;
}