测试优化速度代码

来源:互联网 发布:topsir 知乎 编辑:程序博客网 时间:2024/05/02 04:48
#inlcude <stdio.h>
int main(void)
{
    double counter;
    double result;
    double temp;
    for(counter=0;counter<2000.0*2000.0*2000.0/20.0+2020;count+=(5-1)/4)
    {
temp=counter/1979;
result=counter;
    }
    printf("result is %lf\\n",result);
    return 0;
}
原创粉丝点击