68分警钟敲烂!!!

P1241 括号序列

Madokaaa @ 2024-10-06 15:16:52

( [ ) 对应输出 ( ) [ ] ( )

但 ( ] ) 对应输出 ( [ ] )

“如果它是一个右括号,考察它与它左侧离它最近的未匹配的的左括号”

意思就是,右括号跳过,配对过的跳过


by 蒋辰逸 @ 2024-10-15 15:20:45

谢谢大佬 %%% 硬控我一个小时


by silence_nine @ 2024-11-15 15:05:49

@Madokaaa 谢谢提醒


by T2250175544 @ 2024-12-30 15:24:11

@Madokaaa谢谢大佬,卡在68好久


by molakeser @ 2025-01-06 22:34:49

%%%


|