2019.7.22 brush title Statistics

The first question: 1175

The original code is no :()

This was done when the problem is almost done, I see this question can not think of recursive directly skipped.

Today saw someone else's code, I did not expect are used in this formula: (m + 1) * (1 << n)

So I use this formula to fight again. AC Code:

The second question: 1178

:( no original Code) (the same reason and 1175)

Looked at 1175, I had a premonition This question is certainly a formula. Indeed, the formula is n * n-n + 2 is

AC Code:

Third question: 1180

The original code is no :()

This question and, like 1024, so I have to play out, but found that the data in question.

The sample is in lowercase letters, subject to the test turns out to be a capital letter! Hope to modify the data.

See others are special sentenced before, so I sentenced a bit special.

AC Code:

We hope that teachers modify the data as soon as possible and to prevent similar things happen!

-----------------------------------------------------------

So far, the group has completed 20 entry will not be the original title by special permission, but there are still six unresolved.

There are two reasons for this six unsolved:

① by the small number, but also by all those who have not read the code

② no one by this question (even the teacher did not pass)

The total number of entry-AC group: 142

Task completion rate: 118.33% (task 120 in accordance with the requirements of the operator)

Next task: to continue to brush the question data structure of the site

Guess you like

Origin www.cnblogs.com/wangximing/p/11228734.html