Advertisement
piffy

Tempo di esecuzione

Nov 4th, 2016
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <time.h>
  3. clock_t start = clock();
  4. /* Codice da calcolare */
  5. printf("Tempo trascorso in secondi: %f\n", ((double)clock() - start) / CLOCKS_PER_SEC);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement