matlab计时超好用
    
            
摘要:方法一; profile on <body?> profile viewer 会把所有代码的时间,都显示出来,每行每个函数用时统计,一目了然; 方法二: tic; <body-part1> t1 = toc ; % <body-part1>耗时 <body-part2> t2 = toc; % 总耗
        
阅读全文
 
        
            
    scip 练习2.20
    
            
摘要:(define (same-parity x . z) (define (q? y) (= (remainder y 2) 1)) (define (o? y) (= (remainder y 2) 0)) (define (jg z f) (define m '()) (define (je a f m) (if (f (car a)) ...
        
阅读全文
 
        
            
    scip 练习2.18
    
            
摘要:(define (append a b ) (if (null? a )b (cons (car a) (append (cdr a) b)))) (define (reverse l) (append (reverse (cdr l)) (list (car l)) ))
        
阅读全文
 
        
            
    c++获取时间戳
    
            
摘要:#include #include #include using namespace std; struct NowDate { char tmp0[16]; //年月日 char tmp1[16]; //时分秒 char tmp2[4]; //毫秒 }; NowDate getTime() { time_t timep; time (&tim...
        
阅读全文