#include <stdio.h>
#include <time.h>
int main(void) {
    struct timespec a, b;
    clock_gettime(CLOCK_MONOTONIC, &a);
    volatile unsigned long x = 0;
    for (unsigned long i = 0; i < 8000000UL; i++) x += i * 3 + (x >> 3);
    clock_gettime(CLOCK_MONOTONIC, &b);
    printf("%.2f\n", (b.tv_sec - a.tv_sec) * 1000.0 + (b.tv_nsec - a.tv_nsec) / 1e6);
    return (int)(x & 1);
}
