摘要:
Description 73 88 1 02 7 4 44 5 2 6 5(Figure 1) Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on 阅读全文
posted @ 2020-07-01 17:30
Waiting-lwt
阅读(79)
评论(0)
推荐(0)
摘要:
Description 给定一个长度为n的数列ai,求ai的子序列bi的最长长度,满足bi&bi-1!=0(2<=i<=len)。 Input 输入文件共2行。 第一行包括一个整数n。 第二行包括n个整数,第i个整数表示ai。 Output 输出文件共一行。 包括一个整数,表示子序列bi的最长长度。 阅读全文
posted @ 2020-07-01 16:59
Waiting-lwt
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号