⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gettime4.c

📁 密码大家Shoup写的数论算法c语言实现
💻 C
字号:
#include <NTL/config.h>#include <time.h>#if (defined(__cplusplus) && !defined(NTL_CXX_ONLY))extern "C" double _ntl_GetTime();#endifdouble _ntl_GetTime(void){   static clock_t last_clock = 0;   static double acc = 0;   clock_t this_clock;   double delta;   this_clock = clock();   delta = (this_clock - last_clock)/((double)CLOCKS_PER_SEC);   if (delta < 0) delta = 0;   acc += delta;   last_clock = this_clock;   return acc;}

⌨️ 快捷键说明

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