-
lianliankan
一款简单的连连看源码,有暂停 有限时,选中方块颜色会有变化(code of
an easy game)
- 2014-07-14 17:08:02下载
- 积分:1
-
PAT
Given N rational numbers in the form "numerator/denominator", you are supposed to calculate their sum.
输入描述:
Each input file contains one test case. Each case starts with a positive integer N (<=100), followed in the next line N rational numbers "a1/b1 a2/b2 ..." where all the numerators and denominators are in the range of "long int". If there is a negative number, then the sign must appear in front of the numerator.
输出描述:
For each test case, output the sum in the simplest form "integer numerator/denominator" where "integer" is the integer part of the sum, "numerator" < "denominator", and the numerator and the denominator have no common factor. You must output only the fractional part if the integer part is 0.(Input Description:
Each input file contains one test case. Each case starts with a positive integer N (<=100), followed in the next line N rational numbers "a1/b1 a2/b2 ..." where all the numerators and denominators are in the range of "long int". If there is a negative number, then the sign must appear in front of the numerator.
Output Description:
For each test case, output the sum in the simplest form "integer numerator/denominator" where "integer" is the integer part of the sum, "numerator" < "denominator", and the numerator and the denominator have no common factor. You must output only the fractional part if the integer part is 0.)
- 2019-03-02 14:33:27下载
- 积分:1
-
最速下降法
利用最速下降法极小化函数q(x)=(10x1^2-18x1x2+10x2^2)/2+4x1-15x2=13,线搜索步长为精确步长(Steepest descent method for numerical example)
- 2020-11-09 21:09:47下载
- 积分:1
-
56845757555
金庸小说人物卜,游戏编程源码,很好的参考资料,有需要的就下载吧。(Characters in the novels of Jin Yong Bu, game programming source code, a good reference, there is a need to download it.)
- 2013-10-08 22:38:55下载
- 积分:1
-
walkingpete小程序!
一个walkingpete的小程序-walkingpete a small procedure!
- 2022-07-06 12:11:14下载
- 积分:1
-
定位算法Matlab实现
基于rssi的室内定位算法,分享一下。(RSSI based indoor positioning algorithm, share a little bit)
- 2018-03-13 20:20:40下载
- 积分:1
-
MPM3D-F90
物质点3维显示程序,含有材料模型,能求解碰撞(3D material point method)
- 2017-06-10 15:34:38下载
- 积分:1
-
滚球游戏意智游戏
问题描述
有八个小洞,序号和分布位置如图。小球从A、B、C(即洞号0、1、2)三个位置之一滚下。如果洞的状态为0时,球向左滚;如果洞的...
滚球游戏意智游戏
问题描述
有八个小洞,序号和分布位置如图。小球从A、B、C(即洞号0、1、2)三个位置之一滚下。如果洞的状态为0时,球向左滚;如果洞的状态为1时,球向右滚。凡是球滚过的洞,状态取反(既由1变0,由0变1)。
现用8位二进制数依次从左到右表示八个小洞的状态。
例: 图中的初始状态为 00000101 时,最多滚入3个球时有
从C洞滚入一小球状态为 ――――> 00101111
从B洞滚入一小球状态为 ――――> 01111011
从A洞滚入一小球状态为 ――――> -bowls game Italy-game description eight holes and serial number and distribution figure. Small ball from the A, B, C (hole No. 0,1,2), one of the fallen three locations. If the state of the hole 0:00 a.m., the ball rolling left; If the state of the hole 1:00, the ball rolling right. Whatever strain at the hole, from the anti-state (both from a variable 0, 0 Variable 1). Now with eight followed by the binary number eight hole, said whatever the state. Cases : Figure the initial states of 00000101, three roll-up ball from C hole rolled over a small ball of----> 00101111 B hole rolled over from one state to the small ball----> 01111011 from A hole rolled over a small ball of---->
- 2023-04-01 05:00:04下载
- 积分:1
-
ST7920_SPI-master
说明: ST7920 for arduino atmega328
- 2021-04-26 22:48:45下载
- 积分:1
-
一个关于LabVIEW的pwm程序,还没有最终完成
一个关于LabVIEW的pwm程序,还没有最终完成-pwm
- 2022-01-26 00:20:57下载
- 积分:1