Problem | coins |
---|---|
User | bribritt |
Submission Time | 2023-03-29 17:32:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arnavaz.cpp:3:4: error: structured binding declaration cannot have type ‘int’
3 | int[] coin_flips(int[] b, int c) {
| ^~
arnavaz.cpp:3:4: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
arnavaz.cpp:3:4: error: empty structured binding declaration
arnavaz.cpp:3:7: error: expected initializer before ‘coin_flips’
3 | int[] coin_flips(int[] b, int c) {
| ^~~~~~~~~~
shahrnaz.cpp:3:21: error: expected ‘,’ or ‘...’ before ‘b’
3 | int find_coin(int[] b) {
| ^
shahrnaz.cpp: In function ‘int find_coin(int*)’:
shahrnaz.cpp:5:17: error: ‘b’ was not declared in this scope
5 | for(auto i: b) xorV = xorV ^ i;
| ^