[ create a new paste ] login | about

Link: http://codepad.org/kaa72kPS    [ raw code | output | fork ]

minitech - C, pasted on Apr 18:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <stdio.h>
#include <time.h>

int main(int argc, char * argv[]) {
     int i;
     clock_t e;
     clock_t s = clock();

     for(i = 0; i < 100000000; i++);

     e = clock();

     printf("We started at %d and ended at %d.", s, e);

     return 0;
}


Output:
1
We started at 0 and ended at 0.


Create a new paste based on this one


Comments: