最近做題發現了一個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如今也依舊支持。