#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;
}
I2luY2x1ZGUgPGFsZ29yaXRobT4KI2luY2x1ZGUgPGNzdHJpbmc+CiNpbmNsdWRlIDxjc3RkaW8+CiNpbmNsdWRlIDxjdGltZT4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgQVsxMDAwICogMTAwMCAqIDEwMF07CmNsb2NrX3QgY2xrOwppbnQgbWFpbigpIHsKCWNsayA9IGNsb2NrKCk7CglmaWxsKEEsIEEgKyAxMDAwICogMTAwMCAqIDEwMCwgLTEpOwoJcHJpbnRmKCJDUFUgQ2xvY2tzIDogJWRcbiIsIGNsb2NrKCkgLSBjbGspOwoJcHJpbnRmICgiJWRcbiIsIEFbMV0pOwoJY2xrID0gY2xvY2soKTsKCW1lbXNldChBLCAtMSwgc2l6ZW9mKEEpKTsKCXByaW50ZigiQ1BVIENsb2NrcyA6ICVkXG4iLCBjbG9jaygpIC0gY2xrKTsKCXByaW50ZiAoIiVkXG4iLCBBWzFdKTsKCWNsayA9IGNsb2NrKCk7CglmaWxsKEEsIEEgKyAxMDAwICogMTAwMCAqIDEwMCwgLTEpOwoJcHJpbnRmKCJDUFUgQ2xvY2tzIDogJWRcbiIsIGNsb2NrKCkgLSBjbGspOwoJcHJpbnRmICgiJWRcbiIsIEFbMV0pOwoJY2xrID0gY2xvY2soKTsKCW1lbXNldChBLCAtMSwgc2l6ZW9mKEEpKTsKCXByaW50ZigiQ1BVIENsb2NrcyA6ICVkXG4iLCBjbG9jaygpIC0gY2xrKTsKCXByaW50ZiAoIiVkXG4iLCBBWzFdKTsKCXJldHVybiAwOwp9Cg==