-
Pequeno 编辑器 de 缔约国
初 pequeno exemplo contém procedimentos de como trabalhar com 富文本 usando seus recursos 德尼格罗、 sublinhar 等
- 2022-12-31 01:30:03下载
- 积分:1
-
0/1背包java实现
import java.util.Scanner;
public class Packsack{
Scanner sc=new Scanner(System.in);
int n;//物品个数
int m;//背包最大容量
int w[];//存储每个物品的重量
int v[];//存储每个物品的价值
int Max[][];//行表示前i个物品,列表示容量j,该值为将前i个物品装入容量为j的最大价值
public Packsack(){
System.out.println("please input the number of goods");
n=sc.nextInt
- 2022-04-13 13:49:39下载
- 积分:1
-
STM32无刷电机控制
资源描述 用STM32这款芯片驱动无刷马达,本例中包含了霍尔接口电路以及高级定时器的6路PWM配置电路,对于新手来说通俗易懂,能够快速入门。
- 2022-06-26 21:45:57下载
- 积分:1
-
MATLAB中TSP问题的布谷鸟搜索算法
这是使用布谷鸟搜索算法解决TSP问题的代码示例,了解TSP解决方案的效果,提高个别表达的效率稳健性。
- 2022-01-26 01:10:41下载
- 积分:1
-
Aquila是一个MATLAB工具箱
AQUILA is a MATLAB toolbox for the one- or twodimensional simulation of
%the electronic properties of GaAs/AlGaAs semiconductor
%nanostructures. -AQUILA is a MATLAB toolbox for the one- or tw odimensional simulation of the electronic pr% operties of GaAs/AlGaAs semiconductor% nanos tructures.
- 2022-02-05 09:36:04下载
- 积分:1
-
A star算法类的C++语言实现
A star算法类的C++语言实现-algorithm category C Language
- 2022-10-11 18:50:03下载
- 积分:1
-
Legendre polynomial algorithm delivery Regulation
勒让德多项式递规算法-Legendre polynomial algorithm delivery Regulation
- 2022-04-17 06:09:49下载
- 积分:1
-
基于bp神经网络pid控制程序
基于bp神经网络pid控制程序,学习bp神经网络与pid控制很好的代码,其中的程序已经验证,希望对大家有帮助
- 2022-01-24 13:14:28下载
- 积分:1
-
切比雪夫滤波器设计,JAVA编写,VJ编译
切比雪夫滤波器设计,JAVA编写,VJ编译-a design of Chebyschev filter, written by JAVA and compiled by VJ
- 2022-02-06 20:01:59下载
- 积分:1
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1