发现新大陆
刷题过程中,题解中出现一个陌生的头文件bits/stdc++.h
万能头文件 只要用了这个头文件 其他的就不用写了。
相对平常的:
#include "algorithm"
#include "cstdlib"
#include "cstring"
#include "cmath"
#include "iostream"
#include "vector"
#include "cstdio"
#include "fstream"
#include "deque"
#include "vector"
#include "queue"
#include "string"
#include "map"
#include "stack"
#include "set"
using namespace std;
int main(){
// 巴拉巴拉
return 0;
}
而你以后只需要
#include "bits/stdc++.h"
using namespace std;
int main(){
return 0;
}
就?了。