-
北理工的恶龙
北理工的恶龙
背景:
最近,北理工出现了一只恶龙,它长着很多头,而且还会吐火,它将会把北理工烧成废墟, 于是,校长下令召集全校所有勇士杀死这只恶龙。要杀死这只龙,必须把它所有的头都砍掉,每个勇士只能砍一个龙头,龙的每个头大小都不一样,一个勇士只有在身高不小于龙头的直径的情况下才能砍下它。而且勇士们要求,砍下一个龙头必须得到和自己身高厘米数一样的学分。校长想花 最少的学分数杀死恶龙,于是找到你寻求帮助。
输入:
第一行 龙头数 n , 勇士人数 m ( 1
- 2022-11-13 07:30:04下载
- 积分:1
-
aaaaaasdxswdwsdacdcwsaaaaasdxswdwsdacdcws
aaaaa sdxswdwsdacdcwsaaasdxsdwsdadcwsaaasdxsdwsdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaasdxswasdacdcwsaaassdacdcwsaaaswawdwsdacdcwsaaaaaaasdxswasdcdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcwsaaasdxswasdcws
- 2022-05-18 01:21:24下载
- 积分:1
-
数字图像处理
数字图像处理,实现点运算,几何变换,正交变换,图像增强,形态学变换,边缘与轮廓,图像分析(阈值分割,投影检测,差影检测,模板匹配),图像复原,图像编码(哈弗曼,香农弗诺,行程,LZW,JPEG)
- 2022-02-05 10:51:38下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与...
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-01-26 06:49:25下载
- 积分:1
-
单片机输入法c源代码
纯C语言编写的输入法源代码,主要用于单片机,有需要的可以下载!
使用说明:
拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]);
input_py_val为已输入的拼音码字符串头指针,
反回值为中文的起始地址,当为0时,杳询失败
应用举例:
{
unsigned char input_string[]={"bang"};
unsigned char chines_string[100];
sprintf(chines_string,"%s",py_ime(input_string));
}
- 2023-08-15 12:10:04下载
- 积分:1
-
任意合数分解成质数的程序
任意合数分解成质数的程序-Arbitrary composite number into prime number of procedures
- 2022-09-10 21:15:03下载
- 积分:1
-
温度分布
Fortran95 程序地址在一个金属圆盘上的温度分布。边界设置为稳定温度 20 度。在磁盘上的内点是保持 100 度.初始温度是 50 度。稳定的温度,这个问题的时间多长一个稳定的温度的dish拿到会被该程序解决。
- 2022-02-06 23:31:55下载
- 积分:1
-
专家系统在数据融合中的应用
专家系统在数据融合中的应用-Expert System Data Fusion Application
- 2022-03-11 19:47:11下载
- 积分:1
-
一个求解Josephus问题的函数
#include
#include
#define NULL 0
#include
typedef struct Lnode
{
int data;
struct Lnode *next;
}Josephus;
void CreateList(Josephus*&L,int n)//建立循环链表
{
int i;
Josephus *p,*s;
s=(Josephus*)malloc(sizeof(Josephus));
s->data=1;
L=p=s;
for(i=2;idata=i;
p->next=s;
p=s;
}
p->next=L;
}
void DeleteList(Josephus*&L,Josephus*p,Josephus*q)
{
q->next=p->next;
free(p);
}
void Josephus1(Josephus*&L,int s,int m)
- 2022-01-27 23:12:59下载
- 积分:1
-
等值线插值Pascal程序
等值线插值Pascal程序-contours Pascal interpolation procedures
- 2022-02-01 07:39:22下载
- 积分:1