35 人解决,43 人已尝试。
44 份提交通过,共有 171 份提交。
4.3 EMB 奖励。
单点时限: 5.0 sec
内存限制: 256 MB
The world financial crisis is quite a subject. Some people are more relaxed while others are quite anxious. John is one of them. He is very concerned about the evolution of the stock exchange. He follows stock prices every day looking for rising trends. Given a sequence of numbers
The program input is from a text file. Each data set in the file stands for a particular set of stock prices. A data set starts with the length
White spaces can occur freely in the input. The input data are correct and terminate with an end of file. For each set of data the program prints the result to the standard output from the beginning of a line. An input/output sample is in the table bellow. There are three data sets. In the first case, the length
6 5 2 1 4 5 3 3 1 1 1 4 4 3 2 1
3 1 1
35 人解决,43 人已尝试。
44 份提交通过,共有 171 份提交。
4.3 EMB 奖励。
创建: 15 年,6 月前.
修改: 7 年,6 月前.
最后提交: 1 年,9 月前.