皮皮学,免费搜题
登录
搜题
【简答题】
给定一个顺序存储的线性表,请设计一个算法查找该线性表中最长的连续递增子序列。例如,(1,9,2,5,7,3,4,6,8,0)中最长的递增子序列为(3,4,6,8)。 输入格式: 输入第1行给出正整数 n ( ≤ 1 0 5 );第2行给出 n 个整数,其间以空格分隔。 输出格式: 在一行中输出第一次出现的最长连续递增子序列,数字之间用空格分隔,序列结尾不能有多余空格。 输入样例: 15 1 9 2 5 7 3 4 6 8 0 11 15 17 17 10 输出样例: 3 4 6 8
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】When we think about happiness, we usually think of something extraordinary, a peak of great delight--and those peaks seem to get rarer the older we get. For a child, happiness has a magical quality. I...
A.
think of something extraordinary
B.
experience delight at an old age
C.
feel the magic quality of pleasure
D.
enjoy what one has at the moment
【简答题】输入某学生的数学(math)、英语(english)和C语言(c)的成绩,输出该学生这三门课的成绩、总成绩(sum)和平均成绩(aver)。
【多选题】晶闸管的过电流保护方式有
A.
快速熔断器保护
B.
过电流继电器保护
C.
限流与脉冲移相保护
D.
串接大电感
【单选题】画叶子时一般用哪种型号的笔?
A.
大号排笔
B.
尖头笔
C.
刷子
D.
五号圆头笔
【多选题】晶闸管的过电流保护,常用的有()。
A.
限流和脉冲移相保护
B.
快速熔断器保护
C.
交流接触器断电保护
D.
直流快速开关保护
E.
串联电抗器保护
【简答题】On hearing the good news that we got the first place in the competition, we all got______(excite).
【简答题】晶闸管的过电流保护有()保护,()保护,限流与脉冲移相保护.
【单选题】中医六淫是指
A.
风、寒、暑、湿、燥、火六种正常气候变化
B.
外风、外寒、外暑、外湿、外燥、外火
C.
风、寒、暑、湿、燥、火六种外感病邪的统称
D.
风、寒、暑、湿、燥、火六种病邪
【单选题】As soon as we got to the river bank, we ______ three groups and got down to planting trees.
A.
divided into
B.
separated from
C.
were divided into
D.
were separated from
【单选题】When we think about happiness, we usually think of something extraordinary, a peak of great delight--and those peaks seem to get rarer the older we get. For a child, happiness has a magical quality. I...
A.
feel the magic quality of pleasure
B.
experience delight at an old age
C.
think of something extraordinary
D.
enjoy what one has at the moment
相关题目: