板子
C++#include <bits/stdc++.h>
using namespace std;
#define upp(x,y,z) for(x=(y);x<=(z);++x)
#define low(x,y,z) for(x=(y);x>=(z);--x)
#define any template<typename T>
#define ll long long
#define ull unsigned long long
#define debug(x) cout<<"Line "<<__LINE__<<","<<(x)<<"."<<endl
any inline void chkmax(T &x,T y){if(x<y){x=y;}}
any inline void chkmin(T &x,T y){if(x>y){x=y;}}
const int eps=0xf;const int inf=0x7fffffff;const ll infll=0x7fffffffffffffff;const ull infull=0xffffffffffffffff;
const int N=1e6+eps;
bool memorybegin;
void code(){
//do something...
}
bool memoryend;
int main(){
#define DEBUG mofan101028
ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); code();
#ifdef DEBUG
cout<<"CPU time used:"<<fixed<<setprecision(3)<<(double)clock()/CLOCKS_PER_SEC<<"s."<<endl;
cout<<"Memory used:"<<fixed<<setprecision(3)<<abs((&memoryend-&memorybegin)*1.0/1024.0/1024.0)<<"MB."<<endl;
#endif
return 0;
}