implementer.cpp: In constructor ‘a068d5f76423877cf1d63d2b66a308e7::Puzzle::Puzzle()’:
implementer.cpp:45:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
45 | scanf("%d%d%d",&id,&n,&seed);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
answer.code: In function ‘void play(int)’:
answer.code:65:27: error: no matching function for call to ‘count(std::vector<int>&)’
65 | if (!count(sp)) break;
| ~~~~~^~~~
In file included from /usr/include/c++/13/algorithm:61,
from answer.code:4:
/usr/include/c++/13/bits/stl_algo.h:4072:5: note: candidate: ‘template<class _IIter, class _Tp> constexpr typename std::iterator_traits< <template-parameter-1-1> >::difference_type std::count(_IIter, _IIter, const _Tp&)’
4072 | count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
| ^~~~~
/usr/include/c++/13/bits/stl_algo.h:4072:5: note: template argument deduction/substitution failed:
answer.code:65:27: note: candidate expects 3 arguments, 1 provided
65 | if (!count(sp)) break;
| ~~~~~^~~~
In file included from /usr/include/c++/13/algorithm:73:
/usr/include/c++/13/pstl/glue_algorithm_defs.h:101:1: note: candidate: ‘template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, typename std::iterator_traits<_II>::difference_type> std::count(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, const _Tp&)’
101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
| ^~~~~
/usr/include/c++/13/pstl/glue_algorithm_defs.h:101:1: note: template argument deduction/substitution failed:
answer.code:65:27: note: candidate expects 4 arguments, 1 provided
65 | if (!count(sp)) break;
| ~~~~~^~~~
answer.code:95:47: error: no matching function for call to ‘count(std::vector<int>&)’
95 | solve(tp,count(sp));
| ~~~~~^~~~
/usr/include/c++/13/bits/stl_algo.h:4072:5: note: candidate: ‘template<class _IIter, class _Tp> constexpr typename std::iterator_traits< <template-parameter-1-1> >::difference_type std::count(_IIter, _IIter, const _Tp&)’
4072 | count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
| ^~~~~
/usr/include/c++/13/bits/stl_algo.h:4072:5: note: template argument deduction/substitution failed:
answer.code:95:47: note: candidate expects 3 arguments, 1 provided
95 | solve(tp,count(sp));
| ~~~~~^~~~
/usr/include/c++/13/pstl/glue_algorithm_defs.h:101:1: note: candidate: ‘template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, typename std::iterator_traits<_II>::difference_type> std::count(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, const _Tp&)’
101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
| ^~~~~
/usr/include/c++/13/pstl/glue_algorithm_defs.h:101:1: note: template argument deduction/substitution failed:
answer.code:95:47: note: candidate expects 4 arguments, 1 provided
95 | solve(tp,count(sp));
| ~~~~~^~~~
answer.code:104:34: error: no matching function for call to ‘count(std::vector<int>&)’
104 | if (count(sp))
| ~~~~~^~~~
/usr/include/c++/13/bits/stl_algo.h:4072:5: note: candidate: ‘template<class _IIter, class _Tp> constexpr typename std::iterator_traits< <template-parameter-1-1> >::difference_type std::count(_IIter, _IIter, const _Tp&)’
4072 | count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
| ^~~~~
/usr/include/c++/13/bits/stl_algo.h:4072:5: note: template argument deduction/substitution failed:
answer.code:104:34: note: candidate expects 3 arguments, 1 provided
104 | if (count(sp))
| ~~~~~^~~~
/usr/include/c++/13/pstl/glue_algorithm_defs.h:101:1: note: candidate: ‘template<class _ExecutionPolicy, class _ForwardIterator, class _Tp> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, typename std::iterator_traits<_II>::difference_type> std::count(_ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, const _Tp&)’
101 | count(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, const _Tp& __value);
| ^~~~~
/usr/include/c++/13/pstl/glue_algorithm_defs.h:101:1: note: template argument deduction/substitution failed:
answer.code:104:34: note: can...