## 题目

### P2 – 迷失代码库

#### 题面

##### Input Format

$100$ 份代码 c*.cpp 包含在下发文件中。

##### Output Format

• 第一个数 $idx \in [1,100]$ ，表示你将要开始描述第 $idx$ 份代码。
• 第二个数 $tot \in [1,100]$ ，表示你猜测共有 $tot$ 份代码与之是同一人写的。
• 接下来 $tot$ 个数 $lst_{1\cdots tot}$，表示第 $lst_i$ 份代码与之是同一个人写的，$lst$ 中包括 $idx$ 本身。

• $idx$、$tot$ 必须符合范围
• 相同的 $idx$ 不能重复出现多次，但是顺序任意
• 同一个 $lst$ 中，不能出现重复数字，但是顺序任意

##### Scoring

$${\ln|A\cap B|\over \ln| A\cup B|}\times 1.0$$

#### 思路

$scoring$ 在 $win$ 下跑不起来，好像可以写脚本通过这个套数据。

### P3 – Letter Gaps

#### 题面

Ponder This Challenge:

In the string CABACB, each letter appears exactly twice and the number of characters between the “A”s is one, between the “B”s is two, and between the “C”s is three.

The same problem with the letters A-E cannot be solved, but adding a space (in the form of a hyphen) allows it to be solved.

For example, in the string ADAEC-DBCEB, the number of characters between the “A”s is one, between the “B”s is two, between the “C”s is three (counting the space), between the “D”s is four, and between the “E”s is five.

Find a string of letters (A-Z) and “-” whose length is no more than 53 characters, where each of the 26 letters A-Z appears exactly twice, and there is one character between the “A”s, two between the “B”s … and 26 between the “Z”s.