語法書 / AA 競程語法書 下冊 / 第十二單元 / 萬用標頭檔 bits/stdc++.h

12.1 萬用標頭檔 bits/stdc++.h

先看你現在的程式開頭。這一年下來,#include 越積越多:

#include <iostream>
#include <iomanip>
#include <cmath>
#include <cctype>
#include <cstring>
#include <vector>
#include <string>
#include <utility>
#include <algorithm>

每用一個新工具就要想「它住在哪個標頭檔」,忘了就編譯錯誤。競程選手的省事做法是一行換掉整串:

登入後即可閱讀完整內容

語法書免費開放給所有 AACPOJ 帳號,註冊只要一分鐘。