加载中
PV、UV、IP分别是什么意思?

网站流量统计指标大致分为3类: 1.网站流量 独立访问者数量(unique visitors,UV) 重复访问者数量(repeat visitors) 页面浏览数(page views,PV) 每个访问者的页面浏览数(page views ...

2015/09/08 21:45
148
Android: Done. Nothing was installed

……android-sdk\temp\build-tools_r20-windows.zip (拒绝访问。) 拒绝访问,好吧,多试试呢?还是拒绝…… 那就用管理员权限吧! 右键SDK Manager.exe,并选择“以管理员身份运行”,接着点...

【数据结构】回顾二叉树

1.为什么会有树?因为当有大量的输入数据时,链表的线性访问时间就显得略长了。而树结构,其大部分操作的运行时间平均为O(logN)。 2.树的实现并不难,几行代码就搞定了。 struct TreeNode { ...

【SICP练习】130 练习3.61

练习3-61 原文 代码 (define (reciprocal-series s) (cons-stream 1 (scale-stream (mul-series (stream-cdr s) (reciprocal-series s)) -1))) 感谢访问,希望对您有所帮助。 欢迎关注或收藏...

【SICP练习】139 练习3.70

练习3-70 原文 代码 (define (merge-weighted s1 s2 weight) (cond ((stream-null? s1) s2) ((stream-null? s2) s1) (else (let ((cars1 (stream-car s1)) (cars2 (stream-car s2))) (cond (...

2015/09/08 21:48
1
【SICP练习】112 练习3.28

练习3-28 原文 Exercise 3.28. Define an or-gate as a primitive function box. Your or-gate constructor should be similar to and-gate. 代码 (define (or-gate input-1 input-2 output)...

【SICP练习】82 练习2.54

这些关于Scheme的基本知识在【Scheme归纳】系列博文总都有介绍。 (define (equal? x y) (cond ((and (symbol? x) (symbol? y)) (symbol-equal? x y)) ((and (list? x) (list? y)) (list-equa...

【SICP练习】141 练习3.72

练习3-72 原文 Exercise 3.72. In a similar way to exercise 3.71 generate a stream of all numbers that can be written as the sum of two squares in three different ways (showing h...

【SICP练习】99 练习2.75

练习2.75 通过模仿书上的make-from-real-imag函数来完成此题。 (define (make-from-mag-ang x y) (define (dispatch op) (cond ((eq? op ‘real-part) (* x (cos y))) ((eq? op ‘imag-part...

【SICP练习】127 练习3.58

练习3-58 原文 Exercise 3.58. Give an interpretation of the stream computed by the following procedure: (define (expand num den radix) (cons-stream (quotient (* num radix) den) ...

【SICP练习】144 练习3.82

练习3-82 原文 Exercise 3.82. Redo exercise 3.5 on Monte Carlo integration in terms of streams. The stream version of estimate-integral will not have an argument telling how man...

【SICP练习】128 练习3.59

练习3-59 原文 代码 a) (define (integrate-series s) (stream-map * (stream-map / ones integers) s)) b) (define sine-series (cons-stream 0 (integrate-series cosine-series))) (defin...

【SICP练习】138 练习3.69

练习3-69 原文 代码 (define (triples s t u) (cons-stream (list (stream-car s) (stream-car t) (stream-car u)) (interleave (stream-map (lambda (x) (cons (stream-car s) x)) (stream...

【SICP练习】94 练习2.67

练习2.67 我们先来把该导入的导入,然后就来测试了。 (load "d:\\lisp\\tree.scm") (define sample-tree (make-code-tree (make-leaf 'A 4) (make-code-tree (make-leaf 'B 2) (make-code-t...

【SICP练习】147 练习4.3

练习4-3 原文 Exercise 4.3. Rewrite eval so that the dispatch is done in data-directed style. Compare this with the datadirected differentiation procedure of exercise 2.73. (You ...

【SICP练习】124 练习3.55

练习3-55 原文 Exercise 3.55. Define a procedure partial-sums that takes as argument a stream S and returns the stream whose elements are S0, S0 + S1, S0 + S1 + S2, …. For examp...

【SICP练习】140 练习3.71

练习3-71 原文 代码 (define (Ramanujan s) (define (stream-cadr s) (stream-car (stream-cdr s))) (define (stream-cddr s) (stream-cdr (stream-cdr s))) (let ((scar (stream-car s)) (s...

2015/09/08 21:50
17
【SICP练习】87 练习2.59

练习2.59 我们可以采用迭代来完成这个过程,至于怎么迭代的,接下来就是代码了。 (define (union-set set1 set2) (define (union-set-iter set1 set2) (if (null? input) (reverse result) ...

微软技术交流群 303295519

微软技术交流群 303295519 对微软技术有兴趣的朋友快来捧捧场呀…… 感谢您的访问,希望对您有所帮助。 欢迎大家关注或收藏、评论或点赞。 为使本文得到斧正和提问,转载请注明出处: http:/...

2015/09/08 21:49
25
【SICP练习】86 练习2.58

练习2.58 如果要由前序变成中序那就要有些大变动了。 (define (make-sum a1 a2) (cond ((=number? a1 0) a2) ((=number? a2 0) a1) ((and (number? a1) (number? a2)) (+ a1 a2)) (else (li...

2015/09/08 21:49
39

没有更多内容

加载失败,请刷新页面

返回顶部
顶部