Problem factorymachines
User notachicken
Submission Time 2026-11-04 15:54:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factorymachines.cpp: In function ‘bool check(long long int)’:
factorymachines.cpp:11:20: error: ‘k’ was not declared in this scope
11 | if (sum >= k) return true;
| ^