考试模板:
易懂、方便!
#include<iostream> #include<cstdio> #include<cstdlib> #include<algorithm> #include<cstring> #include<ctime> #include<cmath> #include<queue> #include<stack> #include<vector> using namespace std; inline int read() { bool f=0;int x=0;char ch=getchar(); while(ch>'9'||ch<'0'){if(ch=='-')f^=1;ch=getchar();} while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-'0';ch=getchar();} return f?-x:x; } inline void write(int x) { if(x<0)x=-x,putchar('-'); if(x>9)write(x/10); putchar(x+48); } int main() { //freopen(".in","r",stdin); //freopen(".out","w",stdout); //write your own code!!! return 0; }