Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <time.h>
- int main() {
- time_t ara = time(NULL); // Get the system time
- time_t dps;
- int te = 0;
- for(int i = 0; i < 10000; i++){
- printf("%d\n", i);
- }
- dps = time(NULL);
- te = (int) ((long long)dps) - ((long long)ara);
- printf("%lld segons\n", te);
- printf("%lld segons\n", te);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement