摘要: 不满足于代码速度的同学快来看了 快读 读入包含大量无用空格时,快读不太适用 1 inline int read() 2 { 3 register int sm=0,flag=1; 4 register char ch=getchar(); 5 while(ch<'0'||ch>'9'){if(ch= 阅读全文
posted @ 2021-11-17 22:37 yfmd 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 因命名冲突引发的惨案 某学长因 clock 错失机会 某蒟蒻因 map 耗费一天时间解决CE 因此,应引起足够警惕 !!!!!!!!! 下面隆重介绍命名空间 你值得拥有 1 #include<bits/stdc++.h> 2 using namespace std; 3 namespace _xzy 阅读全文
posted @ 2021-11-17 22:28 yfmd 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 0. freopen 1 freopen(".in","r",stdin); 2 freopen(".out","w",stdout); 1. 时间复杂度 2. 空间限制 1M=1024 K=1024 字节 byte short int long float double 1字节 2字节 4字节 8 阅读全文
posted @ 2021-11-17 22:14 yfmd 阅读(30) 评论(0) 推荐(0) 编辑