answer.code: In function ‘void solve()’:
answer.code:31:35: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’})
31 | for(int i = 0; i < n; i++)cin >> a[i];
In file included from /usr/include/c++/13/sstream:40,
from /usr/include/c++/13/complex:45,
from /usr/include/c++/13/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:127,
from answer.code:1:
/usr/include/c++/13/istream:325:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
325 | operator>>(void*& __p)
| ^~~~~~~~
/usr/include/c++/13/istream:325:25: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘void*&’
325 | operator>>(void*& __p)
| ~~~~~~~^~~
/usr/include/c++/13/istream:293:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(__gnu_cxx::__bfloat16_t&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>; __gnu_cxx::__bfloat16_t = __bf16]’
293 | operator>>(__gnu_cxx::__bfloat16_t & __f)
| ^~~~~~~~
/usr/include/c++/13/istream:293:44: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘__gnu_cxx::__bfloat16_t&’ {aka ‘__bf16&’}
293 | operator>>(__gnu_cxx::__bfloat16_t & __f)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/13/istream:269:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(_Float64&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
269 | operator>>(_Float64& __f)
| ^~~~~~~~
/usr/include/c++/13/istream:269:28: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘_Float64&’
269 | operator>>(_Float64& __f)
| ~~~~~~~~~~^~~
/usr/include/c++/13/istream:257:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(_Float32&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
257 | operator>>(_Float32& __f)
| ^~~~~~~~
/usr/include/c++/13/istream:257:28: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘_Float32&’
257 | operator>>(_Float32& __f)
| ~~~~~~~~~~^~~
/usr/include/c++/13/istream:231:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(_Float16&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
231 | operator>>(_Float16& __f)
| ^~~~~~~~
/usr/include/c++/13/istream:231:28: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘_Float16&’
231 | operator>>(_Float16& __f)
| ~~~~~~~~~~^~~
/usr/include/c++/13/istream:224:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
224 | operator>>(long double& __f)
| ^~~~~~~~
/usr/include/c++/13/istream:224:31: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘long double&’
224 | operator>>(long double& __f)
| ~~~~~~~~~~~~~^~~
/usr/include/c++/13/istream:220:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]’
220 | operator>>(double& __f)
| ^~~~~~~~
/usr/include/c++/13/istream:220:26: note: no known conversion for argument 1 from ‘__gnu_cxx::__alloc_traits<std::allocator<node>, node>::value_type’ {aka ‘node’} to ‘double&’
220 | operator>>(double& __f)
| ~~~~~~~~^~~
/usr/include/c++/13/istream:216:7: note: candidate: ‘std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_tr...