Problem entropy2
User kxd
Submission Time 2023-10-27 00:15:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

entropy2.cpp: In function ‘int main()’:
entropy2.cpp:49:13: error: ‘x’ was not declared in this scope
49 | if (x) v.pb(x);
| ^
entropy2.cpp:50:13: error: ‘x’ was not declared in this scope
50 | if (x > 0) --m;
| ^
entropy2.cpp:51:13: error: ‘x’ was not declared in this scope
51 | if (x < 0) ++m; // 0 can be ignored
| ^