Problem topical
User Kannan
Submission Time 2024-02-23 11:53:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

topical.cpp: In function ‘int main()’:
topical.cpp:40:22: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
40 | kcurr+=kgain[i];
| ~~~~~^~~~~~~~~~
| |
| int*