HJZGG:http://files.cnblogs.com/files/hujunzheng/%E5%9D%A6%E5%85%8B%E5%A4%A7%E6%88%98%E6%BA%90%E7%A0%81.zip
分类:
编程语言 时间:
2015-03-18 20:27:15
阅读次数:
156
POJ 3982 大数序列Time Limit:1000MSMemory Limit:65536KTotal Submissions:7191Accepted:3243Description数列A满足An = An-1 + An-2 + An-3, n >= 3编写程序,给定A0, A1 和 A2,...
分类:
编程语言 时间:
2015-03-16 00:51:17
阅读次数:
227
Problem F: Polynomial RemainsGiven the polynomial a(x) = anxn+ ... + a1x + a0,compute the remainder r(x) when a(x) is divided by xk+1.The input c...
分类:
其他好文 时间:
2015-03-14 19:56:44
阅读次数:
141
arduino 套件使用说明书V1.0.pdf,步进电机DHT11传感器另外一脚要接A0/* Web client This sketch connects to a website (http://www.google.com) using an Arduino Wiznet Ethernet.....
分类:
其他好文 时间:
2015-03-13 09:15:17
阅读次数:
252
Problem Description
An Arc of Dream is a curve defined by following function:where
a0 = A0
ai = ai-1*AX+AY
b0 = B0
bi = bi-1*BX+BY
What is the value of AoD(N) modulo 1,000,000,007?Input
There ar...
分类:
其他好文 时间:
2015-03-12 19:23:39
阅读次数:
278
http://acm.hdu.edu.cn/showproblem.php?pid=5183
Problem Description
When given an array (a0,a1,a2,?an?1) and
an integer K,
you are expected to judge whether there is a pair (i,j)(0≤i≤jn) wh...
分类:
其他好文 时间:
2015-03-11 23:28:53
阅读次数:
205
最大和子数组是数组中和最大的子数组,又名最大和子序列。子数组是数组中连续的n个元素,比如a2,a3,a4就是一个长度为3的子数组。顾名思义求最大和子数组就是要求取和最大的子数组。 n个元素的数组包含n个长度为1的子数组:{a0},{a1},…{an-1}; n个元素的数组包含n-1个长度...
分类:
编程语言 时间:
2015-03-11 23:22:38
阅读次数:
216