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

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
factorymachines.cpp: In function ‘int main()’:
factorymachines.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
factorymachines.cpp:14:12: note: to match this ‘{’
14 | int main() {
| ^