关于我的OI代码缺省源
113 字
1 分钟
关于我的OI代码缺省源

#include<iostream>#include<string>#include<string.h>#include<vector>#include<queue>#include<map>#include<stack>#include<set>#include<functional>#include<utility>#include<algorithm>#include<cmath>#include<climits>#include<tuple>#include<numeric>#include<any>#include<bitset>#define int long longusing namespace std;const int N=1e5+10;signed main(){ cin.tie(nullptr)->ios::sync_with_stdio(false); return 0;}每行的作用介绍:
火车头:
包含了一些常用STL,如等
#define int long long:
虽然是坏习惯但是我真的懒得打那么多long long了,被卡int了还得手动改半天
cin.tie(nullptr)->ios::sync_with_stdio(false);:
作用等同于
ios::sync_with_stdio(false);std::cin.tie(nullptr);防止被卡常(因为我不会写快读和快写)
支持与分享
如果这篇文章对你有帮助,欢迎分享给更多人或打赏支持!
相关文章智能推荐
1
一些冷门但好用的STL容器
OISTL真的很好用
2
从0写软件-Win32应用代码模板
C++有点像大份
3
快速幂算法实现
算法利用C++实现快速幂算法,以https://www.luogu.com.cn/problem/P1226为参考
4
KMP算法实现
算法利用C++实现KMP算法,以https://www.luogu.com.cn/problem/P3375为参考
5
下载/编译/使用 NeonVision
NeonVision保姆级教你下载和编译及使用NeonVision
随机文章随机推荐











