搜索资源列表
compute
- 一个计算24点的程序源代码,适合初学者学习。-A calculation of the 24-point program source code, suitable for beginners to learn.
sy5
- 设计一个有2个JComboBox的Applet程序: JComboBox1 添加了“计算1+2+3…”,“计算1*1+2*2+3*3…”,“计算1*1*1+2*2*2+3*3*3…”,3个选项。另一个JComboBox2 添加了一百个选项。当选择JComboBox1上某个选项时,text1显示该选项的名称。当在JComboBox2上选择某个选项,程序计算和。例如选择JComboBox1中的“计算1*1+2*2+3*3…”,然后再选择JComboBox2的“前28 项和”,程序将计算连续28
24
- 计算24点游戏:任意输入4位数字,利用+,-,*,/四则运算使之得到结果 24。输出所有不同算法的计算表达式,可为运算优先级而使用括号。-Calculation of 24-point game: any input four digits, use+,-,*,/four operations so get results 24. Output all the different algorithms compute expressions for computing priorities an
2
- Background Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e., Area(R1∩R2∩…∩Rn) The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines. For example, the intersectio
Tetris
- 人机对战的俄罗斯方块游戏,AI策略采用数学公式计算每个可以放置方块的位置的得分,路径搜索采用A星搜索,从而实现人机对战-Human battle with AI in this tetris game.AI use mathematical formulas to compute the score of every enable position which can put block .Then I use A* algorithm to search path.
compute24
- 我们可以用它来自动算24,此程序代码行数不算太多,但是运算速度快!-we can use it to compute 24,it is not too long,but it has a splendid compute speed!
compute24
- 我们可以用它来自动算24,此程序代码行数不算太多,但是运算速度快!-we can use it to compute 24,it is not too long,but it has a splendid compute speed!