0_0_17539837_19394.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_17539837_19394.cpp: In member function 'void area::read()':
0_0_17539837_19394.cpp:22:3: error: 'cin' was not declared in this scope
cin >> x[0] >> y[0] >> x[1] >> y[1];
^
0_0_17539837_19394.cpp: At global scope:
0_0_17539837_19394.cpp:33:1: error: 'vector' does not name a type
vector<int> x, y;
^
0_0_17539837_19394.cpp:34:1: error: 'vector' does not name a type
vector<area> ss;
^
0_0_17539837_19394.cpp: In function 'int main()':
0_0_17539837_19394.cpp:42:2: error: 'ios_base' has not been declared
ios_base::sync_with_stdio(false);
^
0_0_17539837_19394.cpp:45:9: error: 'cin' was not declared in this scope
while (cin >> n >> m) {
^
0_0_17539837_19394.cpp:49:3: error: 'x' was not declared in this scope
x.clear();
^
0_0_17539837_19394.cpp:50:3: error: 'y' was not declared in this scope
y.clear();
^
0_0_17539837_19394.cpp:51:3: error: 'ss' was not declared in this scope
ss.clear();
^
0_0_17539837_19394.cpp:59:26: error: 'sort' was not declared in this scope
sort(x.begin(), x.end());
^
0_0_17539837_19394.cpp:61:36: error: 'unique' was not declared in this scope
x.erase(unique(x.begin(), x.end()), x.end());
^
0_0_17539837_19394.cpp:72:3: error: 'cout' was not declared in this scope
cout << "Case " << tCase << ":" << "\n";
^
0_0_17539837_19394.cpp:88:48: error: 'endl' was not declared in this scope
cout << "Query " << i + 1 << ": " << ans << endl;
^
0_0_17539837_19394.cpp:90:11: error: 'endl' was not declared in this scope
cout << endl;
^
|