码迷,mamicode.com
首页 >  
搜索关键字:positive    ( 2430个结果
欧拉计划 NO05 ps:4题想过,好做,但麻烦,有时间补充,这题也不难!
问题重述: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive num...
分类:其他好文   时间:2014-10-19 16:59:06    阅读次数:232
Sicily 1381. a*b
ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionGive two positive integers a and b, please help us calculate a*b.InputThe first line of t...
分类:其他好文   时间:2014-10-16 14:06:42    阅读次数:135
HDU1452 Happy 2004 (因子和)
Happy 2004Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Problem DescriptionConsider a positive integer X,and let S be...
分类:移动开发   时间:2014-10-12 21:42:08    阅读次数:257
HDoj-1013
Problem Description The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resultin...
分类:其他好文   时间:2014-10-12 19:46:59    阅读次数:205
正定矩阵(Positive-definite Matrix)
原文链接正定矩阵是自共轭矩阵的一种。正定矩阵类似复数中的正实数。定义:对于对称矩阵M,当且仅当存在任意向量x,都有若上式大于等于零,则称M为半正定矩阵。正定矩阵记为M>0。也被称为正定二次型正定矩阵的判定1、所有特征值为正数(根据谱定理,若条件成立,必然可以找到对角矩阵的D和正定矩阵P,使M=P^-...
分类:其他好文   时间:2014-10-12 19:15:58    阅读次数:168
Poj 3233 矩阵快速幂,暑假训练专题中的某一道题目,矩阵快速幂的模板
题目链接 请猛戳~ Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains exactly one tes...
分类:其他好文   时间:2014-10-12 16:44:58    阅读次数:199
hdoj 3501
Problem DescriptionGiven a positive integer N, your task is to calculate the sum of the positive integers less than N which are not coprime to N. A .....
分类:其他好文   时间:2014-10-11 16:30:15    阅读次数:172
poj 1426 Find The Multiple ( BFS+同余模定理)
Find The Multiple Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 18390   Accepted: 7445   Special Judge Description Given a positive integer n, write a ...
分类:其他好文   时间:2014-10-05 01:33:27    阅读次数:327
sicily 1176. Two Ends (Top-down 动态规划+记忆化搜索 v.s. Bottom-up 动态规划)
DescriptionIn the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is written a positive integer. Play...
分类:其他好文   时间:2014-09-27 00:10:38    阅读次数:444
6661 Equal Sum Sets(DP)
Let us consider sets of positive integers less than or equal to n. Note that all elements of a set are different. Also note that the order of elements doesnt matter, that is, both {3, 5, 9} and {5, 9...
分类:其他好文   时间:2014-09-26 02:35:48    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!