Cod sursa(job #745092)
Utilizator | Data | 10 mai 2012 15:24:22 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
/* clock example: countdown */
#include <stdio.h>
#include <time.h>
int main ()
{
freopen("adunare.out","w",stdout);
//printf("0\n");
clock_t a;
int x=0;
a=clock();
while(clock()-a<50000){
x++;
}
printf("%d\n",CLOCKS_PER_SEC);
return 0;
}