2009-01-09から1日間の記事一覧
どっちのほうが早いんだっけと思い, #include<time.h> #include<stdio.h> int main(void) { int i; int n = 0; clock_t start_time; clock_t end_time; printf("CLOCKS_PER_SEC = %f\n", (double)CLOCKS_PER_SEC); start_time = clock(); for (i = 0; i < 100000000; i++) { </stdio.h></time.h>…