Problem entropy
User StormyGood
Submission Time 2025-11-08 08:47:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

entropy.cpp: In function ‘int32_t main()’:
entropy.cpp:11:19: error: ‘w’ was not declared in this scope
11 | for (int i =0; i+w-1;a;i++)
| ^
entropy.cpp:11:24: error: expected ‘)’ before ‘;’ token
11 | for (int i =0; i+w-1;a;i++)
| ~ ^
| )
entropy.cpp:11:25: error: ‘i’ was not declared in this scope
11 | for (int i =0; i+w-1;a;i++)
| ^