Ai
1 Star 0 Fork 0

webturing/cplusplus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
template.cpp 631 Bytes
一键复制 编辑 原始数据 按行查看 历史
webturing 提交于 2019-06-18 09:29 +08:00 . 简洁版本的C++模板
#pragma comment(linker, "/stack:247474112")
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll=long long;
template<typename T=int>
inline void oo(string str, T val) { cerr << str << val << endl; }
template<typename T=int>
inline T read() {
T x;
cin >> x;
return x;
}
#define endl '\n'
#define FOR(i, x, y) for (decay<decltype(y)>::type i = (x), _##i = (y); i < _##i; ++i)
#define FORD(i, x, y) for (decay<decltype(x)>::type i = (x), _##i = (y); i > _##i; --i)
int main() {
std::iostream::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/webturing/cplusplus.git
git@gitee.com:webturing/cplusplus.git
webturing
cplusplus
cplusplus
master

搜索帮助