Skip to content

Instantly share code, notes, and snippets.

@nikhilmetrani
Created April 11, 2019 02:43
Show Gist options
  • Select an option

  • Save nikhilmetrani/3faacd3894f04cd36f83ebc308936afd to your computer and use it in GitHub Desktop.

Select an option

Save nikhilmetrani/3faacd3894f04cd36f83ebc308936afd to your computer and use it in GitHub Desktop.
CPP Fast I/O for competitive programming
#include <bits/stdc++.h>
static auto fast_io = []() -> int {
// Turn off synchronization between cout and cin.
std::ios_base::sync_with_stdio(false);
std::cin.tie(nullptr);
return 0;
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment