搜索结果
找到约 547 项符合
J-LinkV 的查询结果
源码 12345
/****************temic*********t5557***********************************/   
#include &nbsp; <at892051.h> &nbsp; &nbsp;
#include &nbsp; <string.h> &nbsp;&nbsp;
#include &nbsp; <intrins.h> &nbsp; &nbsp;
#include &nbsp; <stdio.h> &nbsp; &nbsp;
#define &nbsp; &nbsp;uchar &nbsp; &nbsp;unsign ...
习题答案 java入门编程合集
题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?&nbsp;&nbsp;&nbsp;
//这是一个菲波拉契数列问题
public class lianxi01 {
public static void main(String[] args) {
System.out.println("第1个月的兔子对数:&n ...
软件 道理特分解法
#include "iostream" using namespace std;
class Matrix
{
private:
double** A; //矩阵A
double *b; //向量b
public:
int size;
Matrix(int );
~Matrix();
friend double* Dooli(Matrix& );
void Input();
void Disp();
};
Matrix::Matrix(int x) {
size= ...
源码 迷宫问题的求解
问题描述:以一个m*n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。
1.基本要求
(1)首先实现一个以链表作存储结构的栈类型,然后编写一个求解迷宫的非递归程序。求得的通路以三元组(i,j,d)的形式输出。其中:(i, ...
其他 有限差分法
function&nbsp;[alpha,N,U]=youxianchafen2(r1,r2,up,under,num,deta)&nbsp;&nbsp;
&nbsp;&nbsp;
%[alpha,N,U]=youxianchafen2(a,r1,r2,up,under,num,deta)&nbsp;&nbsp;
%该函数用有限差分法求解有两种介质的正方形区域的二维拉普拉斯方程的数值解&nbsp;&nbsp;
%函数返回迭代因子、迭代次数 ...
习题答案 《算法设计与分析》实验指导书
设有n=2k个运动员要进行网球循环赛。现要设计一个满足以下要求的比赛日程表:⑴每个选手必须与其他n-1个选手各赛一次;⑵每个选手一天只能赛一次;⑶循环赛一共进行n-1天。按此要求可将比赛日程表设计-成有n行和n-l列的一个表。在表中第i行和第j列处填入第i个选手在第j天所遇到的选手。用分治法编写为该循环赛设计一张比 ...
源码 成绩查询系统
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define N 100
int iNumOfStu=0;
struct score
&nbsp;&nbsp;{
&nbsp;&nbsp;float math;
&nbsp;&nbsp;float english;
&nbsp;&nbsp;float computer;
&nbsp;&nbsp;};
struct student
&nbsp;&nbsp;{
&nbsp;&nbsp;int number ...
源码 学生成绩guanli
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define N 100
int iNumOfStu=0;
struct score
&nbsp;&nbsp;{
&nbsp;&nbsp;float math;
&nbsp;&nbsp;float english;
&nbsp;&nbsp;float computer;
&nbsp;&nbsp;};
struct student
&nbsp;&nbsp;{
&nbsp;&nbsp;int number ...