Problem | bananaland |
---|---|
User | justin271828 |
Submission Time | 2023-07-03 11:56:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bananaland.cpp: In function ‘int main()’:
bananaland.cpp:37:20: error: invalid conversion from ‘unsigned int*’ to ‘int*’ [-fpermissive]
37 | pq.push(calc(i, arr, N));
| ^~~
| |
| unsigned int*
bananaland.cpp:4:33: note: initializing argument 2 of ‘int calc(unsigned int, int*, int)’
4 | int calc(unsigned int bits, int arr[], int N) {
| ~~~~^~~~~