listing05.c

来自「稀疏矩阵、链表、图、队列、二叉树、多叉树、排序、遗传算法等的实现」· C语言 代码 · 共 19 行

C
19
字号
#include <stdio.h>
#include <time.h>

int main(void)
{
    clock_t start, end;

    start = clock();

    /* The code you want timed goes here */

    end = clock();

    printf("Interval = %.2f seconds\n", (double)(end-start) /
                                           (double)CLOCKS_PER_SEC);
    return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?