Problem eatinghealthy
User ArianneLim
Submission Time 2025-08-28 15:41:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatinghealthy.cpp: In function ‘int main()’:
eatinghealthy.cpp:10:22: error: ‘k’ was not declared in this scope
10 | if (ans>=d&&ans<=2*k) {
| ^