0_0_30108714_13482\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_30108714_13482\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_30108714_13482\Main.java:2: 错误: 非法字符: '#'
#include <queue>
^
0_0_30108714_13482\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_30108714_13482\Main.java:6: 错误: 需要class, interface或enum
int main(int argc, const char * argv[])
^
0_0_30108714_13482\Main.java:9: 错误: 需要class, interface或enum
priority_queue<int,vector<int>,greater<int> >Q0;
^
0_0_30108714_13482\Main.java:10: 错误: 需要class, interface或enum
priority_queue<int,vector<int>,less<int> >Q1;
^
0_0_30108714_13482\Main.java:11: 错误: 需要class, interface或enum
int tmp_arr[2001],arr[2001];
^
0_0_30108714_13482\Main.java:12: 错误: 需要class, interface或enum
cin >> cas;
^
0_0_30108714_13482\Main.java:13: 错误: 需要class, interface或enum
while (cas--) {
^
0_0_30108714_13482\Main.java:15: 错误: 需要class, interface或enum
for (int j=0; j<n; j++) {
^
0_0_30108714_13482\Main.java:15: 错误: 需要class, interface或enum
for (int j=0; j<n; j++) {
^
0_0_30108714_13482\Main.java:15: 错误: 需要class, interface或enum
for (int j=0; j<n; j++) {
^
0_0_30108714_13482\Main.java:17: 错误: 需要class, interface或enum
Q0.push(t);
^
0_0_30108714_13482\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:21: 错误: 需要class, interface或enum
for (int j=0; j<n; j++)
^
0_0_30108714_13482\Main.java:21: 错误: 需要class, interface或enum
for (int j=0; j<n; j++)
^
0_0_30108714_13482\Main.java:21: 错误: 需要class, interface或enum
for (int j=0; j<n; j++)
^
0_0_30108714_13482\Main.java:23: 错误: 需要class, interface或enum
while (!Q0.empty()) {
^
0_0_30108714_13482\Main.java:25: 错误: 需要class, interface或enum
Q0.pop();
^
0_0_30108714_13482\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:27: 错误: 需要class, interface或enum
for (int j=0; j<n; j++)
^
0_0_30108714_13482\Main.java:27: 错误: 需要class, interface或enum
for (int j=0; j<n; j++)
^
0_0_30108714_13482\Main.java:29: 错误: 需要class, interface或enum
for (int j=1; j<n; j++) {
^
0_0_30108714_13482\Main.java:29: 错误: 需要class, interface或enum
for (int j=1; j<n; j++) {
^
0_0_30108714_13482\Main.java:29: 错误: 需要class, interface或enum
for (int j=1; j<n; j++) {
^
0_0_30108714_13482\Main.java:30: 错误: 需要class, interface或enum
for (int k=0; k<n; k++) {
^
0_0_30108714_13482\Main.java:30: 错误: 需要class, interface或enum
for (int k=0; k<n; k++) {
^
0_0_30108714_13482\Main.java:33: 错误: 需要class, interface或enum
Q1.push(tmp_arr[k]+arr[j]);
^
0_0_30108714_13482\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:35: 错误: 需要class, interface或enum
for (int j=Q1.size(); j>n; j--)
^
0_0_30108714_13482\Main.java:35: 错误: 需要class, interface或enum
for (int j=Q1.size(); j>n; j--)
^
0_0_30108714_13482\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:41: 错误: 需要class, interface或enum
Q1.pop();
^
0_0_30108714_13482\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:44: 错误: 需要class, interface或enum
for (int j=0; j<n; j++) {
^
0_0_30108714_13482\Main.java:44: 错误: 需要class, interface或enum
for (int j=0; j<n; j++) {
^
0_0_30108714_13482\Main.java:46: 错误: 需要class, interface或enum
cout<<Q0.top();
^
0_0_30108714_13482\Main.java:47: 错误: 需要class, interface或enum
Q0.pop();
^
0_0_30108714_13482\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_30108714_13482\Main.java:52: 错误: 需要class, interface或enum
}
^
42 个错误
|