0_0_38978170_32470.cpp:1:1: error: expected declaration before '}' token
1 | }
| ^
0_0_38978170_32470.cpp:6:1: error: 'pair' does not name a type
6 | pair<int, int> e[maxn];
| ^~~~
0_0_38978170_32470.cpp: In function 'int main()':
0_0_38978170_32470.cpp:10:9: error: 'ios' has not been declared
10 | ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
| ^~~
0_0_38978170_32470.cpp:10:38: error: 'cin' was not declared in this scope
10 | ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
| ^~~
0_0_38978170_32470.cpp:10:50: error: 'cout' was not declared in this scope
10 | ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
| ^~~~
0_0_38978170_32470.cpp:12:22: error: 'n' was not declared in this scope
12 | while(cin >> n >> m >> a >> b >> c){
| ^
0_0_38978170_32470.cpp:12:27: error: 'm' was not declared in this scope
12 | while(cin >> n >> m >> a >> b >> c){
| ^
0_0_38978170_32470.cpp:12:32: error: 'a' was not declared in this scope
12 | while(cin >> n >> m >> a >> b >> c){
| ^
0_0_38978170_32470.cpp:12:37: error: 'b' was not declared in this scope
12 | while(cin >> n >> m >> a >> b >> c){
| ^
0_0_38978170_32470.cpp:12:42: error: 'c' was not declared in this scope
12 | while(cin >> n >> m >> a >> b >> c){
| ^
0_0_38978170_32470.cpp:14:32: error: 'e' was not declared in this scope
14 | cin >> e[i].first;
| ^
0_0_38978170_32470.cpp:17:22: error: 'e' was not declared in this scope
17 | sort(e + 1, e + m + 1);
| ^
0_0_38978170_32470.cpp:17:17: error: 'sort' was not declared in this scope; did you mean 'short'?
17 | sort(e + 1, e + m + 1);
| ^~~~
| short
0_0_38978170_32470.cpp:18:17: error: 'x' was not declared in this scope
18 | x = a, y = b, z = c;
| ^
0_0_38978170_32470.cpp:18:24: error: 'y' was not declared in this scope
18 | x = a, y = b, z = c;
| ^
0_0_38978170_32470.cpp:18:31: error: 'z' was not declared in this scope
18 | x = a, y = b, z = c;
| ^
0_0_38978170_32470.cpp:19:56: error: 'rng61' was not declared in this scope
19 | for(int i = 1; i <= n; i ++ ) d[i] = rng61();
| ^~~~~
0_0_38978170_32470.cpp:22:25: error: 'nth_element' was not declared in this scope
22 | nth_element(d + 1, d + 1 + e[i].first, d + 1 + e[i + 1].first);
| ^~~~~~~~~~~
0_0_38978170_32470.cpp:27:25: error: 'endl' was not declared in this scope
27 | cout << endl;
| ^~~~
|