240
功不唐捐,玉汝于成😡。

cin cout 优化

#include<bits/stdc++.h>
using namespace std;
int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);
  cout.tie(0);
}

  tie 函数是解除c++运行库层面对数据传输的相关绑定,而ios::sync_with_stdio(false);则是取消与c的标准程序库文件同步.

posted @ 2019-12-16 12:24  BigXun  阅读(224)  评论(0编辑  收藏  举报