跳到正文

剪贴板

剪贴板 fg7wzaxe

原文
剪贴板信息

剪贴板信息

收录
更新

缺省源

C++
//Author:KIT / Shunpower
//Cloud Island & Rain Temperature
//May the force be with you and me.
#include <bits/stdc++.h>
#define ET return 0
#define fi first
#define se second
#define mp make_pair
#define pb emplace_back
#define ll long long
#define ull unsigned long long
#define inf INT_MAX
#define uinf INT_MIN
#define pii pair<int,int>
#define pll pair<ll,ll>
#define fr1(i,a,b) for(int i=a;i<=b;i++)
#define fr2(i,a,b) for(int i=a;i>=b;i--)
#define ld long double
#define il inline
using namespace std;
const int N=1e5+10;
namespace Shun{
	int lowbit(int x){
		return x&-x;
	}
	template <typename T>
	inline void read(T &x){
	   T s=0,w=1;
	   char ch=getchar();
	   while(ch<'0'||ch>'9'){
	   		if(ch=='-'){
				w=-1;
	   		}
	        ch=getchar();
		}
	   while(ch>='0'&&ch<='9'){
	   		s=s*10+ch-'0';
			ch=getchar();
	   }
	   x=s*w;
	}
	template <typename T>
	inline void write(T x){
	    if(x<0){
	        putchar('-');
	        x=-x;
	    }
	    if(x>9){
	    	write(x/10);
		}
	    putchar(x%10+'0');
	}
}
using namespace Shun;
int main(){
#ifdef Ltp
	freopen("hack.txt","r",stdin);
	freopen("out.txt","w",stdout);
#endif

	ET;
}
//ALL FOR Zhang Junhao.

编译指令

Compile
-O2 -Wl,-stack=20070720 -std=c++14 -lm -Wall