0_0_39064549_19962\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39064549_19962\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_39064549_19962\Main.java:2: 错误: 非法字符: '#'
#include <vector>
^
0_0_39064549_19962\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_39064549_19962\Main.java:4: 错误: 非法字符: '#'
#include <queue>
^
0_0_39064549_19962\Main.java:8: 错误: 需要class, interface或enum
struct Lecture {
^
0_0_39064549_19962\Main.java:10: 错误: 需要class, interface或enum
int end;
^
0_0_39064549_19962\Main.java:12: 错误: 需要class, interface或enum
Lecture(int s, int e) : start(s), end(e) {}
^
0_0_39064549_19962\Main.java:15: 错误: 需要class, interface或enum
int Main(vector<Lecture>& lectures) {
^
0_0_39064549_19962\Main.java:18: 错误: 需要class, interface或enum
});
^
0_0_39064549_19962\Main.java:20: 错误: 需要class, interface或enum
priority_queue<int, vector<int>, greater<int>> rooms;
^
0_0_39064549_19962\Main.java:21: 错误: 需要class, interface或enum
int count = 0;
^
0_0_39064549_19962\Main.java:23: 错误: 需要class, interface或enum
for (const Lecture& lecture : lectures) {
^
0_0_39064549_19962\Main.java:26: 错误: 需要class, interface或enum
} else {
^
0_0_39064549_19962\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_39064549_19962\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_39064549_19962\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_39064549_19962\Main.java:38: 错误: 需要class, interface或enum
cin >> t;
^
0_0_39064549_19962\Main.java:40: 错误: 需要class, interface或enum
for (int i = 0; i < t; i++) {
^
0_0_39064549_19962\Main.java:40: 错误: 需要class, interface或enum
for (int i = 0; i < t; i++) {
^
0_0_39064549_19962\Main.java:40: 错误: 需要class, interface或enum
for (int i = 0; i < t; i++) {
^
0_0_39064549_19962\Main.java:42: 错误: 需要class, interface或enum
cin >> n;
^
0_0_39064549_19962\Main.java:43: 错误: 需要class, interface或enum
vector<Lecture> lectures(n);
^
0_0_39064549_19962\Main.java:45: 错误: 需要class, interface或enum
for (int j = 0; j < n; j++) {
^
0_0_39064549_19962\Main.java:45: 错误: 需要class, interface或enum
for (int j = 0; j < n; j++) {
^
0_0_39064549_19962\Main.java:45: 错误: 需要class, interface或enum
for (int j = 0; j < n; j++) {
^
0_0_39064549_19962\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_39064549_19962\Main.java:50: 错误: 需要class, interface或enum
cout << result << endl;
^
0_0_39064549_19962\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_39064549_19962\Main.java:54: 错误: 需要class, interface或enum
}
^
30 个错误
|