-
cSharp fiveChesscode
具有一种算法的五子棋游戏,游戏界面还不错,请大家多多关照,我以学习CSharp为主,独立编程的能力还有待提高
- 2022-10-05 07:35:04下载
- 积分:1
-
车站车票管理系统
车站车票管理系统
- 2022-01-31 07:40:33下载
- 积分:1
-
matlab 算法
他们是源代码中的数字信号处理和数字通讯 (如 psk 和 bpsk 和 qam 和......
- 2022-05-28 12:12:40下载
- 积分: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
-
把整数华氏温度转换成浮点数摄氏温度,精确到三位数字
把整数华氏温度转换成浮点数摄氏温度,精确到三位数字-put into Fahrenheit temperature float Celsius temperature, accurate to three figures
- 2022-01-25 14:02:25下载
- 积分:1
-
(原创)非常有用的公历转农历、农历转公历算法(农历数据至2100年)
从1920至2100年近200年的公历转农历,农历转公历算法代码,完全正确,无需修改直接使用。
- 2022-03-20 14:14:20下载
- 积分:1
-
多线程发牌程序。用多线程模拟竞争发牌示例程序
多线程发牌程序。用多线程模拟竞争发牌示例程序-Licensing procedures for multi-threaded. Competition with multi-threaded simulation example licensing procedures
- 2022-07-24 21:55:58下载
- 积分:1
-
用差分方法求解沃尔泰拉方程,此处为一个变元的方程,由于该方程同时含有微分和积分,一般求解有一定的困难。...
用差分方法求解沃尔泰拉方程,此处为一个变元的方程,由于该方程同时含有微分和积分,一般求解有一定的困难。-use of the finite difference method for Volterra equation here as a variable element of the equation, As the same time contain differential equations and integral, the general solution is definitely difficult.
- 2023-01-25 03:55:03下载
- 积分:1
-
CRF 工具包及使用教程
CRF的工具包,实现原理,及样例。CRF(Conditional Random Field) 条件随机场是近几年自然语言处理领域常用的算法之一,常用于句法分析、命名实体识别、词性标注等。在我看来,CRF就像一个反向的隐马尔可夫模型(HMM),两者都是用了马尔科夫链作为隐含变量的概率转移模型,只不过HMM使用隐含变量生成可观测状态,其生成概率有标注集统计得到,是一个生成模型;而CRF反过来通过可观测状态判别隐含变量,其概率亦通过标注集统计得来,是一个判别模型。由于两者模型主干相同,其能够应用的领域往往是重叠的,但在命名实体、句法分析等领域CRF更胜一筹。当然你并不必须学习HMM才能读懂CRF,但通常来说如果做自然语言处理,这两个模型应该都有了解。
- 2022-08-12 08:38:50下载
- 积分:1
-
爬虫.java
爬虫算法
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
- 2022-10-25 20:50:03下载
- 积分:1