>>291
>printf( "%d\n", end_time - time(NULL));
printf("%d\n", (int) difftime(end_time, time(NULL)));
これでtime_tがlong longだろうがdoubleだろうが、秒単位でさえなくても大丈夫。