0_0_39749652_26717\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_39749652_26717\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_39749652_26717\Main.java:3: 错误: 需要class, interface或enum
const int N = 2e3 + 10;
^
0_0_39749652_26717\Main.java:4: 错误: 需要class, interface或enum
struct node{
^
0_0_39749652_26717\Main.java:6: 错误: 需要class, interface或enum
bool operator<(const node &A)const{
^
0_0_39749652_26717\Main.java:8: 错误: 需要class, interface或enum
return A.rank > rank;
^
0_0_39749652_26717\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_39749652_26717\Main.java:11: 错误: 需要class, interface或enum
int n, a, b;
^
0_0_39749652_26717\Main.java:12: 错误: 需要class, interface或enum
void run() {
^
0_0_39749652_26717\Main.java:14: 错误: 需要class, interface或enum
priority_queue<node> Q[4];
^
0_0_39749652_26717\Main.java:15: 错误: 需要class, interface或enum
while(n--) {
^
0_0_39749652_26717\Main.java:17: 错误: 需要class, interface或enum
scanf("%s", str);
^
0_0_39749652_26717\Main.java:18: 错误: 需要class, interface或enum
if(str[0] == 'I') {
^
0_0_39749652_26717\Main.java:20: 错误: 需要class, interface或enum
Q[a].push({b, ++cnt});
^
0_0_39749652_26717\Main.java:21: 错误: 需要class, interface或enum
} else {
^
0_0_39749652_26717\Main.java:23: 错误: 需要class, interface或enum
if(Q[a].empty()) {
^
0_0_39749652_26717\Main.java:25: 错误: 需要class, interface或enum
} else {
^
0_0_39749652_26717\Main.java:27: 错误: 需要class, interface或enum
Q[a].pop();
^
0_0_39749652_26717\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_39749652_26717\Main.java:34: 错误: 需要class, interface或enum
return 0;
^
0_0_39749652_26717\Main.java:35: 错误: 需要class, interface或enum
}
^
21 个错误
|