搜索资源列表
youquchengxu
- 有趣的程序: 1。已知n和m,m个正整数相加等于n(m<=n),列出这m个数. 2。输入任意正整数n,计算n!(n可取到一亿) 3。求100以内的所有由三个素数构成的等差素数组-interesting : 1. Known n and m, m is integer equal to the sum of n (m
Sum
- 算法实现题1-2 连续和问题 « 问题描述: 给定一个正整数n,计算有多少个不同的连续自然数段,其和恰为n。例如,当n=27 时,有4 个不同的连续自然数段的和恰为27:2+3+4+5+6+7;8+9+10;13+14;27。 « 编程任务: 给定一个正整数n,试设计一个O(n)时间算法,计算有多少个不同的连续自然数段的 和恰为n。 « 数据输入: 由文件input.txt提供输入数据。文件的第1 行是正整数n。 « 结
sum
- 通过MPICH组建并行网络后的并行计算例子,计算二维数组所有元素的和。
2
- 中南赛区ACM竞赛题 Descr iption Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within the whole array. The sum of a rectangle is the sum of all the elements in
sum++
- 连续自然数段的代码,是一种比较好的解决算法。
尼科梅切斯定理
- 在C下实现的尼科梅切斯定理:任何一个整数的立方都可以写成一串奇数之和即任意一个正整数n的立方分解成个连续的n个奇数之和.-in C under the TSA Sanchez Theorem : A sum of the cube can be written a bunch of odd that the sum is an arbitrary integer n cubic decomposed into consecutive n odd sum.
Matrix
- 一些矩阵运算的函数,包括两个矩阵相加,两个矩阵相减,两个矩阵相乘,矩阵复制,矩阵求逆的全选主员高斯-约当法,矩阵的三角分解(LU分解),求Hessenberg矩阵全部特征根的QR法,约化一般实矩阵为Hessenberg矩阵的初等相似变换-A function of a number of matrix operations, including the sum of two matrices, subtract two matrices, the two matrices, matrix dup
sum
- 求矩阵对角线上元素之和,用C#语言实现对N*N矩阵的对角线元素之和的求法。-sum
sum
- This program return the sum of the digits of number you entered.
sum
- 一些简单数字的求和,一组不同数字按由大到小按序-Sum of simple figures, a different set of figures descending sequential
Binary-polynomial-sum
- 二元多项式相加,主要实现以手动编写一个二元多项式,显示与计算结果均与平时书写时一样- 允许输入拉丁字符的拼音 英语中文(简体)日语 Binary polynomial sum, the main achievement to manually write a binary polynomial, to show the calculations are usually written in
Sum-two-big-numbers
- By using this program we can sum two big numbers (at last 1000 digits) whit each other.
series-sum
- 数列求和(动态规划实现) 给定n个数字和一个范围[x,y],求从这n个数字中任意取出一些数字,使得它们的和在范围[x,y]中有多少种取法。 输入: 输入第一行为整数case,case<=10 表示有case组测试数据。 对于每一组测试数据,第一行为一个整数n (n<=30),第二行为n个整数a[i],第三行为两个整数x和y。其中,a[i]>=0,sum(a[i])<2^31,0<x,y<sum(a[i])< span="">。
sum
- Sum matrix in parallel on CUDA
sum-product-algorithm-for-LDPC-codes-in-Matlab.ra
- sum product algorithm in matlab
even-Product-Sum
- R code. There are two functions: evenProduct(num) gives product of all even positive integers less then or equal to num evenProduct(num) gives sum of all even positive integers less then or equal to num
even-Product-Sum
- R code. There are two functions: evenProduct(num) gives product of all even positive integers less then or equal to num evenSum(num) gives sum of all even positive integers less then or equal to num
1-n-sum
- 自然数1到n求和,用c++实现,很简单的东西,分享给初学者-sum of 1 to n
delay-and-sum
- SUM AND DELAY BEAMFORMER
sum-1-to-1000
- 1连加至1000的mpi程序,可调节线程,适合Mpi初学者-the program if about sum 1 to 1000, you can choose process for yourself, suit for mpi learner