编译选项: -std=c++14 -O2 -Wl,--stack=104857600 -Wall -Wextra -Wshadow
-Wl 开大栈空间
-Wall 显示所有警告
-Wextra 比较始终为true或始终为false,则发出警告,但不警告常量表达式。例:if (a = b) ....;
-Wshadow 当全局变量和局部变量重名时发出警告
注: , 后无空格,-Wl 中是小写的L

\(\text{code}\)

#include <bits/stdc++.h>
#define P pair<int, int>
#define fi first
#define se second
#define pb push_back
#define all(v) v.begin(), v.end() 

using namespace std;
template <typename T> inline void rd(T &x) {
    x = 0; T f = 1; char ch = getchar();
    while (ch < '0' || ch > '9') {if (ch == '-') f = -1; ch = getchar();}
    while (ch >= '0' && ch <= '9') {x = (x << 1) + (x << 3) + (ch ^ 48); ch = getchar();}
    x *= f;
}
template <typename T> inline void write(T x) {
    if (x < 0) {putchar('-'); x = -x;}
    if (x >= 10) write(x / 10);
    putchar(x % 10 + 48);
}
template <typename T> inline T ckmax(T x, T y) {return x > y ? x : y;}
template <typename T> inline T ckmin(T x, T y) {return x < y ? x : y;}
template <typename T> inline T abv(T x) {return x < 0 ? -x : x;}
typedef long long ll;
bool be;
const int N = 1e5 + 10;
const int INF = 0x3f3f3f3f;
const int Mod = 1e9 + 7;

bool ed;
int main() {
    // cerr << (&ed - &be) / 1024.0 / 1024.0 << endl;
    // freopen("sample.in", "r", stdin);
    // freopen("sameple.out", "w", stdout);
    
    return 0;
}

原文地址:http://www.cnblogs.com/Ryan-juruo/p/16837109.html

1. 本站所有资源来源于用户上传和网络,如有侵权请邮件联系站长! 2. 分享目的仅供大家学习和交流,请务用于商业用途! 3. 如果你也有好源码或者教程,可以到用户中心发布,分享有积分奖励和额外收入! 4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解! 5. 如有链接无法下载、失效或广告,请联系管理员处理! 6. 本站资源售价只是赞助,收取费用仅维持本站的日常运营所需! 7. 如遇到加密压缩包,默认解压密码为"gltf",如遇到无法解压的请联系管理员! 8. 因为资源和程序源码均为可复制品,所以不支持任何理由的退款兑现,请斟酌后支付下载 声明:如果标题没有注明"已测试"或者"测试可用"等字样的资源源码均未经过站长测试.特别注意没有标注的源码不保证任何可用性