#include <cstdio>
#include <vector>
#include <ctime>
using namespace std;
#define forn(i, n) for (int i = 0; i < (int)(n); i++)
struct MyVector : vector<int> {
int & operator[] ( int i ) {
return at(i);
}
};
int main() {
int n = 1e8;
MyVector x;
x.resize(n);
forn(i, n)
x[i] = i;
printf("time = %.2f [%d %d %d]\n", 1. * clock() / CLOCKS_PER_SEC,
x[0], x[n/2], x[n]);
}