0_0_39410258_1444.cpp: In function 'void dfs(int, int, int)':
0_0_39410258_1444.cpp:27:37: error: call of overloaded 'to_string(int&)' is ambiguous
27 | string kkk=to_string(c[1]);
| ~~~~~~~~~^~~~~~
0_0_39410258_1444.cpp:13:8: note: candidate: 'std::string to_string(int)'
13 | string to_string(int x){
| ^~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:54,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bitset:52,
from .\stdc++.h:52:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4161:3: note: candidate: 'std::string std::__cxx11::to_string(int)'
4161 | to_string(int __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4176:3: note: candidate: 'std::string std::__cxx11::to_string(unsigned int)'
4176 | to_string(unsigned __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4188:3: note: candidate: 'std::string std::__cxx11::to_string(long int)'
4188 | to_string(long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4203:3: note: candidate: 'std::string std::__cxx11::to_string(long unsigned int)'
4203 | to_string(unsigned long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4215:3: note: candidate: 'std::string std::__cxx11::to_string(long long int)'
4215 | to_string(long long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4228:3: note: candidate: 'std::string std::__cxx11::to_string(long long unsigned int)'
4228 | to_string(unsigned long long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4240:3: note: candidate: 'std::string std::__cxx11::to_string(float)'
4240 | to_string(float __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4250:3: note: candidate: 'std::string std::__cxx11::to_string(double)'
4250 | to_string(double __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4260:3: note: candidate: 'std::string std::__cxx11::to_string(long double)'
4260 | to_string(long double __val)
| ^~~~~~~~~
0_0_39410258_1444.cpp:28:61: error: call of overloaded 'to_string(int&)' is ambiguous
28 | for(int i=2;i<=x;i++)kkk+=' ',kkk+=to_string(c[i]);
| ~~~~~~~~~^~~~~~
0_0_39410258_1444.cpp:13:8: note: candidate: 'std::string to_string(int)'
13 | string to_string(int x){
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4161:3: note: candidate: 'std::string std::__cxx11::to_string(int)'
4161 | to_string(int __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4176:3: note: candidate: 'std::string std::__cxx11::to_string(unsigned int)'
4176 | to_string(unsigned __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4188:3: note: candidate: 'std::string std::__cxx11::to_string(long int)'
4188 | to_string(long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4203:3: note: candidate: 'std::string std::__cxx11::to_string(long unsigned int)'
4203 | to_string(unsigned long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4215:3: note: candidate: 'std::string std::__cxx11::to_string(long long int)'
4215 | to_string(long long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4228:3: note: candidate: 'std::string std::__cxx11::to_string(long long unsigned int)'
4228 | to_string(unsigned long long __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4240:3: note: candidate: 'std::string std::__cxx11::to_string(float)'
4240 | to_string(float __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4250:3: note: candidate: 'std::string std::__cxx11::to_string(double)'
4250 | to_string(double __val)
| ^~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:4260:3: note: candidate: 'std::string std::__cxx11::to_string(long double)'
4260 | to_string(long double __val)
| ^~~~~~~~~
|