0_0_38824831_28274.cpp: In function 'void getResult(int)':
0_0_38824831_28274.cpp:31:8: error: return-statement with a value, in function returning 'void' [-fpermissive]
31 | return sum;
| ^~~
0_0_38824831_28274.cpp: In function 'void init()':
0_0_38824831_28274.cpp:40:24: error: expected ';' before '}' token
40 | modify(i, a[i])
| ^
| ;
41 | }
| ~
|