Problem globalwarming
User Jinxuan
Submission Time 2023-11-25 16:06:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘int main()’:
globalwarming.cpp:56:15: error: invalid conversion from ‘void*’ to ‘int*’ [-fpermissive]
56 | H = malloc ( size* sizeof(int) );
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
| |
| void*