0_0_39826210_2737\Main.java:1: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39826210_2737\Main.java:1: 错误: 需要class, interface或enum
#include<algorithm>
^
0_0_39826210_2737\Main.java:2: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_39826210_2737\Main.java:3: 错误: 非法字符: '#'
#include<queue>
^
0_0_39826210_2737\Main.java:4: 错误: 非法字符: '#'
#include<string.h>
^
0_0_39826210_2737\Main.java:6: 错误: 需要class, interface或enum
struct qq
^
0_0_39826210_2737\Main.java:9: 错误: 需要class, interface或enum
char dis[301];
^
0_0_39826210_2737\Main.java:10: 错误: 需要class, interface或enum
} q[10110];
^
0_0_39826210_2737\Main.java:11: 错误: 需要class, interface或enum
bool cmp(qq a,qq b)
^
0_0_39826210_2737\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:19: 错误: 需要class, interface或enum
node *lch,*rch;
^
0_0_39826210_2737\Main.java:20: 错误: 需要class, interface或enum
};
^
0_0_39826210_2737\Main.java:21: 错误: 需要class, interface或enum
node *insert(node *p,char *p1,int x)
^
0_0_39826210_2737\Main.java:26: 错误: 需要class, interface或enum
q->val=x;
^
0_0_39826210_2737\Main.java:27: 错误: 需要class, interface或enum
q->lch=q->rch=NULL;
^
0_0_39826210_2737\Main.java:28: 错误: 需要class, interface或enum
return q;
^
0_0_39826210_2737\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:32: 错误: 需要class, interface或enum
if(p1[0]=='R')
^
0_0_39826210_2737\Main.java:35: 错误: 需要class, interface或enum
return p;
^
0_0_39826210_2737\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:40: 错误: 需要class, interface或enum
return p;
^
0_0_39826210_2737\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:46: 错误: 需要class, interface或enum
} Q[10101];
^
0_0_39826210_2737\Main.java:47: 错误: 需要class, interface或enum
bool cmp1(QQ a,QQ b)
^
0_0_39826210_2737\Main.java:51: 错误: 需要class, interface或enum
return a.h<b.h;
^
0_0_39826210_2737\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:54: 错误: 需要class, interface或enum
typedef struct node *tree;
^
0_0_39826210_2737\Main.java:55: 错误: 需要class, interface或enum
int ans[1010],kk;
^
0_0_39826210_2737\Main.java:56: 错误: 需要class, interface或enum
void find(node *p)//层序遍历函数
^
0_0_39826210_2737\Main.java:59: 错误: 需要class, interface或enum
if(p==NULL)
^
0_0_39826210_2737\Main.java:61: 错误: 需要class, interface或enum
q.push(p);
^
0_0_39826210_2737\Main.java:62: 错误: 需要class, interface或enum
node *qq;
^
0_0_39826210_2737\Main.java:63: 错误: 需要class, interface或enum
while(!q.empty())
^
0_0_39826210_2737\Main.java:66: 错误: 需要class, interface或enum
q.pop();
^
0_0_39826210_2737\Main.java:67: 错误: 需要class, interface或enum
ans[kk++]=qq->val;
^
0_0_39826210_2737\Main.java:68: 错误: 需要class, interface或enum
if(qq->lch!=NULL) q.push(qq->lch);
^
0_0_39826210_2737\Main.java:69: 错误: 需要class, interface或enum
if(qq->rch!=NULL) q.push(qq->rch);
^
0_0_39826210_2737\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:76: 错误: 需要class, interface或enum
while(~scanf("%s",s))
^
0_0_39826210_2737\Main.java:79: 错误: 需要class, interface或enum
int w=0;
^
0_0_39826210_2737\Main.java:80: 错误: 需要class, interface或enum
if(s[0]=='('&&s[1]==')')
^
0_0_39826210_2737\Main.java:82: 错误: 需要class, interface或enum
int k=0,i,j;
^
0_0_39826210_2737\Main.java:83: 错误: 需要class, interface或enum
for(i=1; s[i]!=','; i++)
^
0_0_39826210_2737\Main.java:83: 错误: 需要class, interface或enum
for(i=1; s[i]!=','; i++)
^
0_0_39826210_2737\Main.java:83: 错误: 需要class, interface或enum
for(i=1; s[i]!=','; i++)
^
0_0_39826210_2737\Main.java:85: 错误: 需要class, interface或enum
q[w].val=k;
^
0_0_39826210_2737\Main.java:86: 错误: 需要class, interface或enum
for(i++,j=0; s[i]=='R'||s[i]=='L'; i++,j++)
^
0_0_39826210_2737\Main.java:86: 错误: 需要class, interface或enum
for(i++,j=0; s[i]=='R'||s[i]=='L'; i++,j++)
^
0_0_39826210_2737\Main.java:86: 错误: 需要class, interface或enum
for(i++,j=0; s[i]=='R'||s[i]=='L'; i++,j++)
^
0_0_39826210_2737\Main.java:88: 错误: 需要class, interface或enum
q[w].dis[j]='\0';
^
0_0_39826210_2737\Main.java:89: 错误: 需要class, interface或enum
w++;
^
0_0_39826210_2737\Main.java:90: 错误: 需要class, interface或enum
while(1)
^
0_0_39826210_2737\Main.java:93: 错误: 需要class, interface或enum
if(s[0]=='('&&s[1]==')')
^
0_0_39826210_2737\Main.java:95: 错误: 需要class, interface或enum
k=0;
^
0_0_39826210_2737\Main.java:96: 错误: 需要class, interface或enum
for(i=1; s[i]!=','; i++)
^
0_0_39826210_2737\Main.java:96: 错误: 需要class, interface或enum
for(i=1; s[i]!=','; i++)
^
0_0_39826210_2737\Main.java:96: 错误: 需要class, interface或enum
for(i=1; s[i]!=','; i++)
^
0_0_39826210_2737\Main.java:98: 错误: 需要class, interface或enum
q[w].val=k;
^
0_0_39826210_2737\Main.java:99: 错误: 需要class, interface或enum
for(i++,j=0; s[i]=='R'||s[i]=='L'; i++,j++)
^
0_0_39826210_2737\Main.java:99: 错误: 需要class, interface或enum
for(i++,j=0; s[i]=='R'||s[i]=='L'; i++,j++)
^
0_0_39826210_2737\Main.java:99: 错误: 需要class, interface或enum
for(i++,j=0; s[i]=='R'||s[i]=='L'; i++,j++)
^
0_0_39826210_2737\Main.java:101: 错误: 需要class, interface或enum
q[w].dis[j]='\0';
^
0_0_39826210_2737\Main.java:102: 错误: 需要class, interface或enum
w++;
^
0_0_39826210_2737\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:105: 错误: 需要class, interface或enum
node *p=NULL;
^
0_0_39826210_2737\Main.java:106: 错误: 需要class, interface或enum
for(int i=0; i<w; i++)
^
0_0_39826210_2737\Main.java:106: 错误: 需要class, interface或enum
for(int i=0; i<w; i++)
^
0_0_39826210_2737\Main.java:106: 错误: 需要class, interface或enum
for(int i=0; i<w; i++)
^
0_0_39826210_2737\Main.java:108: 错误: 需要class, interface或enum
r=0;
^
0_0_39826210_2737\Main.java:109: 错误: 需要class, interface或enum
kk=0;
^
0_0_39826210_2737\Main.java:110: 错误: 需要class, interface或enum
find(p);
^
0_0_39826210_2737\Main.java:111: 错误: 需要class, interface或enum
if(kk==w)
^
0_0_39826210_2737\Main.java:113: 错误: 需要class, interface或enum
for(int i=0; i<kk-1; i++)
^
0_0_39826210_2737\Main.java:113: 错误: 需要class, interface或enum
for(int i=0; i<kk-1; i++)
^
0_0_39826210_2737\Main.java:115: 错误: 需要class, interface或enum
printf("%d\n",ans[kk-1]);
^
0_0_39826210_2737\Main.java:116: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_39826210_2737\Main.java:121: 错误: 需要class, interface或enum
}
^
78 个错误
|