[C++] Timing Your Program
#include <sys/time.h> // only for linux
#include <stdio.h>
inline double seconds() {
struct timeval tp;
struct timezone tzp;
int i = gettimeofday(&tp, &tzp);
retu...
原创
2018-08-29 09:03:39 ·
197 阅读 ·
0 评论