Problem entropy
User Hi1057
Submission Time 2025-06-28 16:52:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

entropy.cpp: In function ‘int main()’:
entropy.cpp:15:25: error: ‘k’ was not declared in this scope
15 | long result1 = arr[N-1-k] - arr[0];
| ^