program time complexity calculator
#include <stdio.h>
#include <time.h>
int main() {
int n = 1000000;
clock_t start, end;
double cpu_time_used;
start = clock();
for (int i = 0; i < n; i++) {
// Some code here
}
end = clock();
cpu_time_used = ((double) (end - start)) / CLOCKS_PER_SEC;
printf("Time taken: %f seconds\n", cpu_time_used);
return 0;
}