搜索结果
找到约 1,339 项符合
P-Q 的查询结果
Linux/Unix编程 一个基于GTK+的单词数值计算器
一个基于GTK+的单词数值计算器,1、 按照规则计算单词的值,如果 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26个字母(全部用大写)的值分别为 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,如:
WINJACK这个单词的值就为:W+I+N+J+A+C+K=23+9+14+1+3+11=71%
HARDWORK=H+A+R+D+W+O ...
matlab例程 一个能根据心电图信号产生音乐的matlab程序
一个能根据心电图信号产生音乐的matlab程序,根据心电信号P, Q, R, S, 和 T的不同产生不同的音乐,用Midi with Piano tamber使产生的声音更好听
数据结构 课程设计: 1.求出在一个n×n的棋盘上
课程设计:
1.求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局。
2.设计一个利用哈夫曼算法的编码和译码系统,重复地显示并处理以下项目,直到选择退出为止。
【基本要求】
1) 将权值数据存放在数据文件(文件名为data.txt,位于执行程序的当前目录中)
2) 分别采用动态和静态存储结构
3) 初始化 ...
数学计算 The code performs a number (ITERS) of iterations of the Bailey s 6-step FFT alg
The code performs a number (ITERS) of iterations of the
Bailey s 6-step FFT algorithm (following the ideas in the
CMU Task parallel suite).
1.- Generates an input signal vector (dgen) with size
n=n1xn2 stored in row major order
...
Linux/uClinux/Unix编程 两个链表的交集
两个链表的交集
#include<stdio.h>
#include<stdlib.h>
typedef struct Node{
&nbsp; int data;
&nbsp; struct &nbsp;Node *next;
}Node;
void initpointer(struct Node *p){
&nbsp; p=NULL;
}
int &nbsp;printlist(struct Node* head){
&nbsp; int flag=1;
&nbsp; head=head->next;
&nbsp; /*
&nbsp; 因为标记1的地 ...
源码 c语言算法排序
1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and
another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.)
#include<stdio.h>
#include<stdlib.h>
void merge(int arr[],int low,int mid,int high){
&nbsp; ...
通讯编程文档 用FFT分别计算Xa(n) (p=8, q=2)与Xb(n) (a =0.1,f =0.0625)的16点循环卷积和线性卷积。
用FFT分别计算Xa(n) (p=8, q=2)与Xb(n) (a =0.1,f =0.0625)的16点循环卷积和线性卷积。
加密解密 1) 找出两个相异的大素数P和Q
1) 找出两个相异的大素数P和Q,令N=P×Q,M=(P-1)(Q-1)。
2) 找出与M互素的大数E,用欧氏算法计算出大数D,使D×E≡1 MOD M。
3) 丢弃P和Q,公开E,D和N。E和N即加密密钥,D和N即解密密钥。
其他 给定两个多项式P(x)与Q(x)
给定两个多项式P(x)与Q(x),通过链表实现它们的加法。ACM程序设计练习题。