#include <queue>
#include <cstdio>
#include <ctime>

using namespace std;

const int N = (int)1e8;
int st, en, q[N];
double start;

void clear()
{
  st = en = 0;
}

void timeStamp()
{
  printf("time = %.2f\n", (clock() - start) / CLOCKS_PER_SEC);
  start = clock();
}

int main()
{
  for (int i = 0; i < N; i++)
  {
    q[en++] = i;
    st++;
  }
  timeStamp();

  clear();
  for (int i = 0; i < N; i++)
    q[en++] = i;
  for (int i = 0; i < N; i++)
    st++;
  timeStamp();

  clear();
  for (int i = 0; i < N; i++)
    q[en++] = i;
  timeStamp();

  return 0;
}