coins.cpp:37:4: error: structured binding declaration cannot have type 'int'
37 | int[] coin_flips(int[] b, int c)
| ^~
coins.cpp:37:4: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
coins.cpp:37:4: error: empty structured binding declaration
coins.cpp:37:7: error: expected initializer before 'coin_flips'
37 | int[] coin_flips(int[] b, int c)
| ^~~~~~~~~~
coins.cpp:48:21: error: expected ',' or '...' before 'b'
48 | int find_coin(int[] b)
| ^
coins.cpp: In function 'int find_coin(int*)':
coins.cpp:52:20: error: 'b' was not declared in this scope
52 | if(b[i] == 1)
| ^
grader.cpp: In function 'void shuffle(std::vector<int>&)':
grader.cpp:88:23: warning: 'void std::random_shuffle(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<int*, vector<int> >]' is deprecated: use 'std::shuffle' instead [-Wdeprecated-declarations]
88 | random_shuffle(v.begin(), v.end());
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/13/algorithm:61,
from grader.cpp:5:
/usr/include/c++/13/bits/stl_algo.h:4581:5: note: declared here
4581 | random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last)
| ^~~~~~~~~~~~~~