Problem retrenchment
User Yuhmama
Submission Time 2026-06-25 10:03:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
retrenchment.cpp: In function ‘int main()’:
retrenchment.cpp:8:12: error: ‘number’ was not declared in this scope
8 | while (number > 1) {
| ^~~~~~