在用cin 与 cout 的时候 可以使用

  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);

这样在输入大数据的时候可以加快许多

 

相关文章: