0_0_39265651_30823.cpp: In function 'int main()':
0_0_39265651_30823.cpp:50:49: error: call of overloaded 'to_string(int&)' is ambiguous
50 | else results.push_back(to_string(res));
| ~~~~~~~~~^~~~~
0_0_39265651_30823.cpp:18:8: note: candidate: 'std::string to_string(int)'
18 | string to_string(int value)
| ^~~~~~~~~
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)
| ^~~~~~~~~
|