摘要:
PTA 01-复杂度1 最大子列和问题 题目描述 给定K个整数组成的序列{ N1, N2, ..., NK },“连续子列”被定义为{ Ni, Ni+1, ..., Nj },其中 1≤i≤j≤K。“最大子列和”则被定义为所有连续子列元素的和中最大者。例如给定序列 阅读全文
posted @ 2020-07-03 23:06
fsh001
阅读(179)
评论(0)
推荐(0)
摘要:
PTA 自测-5 Shuffling Machine 题目描述 Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as 阅读全文
posted @ 2020-07-03 16:52
fsh001
阅读(380)
评论(0)
推荐(0)