#include <ctime>
#include <cassert>
#include <cstdio>
#include <vector>
using namespace std;
#define forn(i, n) for (int i = 0; i < (int)(n); i++)
const int maxMem = (int)1e8;
char mem[maxMem];
int mpos = 0;
inline char *my_alloc( int n )
{
char *res = mem + mpos;
mpos += n;
//assert(mpos <= maxMem);
return res;
}
inline void* operator new( size_t s ) { return (void *)my_alloc(s); }
inline void* operator new[]( size_t s ) { return (void *)my_alloc(s); }
const int N = (int)1e7;
int *v[N];
int main()
{
forn(i, N)
{
v[i] = new int[1];
v[i][0] = i;
}
printf("time = %.2f\n", (double)clock() / CLOCKS_PER_SEC);
return 0;
}