7-3 valid bracket judgment (30 points)

This question comes from Li Kou. I also saw this question in this week's Blue Bridge Cup training. I think the complexity of this question is higher than that of the Blue Bridge Cup training, so I took out the Blue Bridge Cup training. Let's analyze the Blue Bridge Cup training first, and then draw out the differences. Premise: The combinati ...

Posted by may on Mon, 18 Oct 2021 13:56:55 -0700

7-37 Xiaoming typing (10 points) (data structure) The simplest code to write the simplest data structure

Xiao Ming is typing a document using Microsoft Word. The document contains only a-z lowercase letters and spaces. During typing, the Home key, End key, _arrow key, _arrow key, Insert key, Backspace key may be pressed one or more times. Write a program that gives Xiao Ming the sequence of keys on the keyboard and outputs the final text displayed ...

Posted by Otoom on Wed, 06 Oct 2021 15:29:22 -0700