2015年10月29日

C程序运行计时

摘要: 在标准的C/C++中最小的时间单位是毫秒ms,下面代码中clock_t是long; 每经过1ms clock()的值就增加1;常量CLOCKS_PER_SEC,它用来表示一秒钟会有多少个时钟计时单元 1 #include 2 #include 3 using namespace std; 4 5... 阅读全文

posted @ 2015-10-29 17:36 逸阳 阅读(1162) 评论(0) 推荐(0) 编辑

素数的分布

摘要: 先曝上一道题:ural 1343Fairy TaleTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uDescription12 months to sing and dance in a ring their cel... 阅读全文

posted @ 2015-10-29 13:37 逸阳 阅读(1904) 评论(0) 推荐(0) 编辑

导航