0_0_39749731_15168\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39749731_15168\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_39749731_15168\Main.java:2: 错误: 非法字符: '#'
#include<queue>
^
0_0_39749731_15168\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39749731_15168\Main.java:7: 错误: 非法的类型开始
public:
^
0_0_39749731_15168\Main.java:7: 错误: 需要';'
public:
^
0_0_39749731_15168\Main.java:8: 错误: 需要<标识符>
int value;
^
0_0_39749731_15168\Main.java:10: 错误: 需要';'
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 非法的类型开始
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 需要<标识符>
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 需要';'
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 非法的类型开始
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 需要<标识符>
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 需要<标识符>
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:10: 错误: 需要<标识符>
friend bool operator < (const line &a,const line &b)
^
0_0_39749731_15168\Main.java:16: 错误: 需要class, interface或enum
void solve(){
^
0_0_39749731_15168\Main.java:18: 错误: 需要class, interface或enum
while(scanf("%d",&t)!=EOF){
^
0_0_39749731_15168\Main.java:20: 错误: 需要class, interface或enum
int x,y,k = 1;
^
0_0_39749731_15168\Main.java:21: 错误: 需要class, interface或enum
line tmp;
^
0_0_39749731_15168\Main.java:22: 错误: 需要class, interface或enum
priority_queue <line> q[4];
^
0_0_39749731_15168\Main.java:23: 错误: 需要class, interface或enum
while(t--){
^
0_0_39749731_15168\Main.java:25: 错误: 需要class, interface或enum
if(!strcmp(act,"IN")){
^
0_0_39749731_15168\Main.java:27: 错误: 需要class, interface或enum
tmp.value = y;
^
0_0_39749731_15168\Main.java:28: 错误: 需要class, interface或enum
tmp.ID = k;
^
0_0_39749731_15168\Main.java:29: 错误: 需要class, interface或enum
q[x].push(tmp);
^
0_0_39749731_15168\Main.java:30: 错误: 需要class, interface或enum
++k;
^
0_0_39749731_15168\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_39749731_15168\Main.java:34: 错误: 需要class, interface或enum
if(q[x].empty()){
^
0_0_39749731_15168\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_39749731_15168\Main.java:39: 错误: 需要class, interface或enum
q[x].pop();
^
0_0_39749731_15168\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_39749731_15168\Main.java:48: 错误: 需要class, interface或enum
return 0;
^
0_0_39749731_15168\Main.java:49: 错误: 需要class, interface或enum
}
^
33 个错误
|