C++如何加速输入输出效率

1、使用printf,scanf

效率会比普通的cout,cin高

2、解除绑定的输入输出流

模板:

#include
using namespace std;
int main(){
   
    ios::sync_with_stdio(false);
    cin

你可能感兴趣的:(c++,STL,重交题库,c++,开发语言,算法)