#include <cassert>
/** Begin fast allocation */
const int MAX_MEM = 1e8;
int mpos = 0;
char mem[MAX_MEM];
void * operator new (size_t n) {
assert((mpos += n) <= MAX_MEM);
return (void *)(mem + mpos - n);
}
void operator delete (void *) { } // must have!
void operator delete (void *, size_t) { } // must have!
/** End fast allocation */
//inline void * operator new [] ( size_t ) { assert(0); }
//inline void operator delete [] ( void * ) { assert(0); }