| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1155041 | Math4Life2020 | Island Hopping (JOI24_island) | C++20 | Compilation error | 0 ms | 0 KiB |
#include "island.cpp"
#include <bits/stdc++.h>
using namespace std;
using ll = long long; using pii = pair<ll,ll>;
map<pii,ll> LOG;
ll QRY(ll v, ll k) {
if (LOG.find({v,k})==LOG.end()) {
LOG[{v,k}]=query(v,k);
}
return LOG[{v,k}];
}
const ll Nm = 305;
ll f[Nm];
ll getf(ll x) {
if (f[x]==x) {
return x;
}
return f[x]=getf(f[x]);
}
void fz(ll a, ll b) {
a = getf(a); b = getf(b);
if (a!=b) {
f[a]=b;
}
}
set<pii> cedg;
void ANS(ll x, ll y) {
if (cedg.find({x,y})!=cedg.end()) {
return;
}
cedg.insert({x,y});
cedg.insert({y,x});
answer(x+1,y+1);
fz(x,y);
}
void solve(int N, int L) {
ll f1[N];
for (ll i=0;i<N;i++) {
f1[i]=QRY(i+1,1)-1;
}
vector<bool> frz(N,false); //frozen?
for (ll i=0;i<N;i++) {
if (f1[i]<i && f1[f1[i]]!=i) {
ANS(i,f1[i]);
} else if (f1[i]<i && f1[f1[i]]==i) {
ANS(i,f1[i]);
ll a1 = QRY(i+1,2)-1;
ll a2 = QRY(f1[i]+1,2)-1;
if (a1==a2) {
assert(a1>f1[i]);
if (a1<i) {
frz[f1[i]]=1;
ANS(i,a1);
} else {
frz[i]=1;
frz[f1[i]]=1;
}
}
} else if (f1[i]>i && f1[f1[i]]!=i) {
ANS(f1[i],i);
frz[i]=1;
}
}
for (ll T=2;T<N;T++) {
for (ll i=(N-1);i>=0;i--) {
if (!frz[i]) {
ll j = QRY(i,T);
if (j<i) {
if (cedg.find({i,j})==cedg.end()) {
if (getf(i)==getf(j)) {
frz[i]=1;
} else {
ANS(i,j);
}
}
} else {
if (cedg.find({i,j})==cedg.end()) {
if (getf(i)==getf(j)) {
frz[i]=1;
} else {
ANS(i,j);
}
}
frz[i]=1;
}
}
}
}
}
Compilation message (stderr)
In file included from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1:
island.cpp:1:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
1 | #include "island.cpp"
| ^
island.cpp:2:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
2 | #include <bits/stdc++.h>
| ^
In file included from island.cpp:2,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1:
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
33 | #include <cassert>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:35:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
35 | #include <cctype>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:36:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
36 | #include <cerrno>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:37:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
37 | #include <cfloat>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:38:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
38 | #include <ciso646>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:39:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
39 | #include <climits>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:40:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
40 | #include <clocale>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
41 | #include <cmath>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:42:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
42 | #include <csetjmp>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:43:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
43 | #include <csignal>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:44:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
44 | #include <cstdarg>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:45:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
45 | #include <cstddef>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:46:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
46 | #include <cstdio>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:47:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
47 | #include <cstdlib>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:48:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
48 | #include <cstring>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:49:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
49 | #include <ctime>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:50:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
50 | #include <cwchar>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:51:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
51 | #include <cwctype>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
54 | #include <ccomplex>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:55:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
55 | #include <cfenv>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:56:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
56 | #include <cinttypes>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:57:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
57 | #include <cstdalign>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:58:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
58 | #include <cstdbool>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:59:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
59 | #include <cstdint>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:60:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
60 | #include <ctgmath>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:61:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
61 | #include <cuchar>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
65 | #include <algorithm>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:66:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
66 | #include <bitset>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:67:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
67 | #include <complex>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:68:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
68 | #include <deque>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:69:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
69 | #include <exception>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:70:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
70 | #include <fstream>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:71:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
71 | #include <functional>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:72:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
72 | #include <iomanip>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:73:15: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
73 | #include <ios>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:74:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
74 | #include <iosfwd>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:75:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
75 | #include <iostream>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:76:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
76 | #include <istream>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:77:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
77 | #include <iterator>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:78:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
78 | #include <limits>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:79:16: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
79 | #include <list>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:80:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
80 | #include <locale>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:81:15: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
81 | #include <map>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:82:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
82 | #include <memory>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:83:15: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
83 | #include <new>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:84:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
84 | #include <numeric>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:85:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
85 | #include <ostream>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
86 | #include <queue>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:87:15: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
87 | #include <set>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:88:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
88 | #include <sstream>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:89:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
89 | #include <stack>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:90:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
90 | #include <stdexcept>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:91:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
91 | #include <streambuf>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:92:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
92 | #include <string>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:93:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
93 | #include <typeinfo>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:94:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
94 | #include <utility>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:95:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
95 | #include <valarray>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:96:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
96 | #include <vector>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:99:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
99 | #include <array>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:100:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
100 | #include <atomic>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:101:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
101 | #include <chrono>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:102:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
102 | #include <codecvt>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:103:30: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
103 | #include <condition_variable>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:104:24: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
104 | #include <forward_list>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:105:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
105 | #include <future>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:106:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
106 | #include <initializer_list>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:107:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
107 | #include <mutex>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:108:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
108 | #include <random>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:109:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
109 | #include <ratio>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:110:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
110 | #include <regex>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:111:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
111 | #include <scoped_allocator>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:112:24: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
112 | #include <system_error>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:113:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
113 | #include <thread>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:114:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
114 | #include <tuple>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:115:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
115 | #include <typeindex>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:116:23: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
116 | #include <type_traits>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:117:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
117 | #include <unordered_map>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:118:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
118 | #include <unordered_set>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:122:24: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
122 | #include <shared_mutex>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:126:15: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
126 | #include <any>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:127:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
127 | #include <charconv>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:129:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
129 | #include <filesystem>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:130:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
130 | #include <optional>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:131:27: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
131 | #include <memory_resource>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:132:23: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
132 | #include <string_view>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:133:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
133 | #include <variant>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:137:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
137 | #include <barrier>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:138:15: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
138 | #include <bit>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:139:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
139 | #include <compare>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:140:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
140 | #include <concepts>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:142:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
142 | # include <coroutine>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:144:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
144 | #include <latch>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:145:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
145 | #include <numbers>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:146:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
146 | #include <ranges>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:147:16: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
147 | #include <span>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:148:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
148 | #include <stop_token>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:149:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
149 | #include <semaphore>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:150:27: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
150 | #include <source_location>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:151:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
151 | #include <syncstream>
| ^
/usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:152:19: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
152 | #include <version>
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33,
from island.cpp:2,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1:
/usr/include/c++/11/cassert:43:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
43 | #include <bits/c++config.h>
| ^
/usr/include/c++/11/cassert:44:20: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
44 | #include <assert.h>
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:35,
from island.cpp:2,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,
from island.cpp:1,