摘要:
There is a set of matrixes that are constructed subject to the following constraints: 1. The matrix is a S(n)×S(n) matrix; 2. S(n) is the sum of the f 阅读全文
posted @ 2019-05-08 14:45
black_hole6
阅读(436)
评论(0)
推荐(0)
摘要:
给定一个长度为n的数列ai,求ai的子序列bi的最长长度,满足bi&bi-1!=0(2<=i<=len)。 Input 输入文件共2行。 第一行包括一个整数n。 第二行包括n个整数,第i个整数表示ai。 Output 输出文件共一行。 包括一个整数,表示子序列bi的最长长度。 Sample Inpu 阅读全文
posted @ 2019-05-08 09:44
black_hole6
阅读(338)
评论(0)
推荐(0)
摘要:
There are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. With the help 阅读全文
posted @ 2019-05-08 09:32
black_hole6
阅读(203)
评论(0)
推荐(0)
摘要:
There are n integers a 1,a 2,…,a n-1,a n in the sequence A, the sum of these n integers is larger than zero. There are n integers b 1,b 2,…,b n-1,b n 阅读全文
posted @ 2019-05-08 09:10
black_hole6
阅读(305)
评论(0)
推荐(0)
摘要:
Mine sweeper is a very popular small game in Windows operating system. The object of the game is to find mines, and mark them out. You mark them by cl 阅读全文
posted @ 2019-05-08 08:59
black_hole6
阅读(464)
评论(0)
推荐(0)

浙公网安备 33010602011771号