萌新求助
<?xml version="1.0" encoding="utf-8"?>
<test>
<env mis="on" err="off" ans="off">
<info>
(hold 0) (at 0 3)
(sort 1 chair) (size 1 big) (at 1 1)
(sort 2 plant) (size 2 big) (at 2 2)
(sort 3 sofa) (size 3 big) (at 3 3)
(sort 4 worktable) (size 4 big) (at 4 4)
(sort 5 couch) (size 5 big) (at 5 5)
(sort 6 table) (size 6 big) (at 6 6)
(sort 7 teapoy) (size 7 big) (at 7 7)
(sort 8 airconditioner) (size 8 big) (at 8 8)
(sort 9 table) (size 9 big) (at 9 9)
(sort 10 television) (size 10 big) (at 10 10)
(sort 11 book) (size 11 small)
(sort 12 remotecontrol) (size 12 small) (color 12 yellow) (at 12 7)
(sort 13 can) (size 13 small) (color 13 green) (plate 13)
(sort 14 remotecontrol) (size 14 small) (color 14 black)
(sort 15 can) (color 15 blue) (size 15 small)
(sort 16 remotecontrol) (size 16 small) (color 16 red)
(sort 17 cup) (size 17 small) (at 17 10)
(sort 18 can) (size 18 small) (color 18 white)
(sort 19 book) (size 19 small) (color 19 blue) (at 19 9)
</info>
<mis>
(at 11 7)
</mis>
<err>
<r>(at 14 3) (at 15 1) (at 16 2) (at 18 4)</r>
<w>(at 14 9) (at 15 7) (at 16 6) (at 18 6)</w>
</err>
<extra>
</extra>
</env>
<instr>
(:ins
(:task (pickup X) (:cond (sort X remotecontrol)))
(:task (pickup X) (:cond (color X black) (sort X remotecontrol)))
(:task (puton X Y) (:cond (sort X can) (sort Y worktable)))
(:task (puton X Y) (:cond (sort X cup) (sort Y worktable)))
(:task (goto X) (:cond (sort X chair)))
(:cons_notnot (:info (on X Y) (:cond (sort X remotecontrol) (color X yellow) (sort Y teapoy))))
)
</instr>
<nl>
Pick up a remotecontrol.
Pick up the remotecontrol which is black.
Put a can on the worktable.
Put a cup on the worktable.
Go to chair.
The green can must be on the plate.
The remotecontrol which is yellow must be on the teapoy.
</nl>
</test>
C语言读取这个文件(文件名test.xml)并将info到/info中的内容以()中的内容为元素按行存入数组。并设置可以查找的指针。
...全文
相关推荐
AxureRP9萌新修炼手册.pdf
在学习使用Axure RP9的过程中,萌新们往往需要面对学习资源分散的问题。
pycharm操纵excel(萌新教程)
标题中的“pycharm操纵excel(萌新教程)”是指使用PyCharm这款Python集成开发环境对Excel文件进行操作的入门教学。
AxureRP9萌新修炼手册V2.2 .pdf
"《AxureRP9萌新修炼手册V2.2》是一本专门针对初学者设计的Axure RP 9软件教程,作者以其丰富的经验,采用了全新的方式编写,旨在提供清晰易懂、适合实战的教学内容。不同于以往的出版模式,
AxureRP9萌新修炼手册(1.3).pdf
"《AxureRP9萌新修炼手册(1.3)》是由作者撰写的一本专门针对AxureRP这款工具的教程书籍。不同于以往的出版方式,作者选择在网上免费分享这本书的图文内容,原因在于他希望通过更自由的形式,使
Python3萌新入门笔记
Python3萌新入门笔记,萌新入门笔记是一系列真实的自学笔记。当然,它也是比较全面的入门教程,共包括 54 篇笔记。仍第一篇笔记开始,大半年的时间我都是在自学和组织教程内容。我觉得有必要,把我自己把


