• 很长的模板


    #include<bits/stdc++.h>
    using namespace std;
    namespace my_std
    {
    	typedef long long ll;
    	typedef double db;
    	#define pf printf
    	#define pc putchar
    	#define fr(i,x,y) for(register int i=(x);i<=(y);i++)
    	#define pfr(i,x,y) for(register int i=(x);i>=(y);i--)
    	#define go(x) for(int i=head[u];i;i=e[i].nxt)
    	#define enter pc('
    ')
    	#define space pc(' ')
    	#define fir first
    	#define sec second
    	#define MP make_pair
    	const int inf=0x3f3f3f3f;
    	const ll inff=1e15;
    	inline int read()
    	{
    		int sum=0,f=1;
    		char ch=0;
    		while(!isdigit(ch))
    		{
    			if(ch=='-') f=-1;
    			ch=getchar();
    		}
    		while(isdigit(ch))
    		{
    			sum=(sum<<1)+(sum<<3)+(ch^48);
    			ch=getchar();
    		}
    		return sum*f;
    	}
    	inline void write(int x)
    	{
    		if(x<0)
    		{
    			x=-x;
    			pc('-');
    		}
    		if(x>9) write(x/10);
    		pc(x%10+'0');
    	}
    	inline void writeln(int x)
    	{
    		write(x);
    		enter;
    	}
    	inline void writesp(int x)
    	{
    		write(x);
    		space;
    	}
    }
    using namespace my_std;
    namespace ka_chang
    {
    	#pragma GCC optimize(2)
    	#pragma GCC optimize(3)
    	#pragma GCC optimize("Ofast")
    	#pragma GCC optimize("inline")
    	#pragma GCC optimize("-fgcse")
    	#pragma GCC optimize("-fgcse-lm")
    	#pragma GCC optimize("-fipa-sra")
    	#pragma GCC optimize("-ftree-pre")
    	#pragma GCC optimize("-ftree-vrp")
    	#pragma GCC optimize("-fpeephole2")
    	#pragma GCC optimize("-ffast-math")
    	#pragma GCC optimize("-fsched-spec")
    	#pragma GCC optimize("unroll-loops")
    	#pragma GCC optimize("-falign-jumps")
    	#pragma GCC optimize("-falign-loops")
    	#pragma GCC optimize("-falign-labels")
    	#pragma GCC optimize("-fdevirtualize")
    	#pragma GCC optimize("-fcaller-saves")
    	#pragma GCC optimize("-fcrossjumping")
    	#pragma GCC optimize("-fthread-jumps")
    	#pragma GCC optimize("-funroll-loops")
    	#pragma GCC optimize("-fwhole-program")
    	#pragma GCC optimize("-freorder-blocks")
    	#pragma GCC optimize("-fschedule-insns")
    	#pragma GCC optimize("inline-functions")
    	#pragma GCC optimize("-ftree-tail-merge")
    	#pragma GCC optimize("-fschedule-insns2")
    	#pragma GCC optimize("-fstrict-aliasing")
    	#pragma GCC optimize("-fstrict-overflow")
    	#pragma GCC optimize("-falign-functions")
    	#pragma GCC optimize("-fcse-skip-blocks")
    	#pragma GCC optimize("-fcse-follow-jumps")
    	#pragma GCC optimize("-fsched-interblock")
    	#pragma GCC optimize("-fpartial-inlining")
    	#pragma GCC optimize("no-stack-protector")
    	#pragma GCC optimize("-freorder-functions")
    	#pragma GCC optimize("-findirect-inlining")
    	#pragma GCC optimize("-frerun-cse-after-loop")
    	#pragma GCC optimize("inline-small-functions")
    	#pragma GCC optimize("-finline-small-functions")
    	#pragma GCC optimize("-ftree-switch-conversion")
    	#pragma GCC optimize("-foptimize-sibling-calls")
    	#pragma GCC optimize("-fexpensive-optimizations")
    	#pragma GCC optimize("-funsafe-loop-optimizations")
    	#pragma GCC optimize("inline-functions-called-once")
    	#pragma GCC optimize("-fdelete-null-pointer-checks")
    }
    using namespace ka_chang;
    

    (P.S.) 仅供娱乐

  • 相关阅读:
    正则表达式口诀
    Ajax请求的四种方式
    jQuery插件 -- jQuery UI插件
    电脑操作技巧
    递归
    声纹识别环境初次搭建
    视频编码book_实战_全角度——1
    SDK等阅读笔记
    音视频bug调试
    音视频开发进阶指南(二)
  • 原文地址:https://www.cnblogs.com/lgj-lgj/p/12641910.html
Copyright © 2020-2023  润新知