- 博客(6)
- 收藏
- 关注
原创 斯坦福大学开放课程——编程方法 作业1-4 (附作业中文翻译及源码)【在中心点放置Beeper】
Problem 4 As an exercise in solving algorithmic problems, program Karel to place a single beeper at the center of 1st Street. For example, if Karel starts in the world it should end with Karel standing on a beeper in the following position: Note that t
2011-01-30 21:57:00 3503 3
原创 斯坦福大学开放课程——编程方法 作业1-3 (附作业中文翻译及源码)【放置黑白棋盘】
Problem 3In this exercise, your job is to get Karel to create a checkerboard pattern of beepers inside an empty rectangular world, as illustrated in the following before-and-after diagram: This problem has a nice decomposition structure along with
2011-01-29 19:45:00 2819 3
原创 斯坦福大学开放课程——编程方法 作业1-2(附作业中文翻译及源码)【修复支撑拱门】
斯坦福大学开放课程——编程方法 作业1-2 Problem 2 Karel has been hired to repair the damage done to the Quad in the 1989 earthquake. In particular, Karel is to repair a set of arches where some of the stones (represented by beepers, of course) are missing fr
2011-01-29 18:26:00 1904 2
原创 只保留QQ拼音输入法的设置
之前电脑上有 【中文(简体-美式键盘】这个输入法,还有【QQ拼音输入法】,在输入文字的时候,可能会出现自动切换到美式键盘的那个输入法,不得不按【ctrl+空格】切换回来,有时候输入的时候发现是字母输入,按【ctrl+空格】想切回到【QQ拼音输入法】,却发现输入的时候还是字母,哦,原来刚才是【QQ拼音的字母输入状态】,我按了【ctrl+空格】又切回美式键盘了,总是浪费时间。进入输入设置里面,看到输入法有两个,第一个【中文(简体)-美式键盘】,第二个【QQ拼音输入法】,想删掉【中文(简体)-美式键盘】,点击它,
2011-01-28 12:04:00 3545
原创 斯坦福大学开放课程:编程方法.03/第三课练习:karel 算数(将未知数量beeper变为X倍)
<br />/*本代码是 斯坦福大学公开课《编程方法》第三课视频第18分钟,讲解的karel将beeper变为双倍的联系。本代码和老师的代码略有不同。不同点在于,将双倍的beeper放在自己原来的位置,然后在把所有beeper放回beeper原来的位置*/import stanford.karel.*;public class OurDoubleBeepers extends SuperKarel { public void run (){ move(); let
2011-01-28 02:20:00 1434
原创 斯坦福大学开放课程:编程方法.02/第二课练习:karel 跳墙
import stanford.karel.*;public class zhang_ai_pao extends SuperKarel { public void run(){ for (int i=0;i
2011-01-28 00:15:00 1016
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人