cin/coutをスピードアップ
427 ワード
, , , C C++ cin/cout 。
, ( 4,5 ),cin/cout 。
1. #include
2. using namespace std;
2. int main()
3. {
4. ios::sync_with_stdio(false);
5. cin.tie(0);
6. // IO
7. }
詳細な説明では、「cin.tieとsync_with_stdio加速入出力」の文が表示されます.リンクは「http://www.hankcs.com/program/cpp/cin-tie-with-sync_with_stdio-acceleration-input-and-output.html”