Problem statment: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only cons ...
分类:
其他好文 时间:
2017-05-18 01:35:44
阅读次数:
293
A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, dependi ...
分类:
其他好文 时间:
2017-05-14 18:54:45
阅读次数:
186
new ActiveXObject("Microsoft.XMLHTTP")是IE中创建XMLHttpRequest对象的方法。非IE浏览器中创建方法是new XmlHttpRequest()。 为了兼容不同的浏览器需要编写很多代码回调函数中data参数为服务器返回的数据,textStatus为服务 ...
分类:
Web程序 时间:
2017-05-11 22:17:15
阅读次数:
222
You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee ...
分类:
其他好文 时间:
2017-05-10 15:37:22
阅读次数:
133
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2017-05-10 14:31:46
阅读次数:
181
A. Kefa and First Steps(最长不下降子串) Kefa decided to make some money doing business on the Internet for exactly n days. He knows that on the i-th day (1?≤ ...
分类:
其他好文 时间:
2017-05-06 14:23:38
阅读次数:
299
从两个表中内联取出的数据,当中category_name字段有同样内容,想将具有同样内容的字段进行合并,将amount字段进行加法运算,变成下表中的内容 SELECT c.category_name, count(*) AS task_num, sum( t.amount ) AS amount_n ...
分类:
数据库 时间:
2017-05-06 13:02:52
阅读次数:
235
页面的自动滚动效果,可由javascript来实现,但是今天无意中发现了一个html标签 - <marquee></marquee>可以实现多种滚动效果,无需js控制。 使用marquee标记不仅可以移动文字,也可以移动图片,表格等. 语法:<marquee>...</marquee>; 说明:在标 ...
分类:
Web程序 时间:
2017-05-05 10:43:33
阅读次数:
211
A.Lotus and Characters(技巧 + 思维) Problem Description Lotus has n kinds of characters,each kind of characters has a value and a amount.She wants to cons ...
分类:
其他好文 时间:
2017-05-03 21:17:38
阅读次数:
186
传送门 Amount of Degrees Time limit: 1.0 secondMemory limit: 64 MB Amount of Degrees Time limit: 1.0 secondMemory limit: 64 MB Description Create a code ...
分类:
其他好文 时间:
2017-04-28 20:32:36
阅读次数:
180