#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define all(x) x.begin(), x.end()
#define mem(x, y) memset(x, y, sizeof(x))
#define what_is(x) cerr << "Line " << __LINE__ << ": " << #x << " is " << (x) << endl;
#define suf_zero(x) __builtin_ffs(x)
#define pre_zero(x) __builtin_clz(x)
#define num_one(x) __builtin_popcount(x)
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
#define lson l, mid, rt<<1
#define rson mid+1, r, rt<<1|1
void err(istream_iterator<string> it) {cerr<<endl;}
template<typename T, typename... Args>
void err(istream_iterator<string> it, T a, Args... args) {
cerr << *it << " = " << a << " , ";
err(++it, args...);
} // fast IO
namespace fastIO{
#define BUF_SIZE 100000
// fread -> read
bool IOerror = ;
inline char nc(){
static char buf[BUF_SIZE], *p1 = buf+BUF_SIZE,
*pend = buf+BUF_SIZE;
if(p1==pend){
p1 = buf;
pend = buf+fread(buf, , BUF_SIZE, stdin);
if(pend==p1){
IOerror = ;
return -;
}
}
return *p1++;
}
inline bool blank(char ch){return ch==' '||ch=='\n'||ch=='\r'||ch=='\t';}
inline void read(int &x){
char ch;
while(blank(ch=nc()));
if(IOerror)return ;
for(x=ch-'';(ch=nc())>=''&&ch<='';x=x*+ch-'');
}
#undef BUF_SIZE
}
using namespace fastIO;
//#include<ext/pb_ds/assoc_container.hpp>
//#include<ext/pb_ds/hash_policy.hpp>
//using namespace __gnu_pbds;
//ll sum_of_sq(ll n){n%=mod;return n*(n+1)%mod*(2*n+1)%mod*inv6%mod;}
const double PI = acos(-1.0);
const double eps = 1e-;
const ll mod = 1e9+;
ll qp(ll b, ll n){ll r=;if(n<)n+=mod-;b%=mod;for(;n;n>>=,b=b*b%mod)if(n&)r=r*b%mod;return r;}
//cc_hash_table<ll, ll> S;

去掉了一些自己不太可能用上的。

最新文章

  1. 免费开源分布式系统日志收集框架 Exceptionless
  2. Struts2 源码分析——配置管理之PackageProvider接口
  3. 【Java每日一题】20161222
  4. Sublime Text 3 个人开发习惯
  5. Git Pro - (1) 基础
  6. redis中使用redis-dump导出、导入、还原数据实例
  7. ABAP--关于ABAP流程处理的一些命令的说明(stop,exit,return,check,reject)
  8. wildfly jsf 文件 上传后 可以下载 访问
  9. linux 硬件信息
  10. Unity Layout碰撞检测
  11. 程序员的自我救赎---3.1:理解Oauth2.0
  12. AspNetCore 使用log4net+IExceptionFilter 记录错误日志
  13. Flutter之CustomView
  14. servlet dispatcher .forward(request, response); 进入其它servlet【原】
  15. Linux下的换行符\n\r以及txt和word文档的使用
  16. HTML中input type=&quot;text&quot;和type=&quot;password&quot; 显示的长度不一样
  17. jquery另外一种类似tab切换效果
  18. springMVC非注解常用的&quot;处理器映射器&quot;、&quot;适配器&quot;、&quot;处理器&quot;
  19. ubuntu安装phpVirtualBox web服务
  20. session没保存,登录失败

热门文章

  1. VC++_错误 无法打开包括文件“glglut.h” No such file or directory 怎么办
  2. OCP47:155
  3. Intel Edision —— 从SSH无法连接到systemd
  4. [UnityShader3]溶解与重现效果
  5. 高仿美团iOS版,版本5.7
  6. Linq To Sql进阶系列(六)用object的动态查询与保存log篇
  7. LeetCode 226 Invert Binary Tree(转换二叉树)
  8. intellij IDEA 更新java后不用重启tomcat
  9. Git 和 SVN 之间的五个基本区别
  10. Mac JDK 多版本共存