0_0_17394966_9028.cpp:1:1: error: 'vector' does not name a type
vector<int> x, y;
^
0_0_17394966_9028.cpp:2:1: error: 'map' does not name a type
map<int, int> xx, yy;
^
0_0_17394966_9028.cpp: In member function 'void Rest::In()':
0_0_17394966_9028.cpp:8:21: error: 'S' was not declared in this scope
S(x1, y1, x2, y2);
^
0_0_17394966_9028.cpp:10:18: error: 'swap' was not declared in this scope
swap(x1, x2);
^
0_0_17394966_9028.cpp:13:5: error: 'xx' was not declared in this scope
xx[x1];
^
0_0_17394966_9028.cpp:15:5: error: 'yy' was not declared in this scope
yy[y1];
^
0_0_17394966_9028.cpp: In member function 'void Rest::Draw()':
0_0_17394966_9028.cpp:19:9: error: 'i' was not declared in this scope
FFR(i, xx[x1], xx[x2] - 1) {
^
0_0_17394966_9028.cpp:19:12: error: 'xx' was not declared in this scope
FFR(i, xx[x1], xx[x2] - 1) {
^
0_0_17394966_9028.cpp:19:30: error: 'FFR' was not declared in this scope
FFR(i, xx[x1], xx[x2] - 1) {
^
0_0_17394966_9028.cpp: In function 'int FindCovered()':
0_0_17394966_9028.cpp:29:6: error: 'i' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp:29:9: error: 'x' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp:29:17: error: 'FR' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp: In function 'int FindMax()':
0_0_17394966_9028.cpp:39:6: error: 'i' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp:39:9: error: 'x' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp:39:17: error: 'FR' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp: In function 'int FindMaxCovered(int)':
0_0_17394966_9028.cpp:49:6: error: 'i' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp:49:9: error: 'x' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp:49:17: error: 'FR' was not declared in this scope
FR(i, x.size()) {
^
0_0_17394966_9028.cpp: In function 'int main()':
0_0_17394966_9028.cpp:59:19: error: 'S' was not declared in this scope
while (S(n, w, h)) {
^
0_0_17394966_9028.cpp:60:5: error: 'x' was not declared in this scope
x.clear(), xx.clear();
^
0_0_17394966_9028.cpp:60:16: error: 'xx' was not declared in this scope
x.clear(), xx.clear();
^
0_0_17394966_9028.cpp:61:5: error: 'y' was not declared in this scope
y.clear(), yy.clear();
^
0_0_17394966_9028.cpp:61:16: error: 'yy' was not declared in this scope
y.clear(), yy.clear();
^
0_0_17394966_9028.cpp:62:10: error: 'clr' was not declared in this scope
clr(f);
^
0_0_17394966_9028.cpp:63:8: error: 'i' was not declared in this scope
FR(i, n) rect[i].In();
^
0_0_17394966_9028.cpp:63:12: error: 'FR' was not declared in this scope
FR(i, n) rect[i].In();
^
0_0_17394966_9028.cpp:64:8: error: 'it' was not declared in this scope
FE(it, xx) {
^
0_0_17394966_9028.cpp:64:14: error: 'FE' was not declared in this scope
FE(it, xx) {
^
0_0_17394966_9028.cpp:79:28: error: 'P' was not declared in this scope
P(w * h - FindCovered());
^
0_0_17394966_9028.cpp:82:26: error: 'PN' was not declared in this scope
PN(FindMaxCovered(mm));
^
|