/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define N 10000000

int f(int n, int p);

int main(int argc,char *argv[])
{
   clock_t t1,t2;
   int i;
   int iv,iv2;
   double xv,xv2;
   t1 = clock();
   for(i = 0; i < N; i++)
   {
      if(f(73, 10) != 8) printf("Ooops\n");
   }
   t2 = clock();
   printf("time : %d\n", t2-t1);
   return EXIT_SUCCESS;
}
