#include <algorithm>
#include <cstring>
#include <cstdio>
#include <ctime>

using namespace std;

int A[1000 * 1000 * 100];
clock_t clk;
int main() {
	clk = clock();
	fill(A, A + 1000 * 1000 * 100, -1);
	printf("CPU Clocks : %d\n", clock() - clk);
	printf ("%d\n", A[1]);
	clk = clock();
	memset(A, -1, sizeof(A));
	printf("CPU Clocks : %d\n", clock() - clk);
	printf ("%d\n", A[1]);
	clk = clock();
	fill(A, A + 1000 * 1000 * 100, -1);
	printf("CPU Clocks : %d\n", clock() - clk);
	printf ("%d\n", A[1]);
	clk = clock();
	memset(A, -1, sizeof(A));
	printf("CPU Clocks : %d\n", clock() - clk);
	printf ("%d\n", A[1]);
	return 0;
}
