C++刷題萬能頭文件

最近做題發現了一個C++的萬能頭文件:#include <bits/stdc++.h>

#include <bits/stdc++.h>包含了目前c++所包含的所有頭文件!!!

例如:

#include<bits/stdc++.h>
using namespace std;

int main()
{
    //Here you should write something.

    return 0;
}

HDU已經支持,提交時的語言要選擇G++,而非C++;POJ聽說還未支持;

當然國外的主流oj,臺灣的oj,Codeforces和Topcoder這些去年就已經支持#include <bits/stdc++.h>的OJ如今也依舊支持。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章