0_0_39840931_27649\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39840931_27649\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_39840931_27649\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39840931_27649\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39840931_27649\Main.java:4: 错误: 非法字符: '#'
#include<string.h>
^
0_0_39840931_27649\Main.java:5: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_39840931_27649\Main.java:6: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39840931_27649\Main.java:7: 错误: 非法字符: '#'
#include<queue>
^
0_0_39840931_27649\Main.java:10: 错误: 需要class, interface或enum
struct node
^
0_0_39840931_27649\Main.java:13: 错误: 需要class, interface或enum
node *lchild,*rchild;
^
0_0_39840931_27649\Main.java:14: 错误: 需要class, interface或enum
};
^
0_0_39840931_27649\Main.java:16: 错误: 需要class, interface或enum
queue<node*>q;
^
0_0_39840931_27649\Main.java:17: 错误: 需要class, interface或enum
char s[1010];
^
0_0_39840931_27649\Main.java:18: 错误: 需要class, interface或enum
char Map[1010];
^
0_0_39840931_27649\Main.java:19: 错误: 需要class, interface或enum
int flag;
^
0_0_39840931_27649\Main.java:20: 错误: 需要class, interface或enum
int pr[1010];
^
0_0_39840931_27649\Main.java:21: 错误: 需要class, interface或enum
int tp;
^
0_0_39840931_27649\Main.java:23: 错误: 需要class, interface或enum
node* newNode(int v)//建立新结点
^
0_0_39840931_27649\Main.java:26: 错误: 需要class, interface或enum
Node->data=v;
^
0_0_39840931_27649\Main.java:27: 错误: 需要class, interface或enum
Node->lchild=Node->rchild=NULL;
^
0_0_39840931_27649\Main.java:28: 错误: 需要class, interface或enum
return Node;
^
0_0_39840931_27649\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:33: 错误: 需要class, interface或enum
for(int i=0;i<level;i++)
^
0_0_39840931_27649\Main.java:33: 错误: 需要class, interface或enum
for(int i=0;i<level;i++)
^
0_0_39840931_27649\Main.java:39: 错误: 需要class, interface或enum
root=root->lchild;
^
0_0_39840931_27649\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:45: 错误: 需要class, interface或enum
root=root->rchild;
^
0_0_39840931_27649\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:51: 错误: 需要class, interface或enum
root->data=x;
^
0_0_39840931_27649\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:57: 错误: 需要class, interface或enum
if(root->data==-1)
^
0_0_39840931_27649\Main.java:60: 错误: 需要class, interface或enum
q.push(root);
^
0_0_39840931_27649\Main.java:61: 错误: 需要class, interface或enum
while(!q.empty())
^
0_0_39840931_27649\Main.java:64: 错误: 需要class, interface或enum
q.pop();
^
0_0_39840931_27649\Main.java:64: 错误: 非法字符: '\uff1b'
q.pop();
^
0_0_39840931_27649\Main.java:66: 错误: 需要class, interface或enum
if(now->data==-1)
^
0_0_39840931_27649\Main.java:69: 错误: 需要class, interface或enum
if(now->lchild!=NULL)
^
0_0_39840931_27649\Main.java:71: 错误: 需要class, interface或enum
if(now->rchild!=NULL)
^
0_0_39840931_27649\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:79: 错误: 需要class, interface或enum
while(scanf("%s",s)!=EOF)//输入以文件结尾终止
^
0_0_39840931_27649\Main.java:82: 错误: 需要class, interface或enum
node* root=newNode(-1);
^
0_0_39840931_27649\Main.java:83: 错误: 需要class, interface或enum
while(1)
^
0_0_39840931_27649\Main.java:85: 错误: 需要class, interface或enum
for(int i=0;i<strlen(s);i++)
^
0_0_39840931_27649\Main.java:85: 错误: 需要class, interface或enum
for(int i=0;i<strlen(s);i++)
^
0_0_39840931_27649\Main.java:89: 错误: 需要class, interface或enum
sum=0,j=i+1,level=0;
^
0_0_39840931_27649\Main.java:90: 错误: 需要class, interface或enum
while(s[j]!=')')
^
0_0_39840931_27649\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:98: 错误: 需要class, interface或enum
j++;
^
0_0_39840931_27649\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:108: 错误: 需要class, interface或enum
scanf("%s",s);//输入当读取空格时输入结束,所以要重新输入
^
0_0_39840931_27649\Main.java:110: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:112: 错误: 需要class, interface或enum
if(!flag)
^
0_0_39840931_27649\Main.java:114: 错误: 需要class, interface或enum
else
^
0_0_39840931_27649\Main.java:117: 错误: 需要class, interface或enum
for(int i=0;i<tp;i++)
^
0_0_39840931_27649\Main.java:117: 错误: 需要class, interface或enum
for(int i=0;i<tp;i++)
^
0_0_39840931_27649\Main.java:117: 错误: 需要class, interface或enum
for(int i=0;i<tp;i++)
^
0_0_39840931_27649\Main.java:122: 错误: 需要class, interface或enum
flag2=0;
^
0_0_39840931_27649\Main.java:123: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:126: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:128: 错误: 需要class, interface或enum
}
^
0_0_39840931_27649\Main.java:131: 错误: 需要class, interface或enum
}
^
62 个错误
|