0678デフォルトの名無しさん (ワッチョイ e358-k37M)垢版2018/05/12(土) 14:06:21.60ID:D96wT16B0 #define SIZE 100000000 long long array[SIZE]; int main(void) { clock_t t0 = clock(); std::sort(array, array + SIZE, std::less<long long>()); clock_t t1 = clock(); printf("%g[sec]\n", (double)(t1 - t0) / CLOCKS_PER_SEC); //8.245[sec] ・・・あれ? 何だこりゃ }