Can someone explain these codes (sync_with_stdio(false)), Thanks a lot !

It seems to speed up test cases input

int x = []() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  return 0;
}();

or

static int x = []() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  return 0;
}();
Comments (4)