transfer.cpp: In function 'std::vector<int> get_attachment(std::vector<int>)':
transfer.cpp:13:42: error: expected ';' before '}' token
13 | resultat.push_back(source[i])
| ^
| ;
14 | }
| ~
transfer.cpp: In function 'std::vector<int> retrieve(std::vector<int>)':
transfer.cpp:25:13: error: could not convert 'data' from 'std::vector<int>' to 'bool'
25 | if (data)
| ^~~~
| |
| std::vector<int>
transfer.cpp:26:13: error: 'apparition' was not declared in this scope; did you mean 'appartition'?
26 | apparition[i%longSerie][1]+=1;
| ^~~~~~~~~~
| appartition
transfer.cpp:28:13: error: 'apparition' was not declared in this scope; did you mean 'appartition'?
28 | apparition[i%longSerie][0]+=1;
| ^~~~~~~~~~
| appartition
transfer.cpp:33:13: error: 'apparition' was not declared in this scope; did you mean 'appartition'?
33 | if (apparition[i][0]>1)
| ^~~~~~~~~~
| appartition
grader.cpp: In instantiation of 'void shuffle(std::vector<T>&) [with T = Scenario]':
grader.cpp:200:10: required from here
grader.cpp:28:23: warning: 'void std::random_shuffle(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<Scenario*, vector<Scenario> >]' is deprecated: use 'std::shuffle' instead [-Wdeprecated-declarations]
28 | random_shuffle(v.begin(), v.end());
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/algorithm:61,
from grader.cpp:8:
/usr/include/c++/13/bits/stl_algo.h:4581:5: note: declared here
4581 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last)
| ^~~~~~~~~~~~~~