码迷,mamicode.com
首页 >  
搜索关键字:exercise 1-15    ( 479个结果
Exercise 4: Variables And Names
cars = 100space_in_a_car = 4.0drivers = 30passengers = 90cars_not_driven = cars - driverscars_driven = driverscarpool_capacity = cars_driven * space_i...
分类:其他好文   时间:2014-10-21 10:11:15    阅读次数:138
Exercise 3: Numbers And Math
print "I will now count my chickens:"print "Hens", 25 + 30 / 6print "Roosters", 100 - 25 * 3 % 4print "Now I will count the eggs:"print 3 + 2 + 1 - 5 ...
分类:其他好文   时间:2014-10-21 10:03:59    阅读次数:178
Exercise 1: A Good First Program
print "Hello World!" print "Hello Again" print "I like typing this."print "This is fun." print 'Yay! Printing.'print "I'd much rather you 'not'." prin...
分类:其他好文   时间:2014-10-20 21:01:43    阅读次数:171
PAC和白化练习之处理图像
第一步:下载pca_exercise.zip,里面包含有图像数据144*10000,每一行代表一幅12*12的图像块,首先随见展示200幅:第二步:0均值处理,确保数据均值为0或者接近0第三步:执行PCA,将原始数据映射到不同的特征向量方向上去第四步:验证上面PCA计算出来结果是否正确,若果正确的话...
分类:其他好文   时间:2014-10-20 19:13:27    阅读次数:207
BZOJ 2097 Exercise 奶牛健美操 二分答案+树形DP+贪心
题目大意:给定一棵树,可以删掉k条边,求删掉后森林中所有树直径的最大值的最小值 最大值最小,典型的二分答案 此题我们二分树的直径,每次二分DFS一次,对于每个节点统计出所有子树删边后的dis,排序,贪心删掉最大的,直到最大的两个子树相加不会超过二分的答案为止 时间复杂度O(nlog^2n) 老子的二分居然写挂了。。。桑不起啊啊啊啊 #include #include #include #...
分类:其他好文   时间:2014-10-13 23:22:27    阅读次数:183
【水】noip模拟赛 锻炼计划
1.锻炼计划(exercise.pas)题目身体是革命的本钱,OIers不要因为紧张的学习和整天在电脑前而忽视了健康问题。小x设计了自己的锻炼计划,但他不知道这个计划是否可行,换句话说如果计划不当可能会让他的体力超支,所以小x请你帮助他。一天有1440分钟,所以小x列出的是这一整天第1至第1440分...
分类:其他好文   时间:2014-10-06 19:30:50    阅读次数:220
Exercise 1.15 sine
题目: The sine of an angle (specified in radians) can be computed by making use of the approximation sin x ? x if x is sufficiently small, and the trig....
分类:其他好文   时间:2014-09-18 12:52:03    阅读次数:132
Exercise : Self-Taught Learning
First, you will train your sparse autoencoder on an "unlabeled" training dataset of handwritten digits. This produces feature that are penstroke-like....
分类:其他好文   时间:2014-09-16 17:20:10    阅读次数:557
Exercise 1.14 count change的时间复杂度
题目: Draw the tree illustrating the process generated by the count-change procedure of section 1.2.2 in making change for 11 cents. What are the order....
分类:其他好文   时间:2014-09-16 12:10:50    阅读次数:284
Exercise 1.11---1.12 Pascal's Triangle
1.11 F'ibonates函数的变种,略过。1.12题目:The following pattern of numbers is called Pascal's triangle. 1 1 1 1 2 1 1 3 3 11 4 6 4 1.......
分类:其他好文   时间:2014-09-15 17:25:09    阅读次数:227
479条   上一页 1 ... 44 45 46 47 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!