simurgh.cpp: In function 'void TRUNG::dfs(ll, ll)':
simurgh.cpp:24:27: warning: unused variable 'id' [-Wunused-variable]
24 | ll v = tmp.fi,id = tmp.se;
| ^~
simurgh.cpp: In function 'std::vector<int> find_roads(int, std::vector<int>, std::vector<int>)':
simurgh.cpp:169:9: error: reference to 'index' is ambiguous
169 | index[x.fi][x.se]=index[x.se][x.fi]=j;
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/10/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:48,
from simurgh.cpp:3:
/usr/include/strings.h:61:1: note: candidates are: 'const char* index(const char*, int)'
61 | index (const char *__s, int __c) __THROW
| ^~~~~
/usr/include/strings.h:55:1: note: 'char* index(char*, int)'
55 | index (char *__s, int __c) __THROW
| ^~~~~
simurgh.cpp:56:8: note: 'll TRUNG::index [510][510]'
56 | ll index[MAXN][MAXN];
| ^~~~~
simurgh.cpp:169:27: error: reference to 'index' is ambiguous
169 | index[x.fi][x.se]=index[x.se][x.fi]=j;
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/10/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:48,
from simurgh.cpp:3:
/usr/include/strings.h:61:1: note: candidates are: 'const char* index(const char*, int)'
61 | index (const char *__s, int __c) __THROW
| ^~~~~
/usr/include/strings.h:55:1: note: 'char* index(char*, int)'
55 | index (char *__s, int __c) __THROW
| ^~~~~
simurgh.cpp:56:8: note: 'll TRUNG::index [510][510]'
56 | ll index[MAXN][MAXN];
| ^~~~~
simurgh.cpp:187:39: error: reference to 'index' is ambiguous
187 | cur.push_back(index[u][v]);
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/10/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:48,
from simurgh.cpp:3:
/usr/include/strings.h:61:1: note: candidates are: 'const char* index(const char*, int)'
61 | index (const char *__s, int __c) __THROW
| ^~~~~
/usr/include/strings.h:55:1: note: 'char* index(char*, int)'
55 | index (char *__s, int __c) __THROW
| ^~~~~
simurgh.cpp:56:8: note: 'll TRUNG::index [510][510]'
56 | ll index[MAXN][MAXN];
| ^~~~~