coins.cpp:21:4: error: structured binding declaration cannot have type 'int'
21 | int[] coin_flips(int[] b, int c)
| ^~
coins.cpp:21:4: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
coins.cpp:21:4: error: empty structured binding declaration
coins.cpp:21:7: error: expected initializer before 'coin_flips'
21 | int[] coin_flips(int[] b, int c)
| ^~~~~~~~~~
coins.cpp:37:21: error: expected ',' or '...' before 'b'
37 | int find_coin(int[] b)
| ^
coins.cpp: In function 'int find_coin(int*)':
coins.cpp:39:18: error: 'b' was not declared in this scope
39 | return ((b[0]*pow(2,5) + b[1]*pow(2,4) + b[2]*pow(2,3) + b[3]*pow(2,2) + b[4]*2 + b[5]));
| ^
coins.cpp: In function 'int main()':
coins.cpp:58:35: error: 'coin_flips' was not declared in this scope
58 | cout << find_coin(coin_flips(broad,curse)) << endl;
| ^~~~~~~~~~