-
定义一个类实现银行帐户的概念,包括的变量有“帐号”和“存款余额”,包括的方法有“存款”、“取款”和“查询余额”。定义主类,创建帐户类的对象,并完成相应操作。...
定义一个类实现银行帐户的概念,包括的变量有“帐号”和“存款余额”,包括的方法有“存款”、“取款”和“查询余额”。定义主类,创建帐户类的对象,并完成相应操作。-Define a class implements the concept of bank accounts, including the variable of " account" and " deposits" , including the method of " deposits" , " withdrawals" and " query the balance." Define the main class, the class object to create an account and complete the corresponding operation.
- 2022-02-03 21:27:01下载
- 积分:1
-
ProcessPool,处理进程池,具有一定的参考价值。
ProcessPool,处理进程池,具有一定的参考价值。-ProcessPool, deal with the process of pool, have a certain reference value.
- 2023-04-07 18:00:03下载
- 积分:1
-
如果你对C++编程有许多不懂之处,那么C及C++答疑解惑是一本好书,值得推荐哟,欢迎下载!...
如果你对C++编程有许多不懂之处,那么C及C++答疑解惑是一本好书,值得推荐哟,欢迎下载!-If you have the C programming from many do not understand, then C and C FAQ is a good book, worthy of recommendation yo welcome to download!
- 2022-02-20 17:26:21下载
- 积分:1
-
算法实现题7
算法实现题7-60 战马问题
« 问题描述:
按照国际象棋的规则,在位置(0,0)处的马可以跳到位置(1,2),(1 ,-2),(-1,2),
(-1,-2),(2,1),(2,-1),(-2,1),(-2,-1)处。战马问题中的战马具有更一般的跳跃
能力。位置(0,0)处的战马每次可以跳到k 个位置x y i k i i ( , ),1 £ £ ,中的一个位置。战
马问题要求确定给定的战马能否跳遍无限大的棋盘上的每个位置。
« 编程任务:
对于给定的战马问题中战马的跳跃能力。确定战马能否跳遍无限大棋盘上的每个位置。
« 数据输入:
由文件input.txt给出输入数据。第1 行有1个正整数k,表示位置(0,0)处的战马每
次可以跳到k个位置。接下来的k行,每行有2个整数,表示战马的跳跃位置。
« 结果输出:
将计算结果输出到文件output.txt。给定的战马能跳遍棋盘上的每个位置时输出“Yes”,
否则输出“No”。
输入文件示例 输出文件示例
input.txt output.txt
3
1 0
0 1
-2 -1
Yes
- 2022-01-27 16:50:13下载
- 积分:1
-
This is an applet program, which implements Stack and List by means of java. It...
用java实现数据结构中的栈和队列,是一个applet程序,可以通过实际操作来演示数据结构的栈的具体实现方式。-This is an applet program, which implements Stack and List by means of java. It can show the actions of stack through operations.
- 2022-07-18 04:12:18下载
- 积分:1
-
code to control mouse cursor with keyboard
code to control mouse cursor with keyboard
- 2022-01-22 13:09:59下载
- 积分:1
-
老外写的一个操作excel的文件含源码
这个方便,并且速度比调用excel.exe快很多...
老外写的一个操作excel的文件含源码
这个方便,并且速度比调用excel.exe快很多-Written by a foreigner to operate the excel file containing the source code to facilitate and speed much faster than calling excel.exe
- 2022-09-09 10:40:04下载
- 积分:1
-
用VC++,OpenGL和CG在GPU上实现期权定价的计算
用VC++,OpenGL和CG在GPU上实现期权定价的计算-Using VC , OpenGL and CG in the GPU to achieve the calculation of option pricing
- 2022-05-26 19:19:31下载
- 积分:1
-
线程监控及自动重起
对于线程运行过程中意外停掉的性况,对数据可靠性要求较高的性况使用线程监督控可达到维护线程的安全,保证程序长外时间运行不当掉,可应用在实时监测数据采集过程,监控及自动重起 .
- 2023-08-08 02:40:03下载
- 积分:1
-
单电源运放图集
放大,衰减,加法,减法,滤波
单电源运放图集
放大,衰减,加法,减法,滤波-Single-supply op amp Atlas amplification, attenuation, addition, subtraction, filtering
- 2022-02-16 06:08:04下载
- 积分:1