Replies: 0 comments 6 replies
-
node nodes[100000] = {0}; |
Beta Was this translation helpful? Give feedback.
-
是可以的,类似于数组的初始化,这样做的结果就是结构数组所有成员都是0。 |
Beta Was this translation helpful? Give feedback.
-
谢谢回复! |
Beta Was this translation helpful? Give feedback.
-
你好,我看了好长时间代码,还是不太理解 |
Beta Was this translation helpful? Give feedback.
-
没问题。其实我写的可能逻辑不是很明晰,我最终的目标是将链表顺序放于数组中。因此涉及一个分类讨论:
|
Beta Was this translation helpful? Give feedback.
-
终于理解了,之前也一直在猜Node np[100000]这个数组的作用,听了您的解释终于明白了是用来放顺序链表的,感觉这个程序很精妙。 |
Beta Was this translation helpful? Give feedback.
-
https://oliverlew.github.io/PAT/Basic/1025.html
题目
Beta Was this translation helpful? Give feedback.
All reactions