今天上了web数据管理,老师布置了一个简单的exercise,题目如下: Question : Consider the following documents: d1 = I like to watch the sun set with my friend. d2 = The B...
分类:
Web程序 时间:
2015-05-12 20:49:58
阅读次数:
132
Exercise 2-1. Write a program that prompts the user to enter a distance in inches andthen outputs that distance in yards, feet, and inches. (For those...
分类:
其他好文 时间:
2015-04-29 08:34:44
阅读次数:
137
Statistically significant reductions in blood pressure were found, in the short term for improved diet and exercise, relaxation therapies, and sodium ...
分类:
其他好文 时间:
2015-04-29 00:22:39
阅读次数:
255
SICP/Chapter2/Exercise-2.4
Lambda表达式语法
(lambda kw-formals body)
题目描述用过程性表示方式重写序对的cons、car、cdrScheme代码(define (cons-24 x y)
(lambda (m) (m x y)))
(define (car-24 z)
(z (lambda (p q) p)))这段代码只有4行,...
分类:
其他好文 时间:
2015-04-22 22:22:40
阅读次数:
175
Create a class with a String field that is initialized at the point ofdefinition, and another one that is initialized by the constructor. What isthe d...
分类:
编程语言 时间:
2015-04-19 11:34:00
阅读次数:
171
题目A vampire number has an even number of digits and is formed by multiplying apair of numbers containing half the number of digits of the result. Thed...
分类:
编程语言 时间:
2015-04-17 13:28:17
阅读次数:
194
1 import java.util.Scanner; 2 3 public class Fibonacci { 4 5 int fibo(int n) { 6 switch (n) { 7 case 1: 8 return 1;...
分类:
编程语言 时间:
2015-04-17 13:11:10
阅读次数:
125
1 package exercise; 2 3 class Tank 4 { 5 int level; 6 } 7 8 public class Assignment{ 9 public static void main(String[]args){10 Tan...
分类:
编程语言 时间:
2015-04-14 00:27:22
阅读次数:
120
protoc命令格式 protoc -I=SRC -cpp_out = DRC SRC\*.proto SRC:源路径;DRC:目的路径;当出现下面无法打开文件错误时,应在工程属性目录下的包含目录文件中添加工程所在路径 D:\!exercise\c++\protob1\protob1\错误 1 e....
分类:
其他好文 时间:
2015-04-05 23:06:29
阅读次数:
905
练习4-8原文Exercise 4.8. “Named let” is a variant of let that has the form (let )The and are just as in ordinary let, except that is bound within to a procedure whose body is a...
分类:
其他好文 时间:
2015-04-01 11:30:09
阅读次数:
149