描述Mr. B is a famous music composer. One of his most famous work was his set of preludes. These 24 pieces span the 24 musical keys (there are musically...
分类:
其他好文 时间:
2014-11-29 11:41:36
阅读次数:
228
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
编程语言 时间:
2014-11-29 10:30:19
阅读次数:
179
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:
其他好文 时间:
2014-11-29 07:05:11
阅读次数:
208
Given a non-negative number represented as an array of digits, plus N to the number.The digits are stored such that the most significant digit is at t...
分类:
其他好文 时间:
2014-11-29 07:05:00
阅读次数:
185
AC signals can emanate from many sources, and many of these sources are incompatible with the most popular interface voltages, such as TTL. A temptati...
分类:
其他好文 时间:
2014-11-28 14:13:40
阅读次数:
190
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-11-28 06:15:44
阅读次数:
173
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1026题目大意:就是说给你一个8数码,问你能够达到的距离最远的状态是什么。刚开始以为只要顺着一边走...
分类:
其他好文 时间:
2014-11-28 06:10:33
阅读次数:
224
题目链接Space AntTime Limit:1000MSMemory Limit:10000KTotal Submissions:3219Accepted:2059DescriptionThe most exciting space discovery occurred at the end o...
分类:
编程语言 时间:
2014-11-27 22:04:00
阅读次数:
322
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4004The annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. O...
分类:
其他好文 时间:
2014-11-27 21:44:32
阅读次数:
201
Full Binary Tree
Time Limit: 2000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
In computer science, a binary tree is a tree data structure in which each node has at most two children...
分类:
其他好文 时间:
2014-11-27 20:34:56
阅读次数:
192