#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;
}

const int N = (int)1e7;

int *v[N];
//int v[N][1];

int main()
{
  forn(i, N)
  {
    v[i] = (int *)my_alloc(sizeof(int));
    v[i][0] = i;
  }
  printf("time = %.2f\n", (double)clock() / CLOCKS_PER_SEC);
  return 0;
}