0_0_39840771_22492\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39840771_22492\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_39840771_22492\Main.java:2: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_39840771_22492\Main.java:7: 错误: 需要class, interface或enum
struct BiTNode *lchild;
^
0_0_39840771_22492\Main.java:8: 错误: 需要class, interface或enum
struct BiTNode *rchild;
^
0_0_39840771_22492\Main.java:9: 错误: 需要class, interface或enum
} BiTNode;
^
0_0_39840771_22492\Main.java:11: 错误: 需要class, interface或enum
void PostOrderTraverse(BiTNode *pT, int *flag)
^
0_0_39840771_22492\Main.java:15: 错误: 需要class, interface或enum
PostOrderTraverse(pT->lchild, flag);
^
0_0_39840771_22492\Main.java:16: 错误: 需要class, interface或enum
PostOrderTraverse(pT->rchild, flag);
^
0_0_39840771_22492\Main.java:17: 错误: 需要class, interface或enum
if (*flag)
^
0_0_39840771_22492\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_39840771_22492\Main.java:24: 错误: 需要class, interface或enum
*flag = 1;
^
0_0_39840771_22492\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_39840771_22492\Main.java:51: 错误: 需要class, interface或enum
int i;
^
0_0_39840771_22492\Main.java:52: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_39840771_22492\Main.java:52: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_39840771_22492\Main.java:52: 错误: 需要class, interface或enum
for(i=0;i<n;i++)
^
0_0_39840771_22492\Main.java:57: 错误: 需要class, interface或enum
p->data=PreOrder[0];
^
0_0_39840771_22492\Main.java:58: 错误: 需要class, interface或enum
p->lchild=CreateBiTreePreIn(PreOrder+1,InOrder,i);
^
0_0_39840771_22492\Main.java:59: 错误: 需要class, interface或enum
p->rchild=CreateBiTreePreIn(PreOrder+i+1,InOrder+i+1,n-i-1);
^
0_0_39840771_22492\Main.java:60: 错误: 需要class, interface或enum
return p;
^
0_0_39840771_22492\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_39840771_22492\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_39840771_22492\Main.java:70: 错误: 需要class, interface或enum
DestroyBiTree(&(*pT)->lchild);
^
0_0_39840771_22492\Main.java:71: 错误: 需要class, interface或enum
DestroyBiTree(&(*pT)->rchild);
^
0_0_39840771_22492\Main.java:72: 错误: 需要class, interface或enum
free(*pT);
^
0_0_39840771_22492\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_39840771_22492\Main.java:78: 错误: 需要class, interface或enum
BiTNode *pT;
^
0_0_39840771_22492\Main.java:79: 错误: 需要class, interface或enum
while (scanf("%d", &n) != EOF)
^
0_0_39840771_22492\Main.java:81: 错误: 需要class, interface或enum
for (i = 0; i < n; ++i)
^
0_0_39840771_22492\Main.java:81: 错误: 需要class, interface或enum
for (i = 0; i < n; ++i)
^
0_0_39840771_22492\Main.java:83: 错误: 需要class, interface或enum
for (i = 0; i < n; ++i)
^
0_0_39840771_22492\Main.java:83: 错误: 需要class, interface或enum
for (i = 0; i < n; ++i)
^
0_0_39840771_22492\Main.java:83: 错误: 需要class, interface或enum
for (i = 0; i < n; ++i)
^
0_0_39840771_22492\Main.java:85: 错误: 需要class, interface或enum
flag = 0;
^
0_0_39840771_22492\Main.java:86: 错误: 需要class, interface或enum
pT =CreateBiTreePreIn(PreOrder, InOrder, n);
^
0_0_39840771_22492\Main.java:87: 错误: 需要class, interface或enum
PostOrderTraverse(pT, &flag);
^
0_0_39840771_22492\Main.java:88: 错误: 需要class, interface或enum
DestroyBiTree(&pT);
^
0_0_39840771_22492\Main.java:89: 错误: 需要class, interface或enum
printf("\n");
^
0_0_39840771_22492\Main.java:90: 错误: 需要class, interface或enum
}
^
0_0_39840771_22492\Main.java:92: 错误: 需要class, interface或enum
}
^
41 个错误
|