Bruno.cpp: In function 'std::vector<int> Bruno(int, std::vector<int>)':
Bruno.cpp:15:13: error: reference to 'sample' is ambiguous
15 | sample[i][f]=1;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:16:13: error: reference to 'sample' is ambiguous
16 | sample[i][f+1]=2;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:17:13: error: reference to 'sample' is ambiguous
17 | sample[i][f+2]=3;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:19:13: error: reference to 'sample' is ambiguous
19 | sample[i+1][f]=4;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:20:13: error: reference to 'sample' is ambiguous
20 | sample[i+1][f+1]=5;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:21:13: error: reference to 'sample' is ambiguous
21 | sample[i+1][f+2]=6;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:23:13: error: reference to 'sample' is ambiguous
23 | sample[i+2][f]=7;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:24:13: error: reference to 'sample' is ambiguous
24 | sample[i+2][f+1]=-1;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:25:13: error: reference to 'sample' is ambiguous
25 | sample[i+2][f+2]=-1;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i=0;i<value.size();i++){
| ~^~~~~~~~~~~~~
Bruno.cpp:39:44: error: reference to 'sample' is ambiguous
39 | if(table[k][t]==14 and sample[i+k-1][f+t-1]!=-1)dali=false;
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~
Bruno.cpp:49:30: error: reference to 'sample' is ambiguous
49 | to[k][t]=sample[i+k-1][f+t-1];
| ^~~~~~
In file included from /usr/include/c++/10/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from Bruno.cpp:1:
/usr/include/c++/10/bits/stl_algo.h:5854:5: note: candidates are: 'template<class _PopulationIterator, class _SampleIterator, class _Distance, class _UniformRandomBitGenerator> _SampleIterator std::sample(_PopulationIterator, _PopulationIterator, _SampleIterator, _Distance, _UniformRandomBitGenerator&&)'
5854 | sample(_PopulationIterator __first, _PopulationIterator __last,
| ^~~~~~
Bruno.cpp:9:5: note: 'int sample [8][8]'
9 | int sample[8][8];
| ^~~~~~