CSP-S 代码基本框架

  眼看离复赛越来越近了,最近代码打得越来越熟练了,这些是我平时做题必打的代码,在此总结一下

     

#include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<vector>
#include<stack>
#include<queue>
#define R register
#define next kkksc03
using namespace std;
typedef long long ll;
typedef long double ld;
typedef unsigned long long ull;
inline ll read();
int main(){
    
}
inline ll read(){
    ll x,t=1;char ch=getchar();
    while(ch<0||ch>9){
        if(ch==-) t=-1;
        ch=getchar();
    }
    while(ch>=0&&ch<=9){
        x=(x<<1)+(x<<3)+(ch^48);
        ch=getchar();
    }
    return x*t;
}

 

   祝2019 CSP-S ++RP,RP++!

相关文章
相关标签/搜索