Problem sniper
User Hytoh
Submission Time 2023-04-03 17:17:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sniper.cpp: In function ‘int main()’:
sniper.cpp:24:35: error: ‘i’ was not declared in this scope
24 | sum = (hvalue[0] + hvalue[i]) * svalue[0];
| ^