C++常用快读
1、快读相关代码
inline int read() {
    int x=0,f=0;
    char ch=getchar();
    while(!isdigit(ch))f|=(ch=='-'),ch=getchar();
    while(isdigit(ch))x=(x<<1)+(x<<3)+(ch^48),ch=getchar();
    return f?-x:x;
}
2、用cin,cout时
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
                    
                
                
            
        
浙公网安备 33010602011771号