一句话的事,直截了当——#include<bits/stdc++.h>包含C++的所有头文件

参考网站(点击):http://www.tuicool.com/articles/m6neUj

#include<bits/stdc++.h>这个头文件包含以下等等C++中包含的所有头文件: 

#include <iostream>        #include <cstdio>        #include <fstream>        #include <algorithm>        #include <cmath>        #include <deque>        #include <vector>        #include <queue>        #include <string>        #include <cstring>        #include <map>        #include <stack>        #include <set>   

等等……

不过在国内oj中,poj,hdu 不支持这个函数,这几个oj的编译器问题,其他国外的oj,还有台湾的oj都支持,CF,Topcoder也都支持。

相关文章:

  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
相关资源
相似解决方案