题目链接题意: find the maximum positive difference
between the price on the ith day and the jth day附上代码: 1 class Solution { 2
public: 3 int maxProfit(ve...
分类:
其他好文 时间:
2014-05-28 03:49:45
阅读次数:
307
A university network is composed of N computers.
System administrators gathered information on the traffic between nodes, and
carefully divided the ne...
分类:
其他好文 时间:
2014-05-26 21:07:48
阅读次数:
329
https://software.intel.com/en-us/blogs/2012/11/30/calculating-a-bearing-between-points-in-location-aware-appsSubmitted
by John Mechalas (... on Fri, 1...
分类:
移动开发 时间:
2014-05-26 20:07:36
阅读次数:
401
The stunnel program is designed to work as an
SSL encryption wrapper between remote client and local (inetd-startable) or
remote server. It can be use...
分类:
其他好文 时间:
2014-05-26 16:15:57
阅读次数:
330
ref: JNI typeThe mapping between the Java type
and C type is:Type SignatureJava
TypeZbooleanBbyteCcharDdoubleFfloatIshortJlongLobjectSshortVvoidLfull....
分类:
其他好文 时间:
2014-05-26 06:21:24
阅读次数:
203
Problem Description
In a 2_D plane, there is a point strictly in a regular polygon with N sides. If you are given the distances between it and N vertexes of the regular polygon, can you calculate t...
分类:
其他好文 时间:
2014-05-26 03:50:40
阅读次数:
252
1.JS include :DOM BOM ECMA2.Browser 分别独立实现dom &
JSas if two isolated islands3.JS操作DOMfrom the island to the other one4.DOM性能The
bridges between island...
分类:
其他好文 时间:
2014-05-25 11:28:12
阅读次数:
246
Kitahara Haruki has bought n apples for Touma Kazusa and Ogiso Setsuna. Now he wants to divide all the apples between the friends.
Each apple weights 100 grams or 200 grams. Of course Kitahara Haru...
分类:
其他好文 时间:
2014-05-25 09:01:36
阅读次数:
174
look at
http://www.xaprb.com/blog/2006/07/04/how-to-exploit-mysql-index-optimizations/prior
to MySQL 5.5, MYISAM is default engine. InnoDB becomes def...
分类:
数据库 时间:
2014-05-24 12:58:04
阅读次数:
322
题目描述If the difference between any two adjancent
elements in a sequence is not more than K, then we call this sequence is a
K-diff sequence. A subseque...
分类:
其他好文 时间:
2014-05-24 09:39:27
阅读次数:
340