comp-library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub luzhiled1333/comp-library

:heavy_check_mark: Fast I/O
(src/cpp-template/header/fast-ios.hpp)

set_fast_ios

void set_fast_ios()

C++ の標準入出力ストリームが C の入出力と同期しないようにして高速にする。

この関数を呼び出したあと、これらが混ざるようなコードを書くと入力がおかしくなるので注意。

Required by

Verified with

Code

#pragma once

#include <iostream>

namespace luz {

  void set_fast_ios() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
  }

} // namespace luz
#line 2 "src/cpp-template/header/fast-ios.hpp"

#include <iostream>

namespace luz {

  void set_fast_ios() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);
  }

} // namespace luz
Back to top page