关于关同步流
查看原帖
关于关同步流
693585
QWVnbGVzZWVrZXI3D楼主2023/10/4 15:57

为什么关掉cin和cout的同步就能是他们比scanf和printf跟快

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

并且ios::sync_with_stdio(0);是什么意思?

2023/10/4 15:57
加载中...