Problem lunchcombo
User bz
Submission Time 2024-09-05 10:06:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchcombo.cpp: In function ‘int main()’:
lunchcombo.cpp:50:53: error: ‘optmid’ was not declared in this scope
50 | if (combo >= k) hi = mid-1, ans = min(ans, cost), optmid = mid;
| ^~~~~~