Try writing a program to generate for simple cases and check that your output agrees with the example cases; this will confirm you've understood the problem and are heading in the right direction.
可以编写一些简陋的程序来满足那些简单的示例,对比程序的输出和示例的答案,这样你就可以确认自己理解了题目的要求,并且找到正确的方向。
I recommend using a program that automatically generates a table of contents for you based on the use of heading styles.
我建议使用能基于所使用的标题样式自动生成目录的程序。
For example, one word-processing program suggests airy as a synonym for fresh, but airy wouldn't make sense as the bold heading of this bullet item.
例如,airy和fresh是一对近义词,但我们却不能使用粗体的airy作为此项目列的标题。
应用推荐